pub struct SendAttachmentCaption {
pub format: String,
pub text: String,
}Expand description
Text shown with the attachment. Accepted on: telegram.
Fields§
§format: String§text: StringImplementations§
Source§impl SendAttachmentCaption
impl SendAttachmentCaption
pub fn serialize<__S>(
__self: &SendAttachmentCaption,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> SendAttachmentCaption
impl<'de> SendAttachmentCaption
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<SendAttachmentCaption, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for SendAttachmentCaption
impl Clone for SendAttachmentCaption
Source§impl Debug for SendAttachmentCaption
impl Debug for SendAttachmentCaption
Source§impl<'de> Deserialize<'de> for SendAttachmentCaption
impl<'de> Deserialize<'de> for SendAttachmentCaption
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 SendAttachmentCaption
impl RefUnwindSafe for SendAttachmentCaption
impl Send for SendAttachmentCaption
impl Sync for SendAttachmentCaption
impl Unpin for SendAttachmentCaption
impl UnsafeUnpin for SendAttachmentCaption
impl UnwindSafe for SendAttachmentCaption
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