pub struct PageBlockSubtitle {
pub text: RichText,
}Expand description
Fields§
§text: RichTextTrait Implementations§
Source§impl Clone for PageBlockSubtitle
impl Clone for PageBlockSubtitle
Source§fn clone(&self) -> PageBlockSubtitle
fn clone(&self) -> PageBlockSubtitle
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 PageBlockSubtitle
impl Debug for PageBlockSubtitle
Source§impl Deserializable for PageBlockSubtitle
impl Deserializable for PageBlockSubtitle
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 From<PageBlockSubtitle> for PageBlock
impl From<PageBlockSubtitle> for PageBlock
Source§fn from(x: PageBlockSubtitle) -> Self
fn from(x: PageBlockSubtitle) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockSubtitle
impl Identifiable for PageBlockSubtitle
Source§const CONSTRUCTOR_ID: u32 = 0x8ffa9a1f
const CONSTRUCTOR_ID: u32 = 0x8ffa9a1f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockSubtitle
impl PartialEq for PageBlockSubtitle
Source§impl Serializable for PageBlockSubtitle
impl Serializable for PageBlockSubtitle
Source§impl TryFrom<PageBlock> for PageBlockSubtitle
impl TryFrom<PageBlock> for PageBlockSubtitle
impl StructuralPartialEq for PageBlockSubtitle
Auto Trait Implementations§
impl Freeze for PageBlockSubtitle
impl RefUnwindSafe for PageBlockSubtitle
impl Send for PageBlockSubtitle
impl Sync for PageBlockSubtitle
impl Unpin for PageBlockSubtitle
impl UnsafeUnpin for PageBlockSubtitle
impl UnwindSafe for PageBlockSubtitle
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