pub struct DraftViewBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> DraftViewBuilder<Empty, S>
impl<S: BosStr> DraftViewBuilder<Empty, S>
Source§impl<St, S: BosStr> DraftViewBuilder<St, S>
impl<St, S: BosStr> DraftViewBuilder<St, S>
Sourcepub fn created_at(
self,
value: impl Into<Datetime>,
) -> DraftViewBuilder<SetCreatedAt<St>, S>
pub fn created_at( self, value: impl Into<Datetime>, ) -> DraftViewBuilder<SetCreatedAt<St>, S>
Set the createdAt field (required)
Source§impl<St, S: BosStr> DraftViewBuilder<St, S>
impl<St, S: BosStr> DraftViewBuilder<St, S>
Source§impl<St, S: BosStr> DraftViewBuilder<St, S>
impl<St, S: BosStr> DraftViewBuilder<St, S>
Source§impl<St, S: BosStr> DraftViewBuilder<St, S>
impl<St, S: BosStr> DraftViewBuilder<St, S>
Sourcepub fn updated_at(
self,
value: impl Into<Datetime>,
) -> DraftViewBuilder<SetUpdatedAt<St>, S>
pub fn updated_at( self, value: impl Into<Datetime>, ) -> DraftViewBuilder<SetUpdatedAt<St>, S>
Set the updatedAt field (required)
Source§impl<St, S: BosStr> DraftViewBuilder<St, S>
impl<St, S: BosStr> DraftViewBuilder<St, S>
Auto Trait Implementations§
impl<St, S> Freeze for DraftViewBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for DraftViewBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for DraftViewBuilder<St, S>where
S: Send,
impl<St, S> Sync for DraftViewBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for DraftViewBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for DraftViewBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for DraftViewBuilder<St, S>where
S: UnwindSafe + RefUnwindSafe,
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