pub struct TextBold {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Deserializable for TextBold
impl Deserializable for TextBold
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 TextBold
impl Identifiable for TextBold
Source§const CONSTRUCTOR_ID: u32 = 0x6724abc4
const CONSTRUCTOR_ID: u32 = 0x6724abc4
The constructor ID as specified in the TL schema.
Source§impl Serializable for TextBold
impl Serializable for TextBold
impl StructuralPartialEq for TextBold
Auto Trait Implementations§
impl Freeze for TextBold
impl RefUnwindSafe for TextBold
impl Send for TextBold
impl Sync for TextBold
impl Unpin for TextBold
impl UnsafeUnpin for TextBold
impl UnwindSafe for TextBold
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