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