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