pub struct UpdateStory {
pub peer: Peer,
pub story: StoryItem,
}Expand description
Fields§
§peer: Peer§story: StoryItemTrait Implementations§
Source§impl Clone for UpdateStory
impl Clone for UpdateStory
Source§fn clone(&self) -> UpdateStory
fn clone(&self) -> UpdateStory
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 UpdateStory
impl Debug for UpdateStory
Source§impl Deserializable for UpdateStory
impl Deserializable for UpdateStory
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<UpdateStory> for Update
impl From<UpdateStory> for Update
Source§fn from(x: UpdateStory) -> Self
fn from(x: UpdateStory) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateStory
impl Identifiable for UpdateStory
Source§const CONSTRUCTOR_ID: u32 = 0x75b3b798
const CONSTRUCTOR_ID: u32 = 0x75b3b798
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateStory
impl PartialEq for UpdateStory
Source§impl Serializable for UpdateStory
impl Serializable for UpdateStory
Source§impl TryFrom<Update> for UpdateStory
impl TryFrom<Update> for UpdateStory
impl StructuralPartialEq for UpdateStory
Auto Trait Implementations§
impl Freeze for UpdateStory
impl RefUnwindSafe for UpdateStory
impl Send for UpdateStory
impl Sync for UpdateStory
impl Unpin for UpdateStory
impl UnsafeUnpin for UpdateStory
impl UnwindSafe for UpdateStory
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