pub struct InputRichBlockSlideshow {
pub blocks: Vec<InputRichBlock>,
pub caption: Option<RichBlockCaption>,
}Expand description
A slideshow (<tg-slideshow>).
Fields§
§blocks: Vec<InputRichBlock>Elements of the slideshow.
caption: Option<RichBlockCaption>Caption of the block.
Trait Implementations§
Source§impl Clone for InputRichBlockSlideshow
impl Clone for InputRichBlockSlideshow
Source§fn clone(&self) -> InputRichBlockSlideshow
fn clone(&self) -> InputRichBlockSlideshow
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 InputRichBlockSlideshow
impl Debug for InputRichBlockSlideshow
Source§impl<'de> Deserialize<'de> for InputRichBlockSlideshow
impl<'de> Deserialize<'de> for InputRichBlockSlideshow
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 InputRichBlockSlideshow
impl RefUnwindSafe for InputRichBlockSlideshow
impl Send for InputRichBlockSlideshow
impl Sync for InputRichBlockSlideshow
impl Unpin for InputRichBlockSlideshow
impl UnsafeUnpin for InputRichBlockSlideshow
impl UnwindSafe for InputRichBlockSlideshow
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