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