pub struct PageBlockDetails {
pub open: bool,
pub blocks: Vec<PageBlock>,
pub title: RichText,
}Expand description
Generated from:
pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector<PageBlock> title:RichText = PageBlockFields§
§open: bool§blocks: Vec<PageBlock>§title: RichTextTrait Implementations§
Source§impl Clone for PageBlockDetails
impl Clone for PageBlockDetails
Source§fn clone(&self) -> PageBlockDetails
fn clone(&self) -> PageBlockDetails
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 PageBlockDetails
impl Debug for PageBlockDetails
Source§impl Deserializable for PageBlockDetails
impl Deserializable for PageBlockDetails
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<PageBlockDetails> for PageBlock
impl From<PageBlockDetails> for PageBlock
Source§fn from(x: PageBlockDetails) -> Self
fn from(x: PageBlockDetails) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockDetails
impl Identifiable for PageBlockDetails
Source§const CONSTRUCTOR_ID: u32 = 0x76768bed
const CONSTRUCTOR_ID: u32 = 0x76768bed
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockDetails
impl PartialEq for PageBlockDetails
Source§impl Serializable for PageBlockDetails
impl Serializable for PageBlockDetails
Source§impl TryFrom<PageBlock> for PageBlockDetails
impl TryFrom<PageBlock> for PageBlockDetails
impl StructuralPartialEq for PageBlockDetails
Auto Trait Implementations§
impl Freeze for PageBlockDetails
impl RefUnwindSafe for PageBlockDetails
impl Send for PageBlockDetails
impl Sync for PageBlockDetails
impl Unpin for PageBlockDetails
impl UnsafeUnpin for PageBlockDetails
impl UnwindSafe for PageBlockDetails
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