pub struct WebPageAttributeStory {
pub peer: Peer,
pub id: i32,
pub story: Option<StoryItem>,
}Expand description
Generated from:
webPageAttributeStory#2e94c3e7 flags:# peer:Peer id:int story:flags.0?StoryItem = WebPageAttributeFields§
§peer: Peer§id: i32§story: Option<StoryItem>Trait Implementations§
Source§impl Clone for WebPageAttributeStory
impl Clone for WebPageAttributeStory
Source§fn clone(&self) -> WebPageAttributeStory
fn clone(&self) -> WebPageAttributeStory
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 WebPageAttributeStory
impl Debug for WebPageAttributeStory
Source§impl Deserializable for WebPageAttributeStory
impl Deserializable for WebPageAttributeStory
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<WebPageAttributeStory> for WebPageAttribute
impl From<WebPageAttributeStory> for WebPageAttribute
Source§fn from(x: WebPageAttributeStory) -> Self
fn from(x: WebPageAttributeStory) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebPageAttributeStory
impl Identifiable for WebPageAttributeStory
Source§const CONSTRUCTOR_ID: u32 = 0x2e94c3e7
const CONSTRUCTOR_ID: u32 = 0x2e94c3e7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebPageAttributeStory
impl PartialEq for WebPageAttributeStory
Source§impl Serializable for WebPageAttributeStory
impl Serializable for WebPageAttributeStory
Source§impl TryFrom<WebPageAttribute> for WebPageAttributeStory
impl TryFrom<WebPageAttribute> for WebPageAttributeStory
Source§type Error = WebPageAttribute
type Error = WebPageAttribute
The type returned in the event of a conversion error.
impl StructuralPartialEq for WebPageAttributeStory
Auto Trait Implementations§
impl Freeze for WebPageAttributeStory
impl RefUnwindSafe for WebPageAttributeStory
impl Send for WebPageAttributeStory
impl Sync for WebPageAttributeStory
impl Unpin for WebPageAttributeStory
impl UnsafeUnpin for WebPageAttributeStory
impl UnwindSafe for WebPageAttributeStory
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