pub struct VideoAnnotations {
pub bundle: Option<bool>,
pub bundle_content_list_url: Option<String>,
pub extras_content_list_url: Option<String>,
pub also_available_in_list_url: Option<String>,
pub bundle_doc_id: Vec<DocId>,
}Fields§
§bundle: Option<bool>§bundle_content_list_url: Option<String>§extras_content_list_url: Option<String>§also_available_in_list_url: Option<String>§bundle_doc_id: Vec<DocId>Implementations§
Source§impl VideoAnnotations
impl VideoAnnotations
Sourcepub fn bundle(&self) -> bool
pub fn bundle(&self) -> bool
Returns the value of bundle, or the default value if bundle is unset.
Sourcepub fn bundle_content_list_url(&self) -> &str
pub fn bundle_content_list_url(&self) -> &str
Returns the value of bundle_content_list_url, or the default value if bundle_content_list_url is unset.
Sourcepub fn extras_content_list_url(&self) -> &str
pub fn extras_content_list_url(&self) -> &str
Returns the value of extras_content_list_url, or the default value if extras_content_list_url is unset.
Sourcepub fn also_available_in_list_url(&self) -> &str
pub fn also_available_in_list_url(&self) -> &str
Returns the value of also_available_in_list_url, or the default value if also_available_in_list_url is unset.
Trait Implementations§
Source§impl Clone for VideoAnnotations
impl Clone for VideoAnnotations
Source§fn clone(&self) -> VideoAnnotations
fn clone(&self) -> VideoAnnotations
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 VideoAnnotations
impl Debug for VideoAnnotations
Source§impl Default for VideoAnnotations
impl Default for VideoAnnotations
Source§impl Message for VideoAnnotations
impl Message for VideoAnnotations
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for VideoAnnotations
impl PartialEq for VideoAnnotations
impl StructuralPartialEq for VideoAnnotations
Auto Trait Implementations§
impl Freeze for VideoAnnotations
impl RefUnwindSafe for VideoAnnotations
impl Send for VideoAnnotations
impl Sync for VideoAnnotations
impl Unpin for VideoAnnotations
impl UnwindSafe for VideoAnnotations
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