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