pub struct WebPageAttributeTheme {
pub documents: Option<Vec<Document>>,
pub settings: Option<ThemeSettings>,
}Expand description
Generated from:
webPageAttributeTheme#54b56617 flags:# documents:flags.0?Vector<Document> settings:flags.1?ThemeSettings = WebPageAttributeFields§
§documents: Option<Vec<Document>>§settings: Option<ThemeSettings>Trait Implementations§
Source§impl Clone for WebPageAttributeTheme
impl Clone for WebPageAttributeTheme
Source§fn clone(&self) -> WebPageAttributeTheme
fn clone(&self) -> WebPageAttributeTheme
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 WebPageAttributeTheme
impl Debug for WebPageAttributeTheme
Source§impl Deserializable for WebPageAttributeTheme
impl Deserializable for WebPageAttributeTheme
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<WebPageAttributeTheme> for WebPageAttribute
impl From<WebPageAttributeTheme> for WebPageAttribute
Source§fn from(x: WebPageAttributeTheme) -> Self
fn from(x: WebPageAttributeTheme) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebPageAttributeTheme
impl Identifiable for WebPageAttributeTheme
Source§const CONSTRUCTOR_ID: u32 = 0x54b56617
const CONSTRUCTOR_ID: u32 = 0x54b56617
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebPageAttributeTheme
impl PartialEq for WebPageAttributeTheme
Source§impl Serializable for WebPageAttributeTheme
impl Serializable for WebPageAttributeTheme
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeTheme
impl TryFrom<WebPageAttribute> for WebPageAttributeTheme
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for WebPageAttributeTheme
Auto Trait Implementations§
impl Freeze for WebPageAttributeTheme
impl RefUnwindSafe for WebPageAttributeTheme
impl Send for WebPageAttributeTheme
impl Sync for WebPageAttributeTheme
impl Unpin for WebPageAttributeTheme
impl UnsafeUnpin for WebPageAttributeTheme
impl UnwindSafe for WebPageAttributeTheme
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