pub struct WritablePage {
pub raw: String,
pub filtered: Option<String>,
}Expand description
A page in a Book and Quill (Writable).
Fields§
§raw: StringThe raw text entered by the player.
filtered: Option<String>If the server runs a chat filter, this is the filtered version. If None, the raw text is considered safe to display.
Trait Implementations§
Source§impl Clone for WritablePage
impl Clone for WritablePage
Source§fn clone(&self) -> WritablePage
fn clone(&self) -> WritablePage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WritablePage
impl Debug for WritablePage
Source§impl<'a> Decode<'a> for WritablePage
impl<'a> Decode<'a> for WritablePage
Source§impl Encode for WritablePage
impl Encode for WritablePage
Source§impl PartialEq for WritablePage
impl PartialEq for WritablePage
impl StructuralPartialEq for WritablePage
Auto Trait Implementations§
impl Freeze for WritablePage
impl RefUnwindSafe for WritablePage
impl Send for WritablePage
impl Sync for WritablePage
impl Unpin for WritablePage
impl UnwindSafe for WritablePage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more