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