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