pub struct CreateVideoRequest { /* private fields */ }Implementations§
Source§impl CreateVideoRequest
impl CreateVideoRequest
Sourcepub fn builder() -> Builder<TitleStage>
pub fn builder() -> Builder<TitleStage>
Returns a new builder.
Source§impl CreateVideoRequest
impl CreateVideoRequest
Sourcepub fn new(
title: impl Into<String>,
origin_metadata: VideoOriginMetadata,
) -> Self
pub fn new( title: impl Into<String>, origin_metadata: VideoOriginMetadata, ) -> Self
Constructs a new instance of the type.
pub fn title(&self) -> &str
pub fn description(&self) -> Option<&str>
pub fn labels(&self) -> &BTreeSet<Label>
pub fn properties(&self) -> &BTreeMap<PropertyName, PropertyValue>
pub fn origin_metadata(&self) -> &VideoOriginMetadata
Trait Implementations§
Source§impl Clone for CreateVideoRequest
impl Clone for CreateVideoRequest
Source§fn clone(&self) -> CreateVideoRequest
fn clone(&self) -> CreateVideoRequest
Returns a copy 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 CreateVideoRequest
impl Debug for CreateVideoRequest
Source§impl<'de> Deserialize<'de> for CreateVideoRequest
impl<'de> Deserialize<'de> for CreateVideoRequest
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
Source§impl From<CreateVideoRequest> for Builder<Complete>
impl From<CreateVideoRequest> for Builder<Complete>
Source§fn from(v: CreateVideoRequest) -> Self
fn from(v: CreateVideoRequest) -> Self
Converts to this type from the input type.
Source§impl Hash for CreateVideoRequest
impl Hash for CreateVideoRequest
Source§impl Ord for CreateVideoRequest
impl Ord for CreateVideoRequest
Source§impl PartialEq for CreateVideoRequest
impl PartialEq for CreateVideoRequest
Source§impl PartialOrd for CreateVideoRequest
impl PartialOrd for CreateVideoRequest
Source§impl Serialize for CreateVideoRequest
impl Serialize for CreateVideoRequest
impl Eq for CreateVideoRequest
Auto Trait Implementations§
impl Freeze for CreateVideoRequest
impl RefUnwindSafe for CreateVideoRequest
impl Send for CreateVideoRequest
impl Sync for CreateVideoRequest
impl Unpin for CreateVideoRequest
impl UnwindSafe for CreateVideoRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.