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