[−][src]Enum grammers_tl_types::enums::DocumentAttribute
Variants
ImageSize(DocumentAttributeImageSize)
Animated(DocumentAttributeAnimated)
Sticker(DocumentAttributeSticker)
Video(DocumentAttributeVideo)
Audio(DocumentAttributeAudio)
Filename(DocumentAttributeFilename)
HasStickers(DocumentAttributeHasStickers)
Trait Implementations
impl Clone for DocumentAttribute
[src]
fn clone(&self) -> DocumentAttribute
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DocumentAttribute
[src]
impl Deserializable for DocumentAttribute
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<DocumentAttributeAnimated> for DocumentAttribute
[src]
fn from(x: DocumentAttributeAnimated) -> Self
[src]
impl From<DocumentAttributeAudio> for DocumentAttribute
[src]
fn from(x: DocumentAttributeAudio) -> Self
[src]
impl From<DocumentAttributeFilename> for DocumentAttribute
[src]
fn from(x: DocumentAttributeFilename) -> Self
[src]
impl From<DocumentAttributeHasStickers> for DocumentAttribute
[src]
fn from(x: DocumentAttributeHasStickers) -> Self
[src]
impl From<DocumentAttributeImageSize> for DocumentAttribute
[src]
fn from(x: DocumentAttributeImageSize) -> Self
[src]
impl From<DocumentAttributeSticker> for DocumentAttribute
[src]
fn from(x: DocumentAttributeSticker) -> Self
[src]
impl From<DocumentAttributeVideo> for DocumentAttribute
[src]
fn from(x: DocumentAttributeVideo) -> Self
[src]
impl PartialEq<DocumentAttribute> for DocumentAttribute
[src]
fn eq(&self, other: &DocumentAttribute) -> bool
[src]
fn ne(&self, other: &DocumentAttribute) -> bool
[src]
impl Serializable for DocumentAttribute
[src]
impl StructuralPartialEq for DocumentAttribute
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeAnimated
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeAudio
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeFilename
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeHasStickers
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeImageSize
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeSticker
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
impl TryFrom<DocumentAttribute> for DocumentAttributeVideo
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: DocumentAttribute) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for DocumentAttribute
impl Send for DocumentAttribute
impl Sync for DocumentAttribute
impl Unpin for DocumentAttribute
impl UnwindSafe for DocumentAttribute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,