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