pub struct PageBlockVideo {
pub video: Option<Video>,
pub caption: RichText,
pub need_autoplay: bool,
pub is_looped: bool,
}
Expand description
A video
Fields§
§video: Option<Video>
Video file; may be null
caption: RichText
Video caption
need_autoplay: bool
True, if the video should be played automatically
is_looped: bool
True, if the video should be looped
Trait Implementations§
Source§impl Clone for PageBlockVideo
impl Clone for PageBlockVideo
Source§fn clone(&self) -> PageBlockVideo
fn clone(&self) -> PageBlockVideo
Returns a duplicate of the value. Read more
1.0.0 · 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 PageBlockVideo
impl Debug for PageBlockVideo
Source§impl<'de> Deserialize<'de> for PageBlockVideo
impl<'de> Deserialize<'de> for PageBlockVideo
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 PageBlockVideo
impl RefUnwindSafe for PageBlockVideo
impl Send for PageBlockVideo
impl Sync for PageBlockVideo
impl Unpin for PageBlockVideo
impl UnwindSafe for PageBlockVideo
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