pub struct VideoBuilder { /* private fields */ }Expand description
Builder for Video object.
Implementations§
Source§impl VideoBuilder
impl VideoBuilder
Sourcepub fn get_alt_text(&self) -> Option<&String>
pub fn get_alt_text(&self) -> Option<&String>
get alt_text field value.
Sourcepub fn set_alt_text(self, value: Option<impl Into<String>>) -> Self
pub fn set_alt_text(self, value: Option<impl Into<String>>) -> Self
set alt_text field value.
get author_name field value.
set author_name field value.
set author_name field value.
Sourcepub fn get_block_id(&self) -> Option<&String>
pub fn get_block_id(&self) -> Option<&String>
get block_id field value.
Sourcepub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
pub fn set_block_id(self, value: Option<impl Into<String>>) -> Self
set block_id field value.
Sourcepub fn get_description(&self) -> Option<&Text<Plain>>
pub fn get_description(&self) -> Option<&Text<Plain>>
get description field value.
Sourcepub fn set_description(self, value: Option<impl Into<Text<Plain>>>) -> Self
pub fn set_description(self, value: Option<impl Into<Text<Plain>>>) -> Self
set description field value.
Sourcepub fn description(self, value: impl Into<Text<Plain>>) -> Self
pub fn description(self, value: impl Into<Text<Plain>>) -> Self
set description field value.
Sourcepub fn get_provider_icon_url(&self) -> Option<&String>
pub fn get_provider_icon_url(&self) -> Option<&String>
get provider_icon_url field value.
Sourcepub fn set_provider_icon_url(self, value: Option<impl Into<String>>) -> Self
pub fn set_provider_icon_url(self, value: Option<impl Into<String>>) -> Self
set provider_icon_url field value.
Sourcepub fn provider_icon_url(self, value: impl Into<String>) -> Self
pub fn provider_icon_url(self, value: impl Into<String>) -> Self
set provider_icon_url field value.
Sourcepub fn get_provider_name(&self) -> Option<&String>
pub fn get_provider_name(&self) -> Option<&String>
get provider_name field value.
Sourcepub fn set_provider_name(self, value: Option<impl Into<String>>) -> Self
pub fn set_provider_name(self, value: Option<impl Into<String>>) -> Self
set provider_name field value.
Sourcepub fn provider_name(self, value: impl Into<String>) -> Self
pub fn provider_name(self, value: impl Into<String>) -> Self
set provider_name field value.
Sourcepub fn get_title_url(&self) -> Option<&String>
pub fn get_title_url(&self) -> Option<&String>
get title_url field value.
Sourcepub fn set_title_url(self, value: Option<impl Into<String>>) -> Self
pub fn set_title_url(self, value: Option<impl Into<String>>) -> Self
set title_url field value.
Sourcepub fn get_thumbnail_url(&self) -> Option<&String>
pub fn get_thumbnail_url(&self) -> Option<&String>
get thumbnail_url field value.
Sourcepub fn set_thumbnail_url(self, value: Option<impl Into<String>>) -> Self
pub fn set_thumbnail_url(self, value: Option<impl Into<String>>) -> Self
set thumbnail_url field value.
Sourcepub fn thumbnail_url(self, value: impl Into<String>) -> Self
pub fn thumbnail_url(self, value: impl Into<String>) -> Self
set thumbnail_url field value.
Sourcepub fn get_video_url(&self) -> Option<&String>
pub fn get_video_url(&self) -> Option<&String>
get video_url field value.
Sourcepub fn set_video_url(self, value: Option<impl Into<String>>) -> Self
pub fn set_video_url(self, value: Option<impl Into<String>>) -> Self
set video_url field value.
Trait Implementations§
Source§impl Debug for VideoBuilder
impl Debug for VideoBuilder
Auto Trait Implementations§
impl Freeze for VideoBuilder
impl RefUnwindSafe for VideoBuilder
impl Send for VideoBuilder
impl Sync for VideoBuilder
impl Unpin for VideoBuilder
impl UnsafeUnpin for VideoBuilder
impl UnwindSafe for VideoBuilder
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