pub struct VoiceAttachment {
pub attachment: Attachment,
pub duration_milliseconds: Option<u64>,
}Fields§
§attachment: Attachment§duration_milliseconds: Option<u64>Required for writes; historical server records can contain null.
Trait Implementations§
Source§impl Clone for VoiceAttachment
impl Clone for VoiceAttachment
Source§fn clone(&self) -> VoiceAttachment
fn clone(&self) -> VoiceAttachment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VoiceAttachment
impl Debug for VoiceAttachment
Source§impl<'de> Deserialize<'de> for VoiceAttachment
impl<'de> Deserialize<'de> for VoiceAttachment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VoiceAttachment
impl RefUnwindSafe for VoiceAttachment
impl Send for VoiceAttachment
impl Sync for VoiceAttachment
impl Unpin for VoiceAttachment
impl UnsafeUnpin for VoiceAttachment
impl UnwindSafe for VoiceAttachment
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