pub struct TextDiff {
pub text: RichText,
pub old_text: RichText,
}Expand description
Fields§
§text: RichText§old_text: RichTextTrait Implementations§
Source§impl Deserializable for TextDiff
impl Deserializable for TextDiff
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for TextDiff
impl Identifiable for TextDiff
Source§const CONSTRUCTOR_ID: u32 = 0x9686cb50
const CONSTRUCTOR_ID: u32 = 0x9686cb50
The constructor ID as specified in the TL schema.
Source§impl Serializable for TextDiff
impl Serializable for TextDiff
impl StructuralPartialEq for TextDiff
Auto Trait Implementations§
impl Freeze for TextDiff
impl RefUnwindSafe for TextDiff
impl Send for TextDiff
impl Sync for TextDiff
impl Unpin for TextDiff
impl UnsafeUnpin for TextDiff
impl UnwindSafe for TextDiff
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