pub struct InputRichBlockPhoto {
pub photo: InputMediaPhoto,
pub caption: Option<RichBlockCaption>,
}Expand description
A photo block (<img>). Caption on the inner media is ignored — use this
block’s own caption instead.
Fields§
§photo: InputMediaPhotoThe photo.
caption: Option<RichBlockCaption>Caption of the block.
Trait Implementations§
Source§impl Clone for InputRichBlockPhoto
impl Clone for InputRichBlockPhoto
Source§fn clone(&self) -> InputRichBlockPhoto
fn clone(&self) -> InputRichBlockPhoto
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 InputRichBlockPhoto
impl Debug for InputRichBlockPhoto
Source§impl<'de> Deserialize<'de> for InputRichBlockPhoto
impl<'de> Deserialize<'de> for InputRichBlockPhoto
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 InputRichBlockPhoto
impl RefUnwindSafe for InputRichBlockPhoto
impl Send for InputRichBlockPhoto
impl Sync for InputRichBlockPhoto
impl Unpin for InputRichBlockPhoto
impl UnsafeUnpin for InputRichBlockPhoto
impl UnwindSafe for InputRichBlockPhoto
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