Enum grammers_client::types::attributes::Attribute
source · pub enum Attribute {
Audio {
duration: Duration,
title: Option<String>,
performer: Option<String>,
},
Voice {
duration: Duration,
waveform: Option<Vec<u8>>,
},
Video {
round_message: bool,
supports_streaming: bool,
duration: Duration,
w: i32,
h: i32,
},
FileName(String),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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