pub struct NativeVideoBuilder(/* private fields */);Expand description
Builder for NativeVideo.
Implementations§
Source§impl NativeVideoBuilder
impl NativeVideoBuilder
pub fn completed_at(self, value: impl Into<Option<i64>>) -> Self
pub fn error(self, value: impl Into<Option<NativeVideoError>>) -> Self
pub fn expires_at(self, value: impl Into<Option<i64>>) -> Self
pub fn prompt(self, value: impl Into<Option<String>>) -> Self
pub fn remixed_from_video_id(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> NativeVideo
pub fn build(self) -> NativeVideo
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for NativeVideoBuilder
impl RefUnwindSafe for NativeVideoBuilder
impl Send for NativeVideoBuilder
impl Sync for NativeVideoBuilder
impl Unpin for NativeVideoBuilder
impl UnsafeUnpin for NativeVideoBuilder
impl UnwindSafe for NativeVideoBuilder
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