pub struct Builder<T>(/* private fields */);
Expand description
A builder for VideoFile
Implementations§
Source§impl Builder<RidStage>
impl Builder<RidStage>
Sourcepub fn rid(self, rid: VideoFileRid) -> Builder<VideoRidStage>
pub fn rid(self, rid: VideoFileRid) -> Builder<VideoRidStage>
Sets the rid
field.
Source§impl Builder<VideoRidStage>
impl Builder<VideoRidStage>
Sourcepub fn video_rid(self, video_rid: VideoRid) -> Builder<TitleStage>
pub fn video_rid(self, video_rid: VideoRid) -> Builder<TitleStage>
Sets the video_rid
field.
Source§impl Builder<TitleStage>
impl Builder<TitleStage>
Source§impl Builder<CreatedByStage>
impl Builder<CreatedByStage>
Sourcepub fn created_by(
self,
created_by: ResourceIdentifier,
) -> Builder<CreatedAtStage>
pub fn created_by( self, created_by: ResourceIdentifier, ) -> Builder<CreatedAtStage>
Sets the created_by
field.
Source§impl Builder<CreatedAtStage>
impl Builder<CreatedAtStage>
Sourcepub fn created_at(
self,
created_at: DateTime<Utc>,
) -> Builder<OriginMetadataStage>
pub fn created_at( self, created_at: DateTime<Utc>, ) -> Builder<OriginMetadataStage>
Sets the created_at
field.
Source§impl Builder<OriginMetadataStage>
impl Builder<OriginMetadataStage>
Sourcepub fn origin_metadata(
self,
origin_metadata: VideoFileOriginMetadata,
) -> Builder<Complete>
pub fn origin_metadata( self, origin_metadata: VideoFileOriginMetadata, ) -> Builder<Complete>
Sets the origin_metadata
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn rid(self, rid: VideoFileRid) -> Self
pub fn rid(self, rid: VideoFileRid) -> Self
Sets the rid
field.
Sourcepub fn description(self, description: impl Into<Option<String>>) -> Self
pub fn description(self, description: impl Into<Option<String>>) -> Self
Sets the description
field.
Sourcepub fn created_by(self, created_by: ResourceIdentifier) -> Self
pub fn created_by(self, created_by: ResourceIdentifier) -> Self
Sets the created_by
field.
Sourcepub fn created_at(self, created_at: DateTime<Utc>) -> Self
pub fn created_at(self, created_at: DateTime<Utc>) -> Self
Sets the created_at
field.
Sourcepub fn origin_metadata(self, origin_metadata: VideoFileOriginMetadata) -> Self
pub fn origin_metadata(self, origin_metadata: VideoFileOriginMetadata) -> Self
Sets the origin_metadata
field.
Sourcepub fn segment_metadata(
self,
segment_metadata: impl Into<Option<VideoFileSegmentsMetadata>>,
) -> Self
pub fn segment_metadata( self, segment_metadata: impl Into<Option<VideoFileSegmentsMetadata>>, ) -> Self
Sets the segment_metadata
field.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request