pub struct SendVoiceContent {
pub attachment_id: AttachmentId,
pub type: String,
}Fields§
§attachment_id: AttachmentId§type: StringImplementations§
Source§impl SendVoiceContent
impl SendVoiceContent
pub fn serialize<__S>(
__self: &SendVoiceContent,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> SendVoiceContent
impl<'de> SendVoiceContent
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<SendVoiceContent, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for SendVoiceContent
impl Clone for SendVoiceContent
Source§impl Debug for SendVoiceContent
impl Debug for SendVoiceContent
Source§impl<'de> Deserialize<'de> for SendVoiceContent
impl<'de> Deserialize<'de> for SendVoiceContent
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 SendVoiceContent
impl RefUnwindSafe for SendVoiceContent
impl Send for SendVoiceContent
impl Sync for SendVoiceContent
impl Unpin for SendVoiceContent
impl UnsafeUnpin for SendVoiceContent
impl UnwindSafe for SendVoiceContent
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