pub struct StarGiftAttributeIdPattern {
pub document_id: i64,
}Expand description
Generated from:
starGiftAttributeIdPattern#4a162433 document_id:long = StarGiftAttributeIdFields§
§document_id: i64Trait Implementations§
Source§impl Clone for StarGiftAttributeIdPattern
impl Clone for StarGiftAttributeIdPattern
Source§fn clone(&self) -> StarGiftAttributeIdPattern
fn clone(&self) -> StarGiftAttributeIdPattern
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 StarGiftAttributeIdPattern
impl Debug for StarGiftAttributeIdPattern
Source§impl Deserializable for StarGiftAttributeIdPattern
impl Deserializable for StarGiftAttributeIdPattern
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<StarGiftAttributeIdPattern> for StarGiftAttributeId
impl From<StarGiftAttributeIdPattern> for StarGiftAttributeId
Source§fn from(x: StarGiftAttributeIdPattern) -> Self
fn from(x: StarGiftAttributeIdPattern) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftAttributeIdPattern
impl Identifiable for StarGiftAttributeIdPattern
Source§const CONSTRUCTOR_ID: u32 = 0x4a162433
const CONSTRUCTOR_ID: u32 = 0x4a162433
The constructor ID as specified in the TL schema.
Source§impl TryFrom<StarGiftAttributeId> for StarGiftAttributeIdPattern
impl TryFrom<StarGiftAttributeId> for StarGiftAttributeIdPattern
Source§type Error = StarGiftAttributeId
type Error = StarGiftAttributeId
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftAttributeIdPattern
Auto Trait Implementations§
impl Freeze for StarGiftAttributeIdPattern
impl RefUnwindSafe for StarGiftAttributeIdPattern
impl Send for StarGiftAttributeIdPattern
impl Sync for StarGiftAttributeIdPattern
impl Unpin for StarGiftAttributeIdPattern
impl UnsafeUnpin for StarGiftAttributeIdPattern
impl UnwindSafe for StarGiftAttributeIdPattern
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