pub enum StickerSetInstallResult {
Success,
Archive(StickerSetInstallResultArchive),
}Expand description
Variants§
Success
Archive(StickerSetInstallResultArchive)
Trait Implementations§
Source§impl Clone for StickerSetInstallResult
impl Clone for StickerSetInstallResult
Source§fn clone(&self) -> StickerSetInstallResult
fn clone(&self) -> StickerSetInstallResult
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 StickerSetInstallResult
impl Debug for StickerSetInstallResult
Source§impl Deserializable for StickerSetInstallResult
impl Deserializable for StickerSetInstallResult
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<StickerSetInstallResultArchive> for StickerSetInstallResult
impl From<StickerSetInstallResultArchive> for StickerSetInstallResult
Source§fn from(x: StickerSetInstallResultArchive) -> Self
fn from(x: StickerSetInstallResultArchive) -> Self
Converts to this type from the input type.
Source§impl From<StickerSetInstallResultSuccess> for StickerSetInstallResult
impl From<StickerSetInstallResultSuccess> for StickerSetInstallResult
Source§fn from(_x: StickerSetInstallResultSuccess) -> Self
fn from(_x: StickerSetInstallResultSuccess) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StickerSetInstallResult
impl PartialEq for StickerSetInstallResult
Source§impl TryFrom<StickerSetInstallResult> for StickerSetInstallResultArchive
impl TryFrom<StickerSetInstallResult> for StickerSetInstallResultArchive
Source§type Error = StickerSetInstallResult
type Error = StickerSetInstallResult
The type returned in the event of a conversion error.
impl StructuralPartialEq for StickerSetInstallResult
Auto Trait Implementations§
impl Freeze for StickerSetInstallResult
impl RefUnwindSafe for StickerSetInstallResult
impl Send for StickerSetInstallResult
impl Sync for StickerSetInstallResult
impl Unpin for StickerSetInstallResult
impl UnsafeUnpin for StickerSetInstallResult
impl UnwindSafe for StickerSetInstallResult
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