pub struct ListBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl ListBuilder<Empty, DefaultStr>
impl ListBuilder<Empty, DefaultStr>
Source§impl<S: BosStr> ListBuilder<Empty, S>
impl<S: BosStr> ListBuilder<Empty, S>
Source§impl<St: State, S: BosStr> ListBuilder<St, S>
impl<St: State, S: BosStr> ListBuilder<St, S>
Source§impl<St, S: BosStr> ListBuilder<St, S>
impl<St, S: BosStr> ListBuilder<St, S>
Sourcepub fn created_at(
self,
value: impl Into<Datetime>,
) -> ListBuilder<SetCreatedAt<St>, S>
pub fn created_at( self, value: impl Into<Datetime>, ) -> ListBuilder<SetCreatedAt<St>, S>
Set the createdAt field (required)
Source§impl<St: State, S: BosStr> ListBuilder<St, S>
impl<St: State, S: BosStr> ListBuilder<St, S>
Sourcepub fn description(self, value: impl Into<Option<S>>) -> Self
pub fn description(self, value: impl Into<Option<S>>) -> Self
Set the description field (optional)
Sourcepub fn maybe_description(self, value: Option<S>) -> Self
pub fn maybe_description(self, value: Option<S>) -> Self
Set the description field to an Option value (optional)
Source§impl<St: State, S: BosStr> ListBuilder<St, S>
impl<St: State, S: BosStr> ListBuilder<St, S>
Source§impl<St: State, S: BosStr> ListBuilder<St, S>
impl<St: State, S: BosStr> ListBuilder<St, S>
Sourcepub fn labels(self, value: impl Into<Option<SelfLabels<S>>>) -> Self
pub fn labels(self, value: impl Into<Option<SelfLabels<S>>>) -> Self
Set the labels field (optional)
Sourcepub fn maybe_labels(self, value: Option<SelfLabels<S>>) -> Self
pub fn maybe_labels(self, value: Option<SelfLabels<S>>) -> Self
Set the labels field to an Option value (optional)
Source§impl<St, S: BosStr> ListBuilder<St, S>
impl<St, S: BosStr> ListBuilder<St, S>
Sourcepub fn name(self, value: impl Into<S>) -> ListBuilder<SetName<St>, S>
pub fn name(self, value: impl Into<S>) -> ListBuilder<SetName<St>, S>
Set the name field (required)
Source§impl<St, S: BosStr> ListBuilder<St, S>
impl<St, S: BosStr> ListBuilder<St, S>
Sourcepub fn purpose(
self,
value: impl Into<ListPurpose<S>>,
) -> ListBuilder<SetPurpose<St>, S>
pub fn purpose( self, value: impl Into<ListPurpose<S>>, ) -> ListBuilder<SetPurpose<St>, S>
Set the purpose field (required)
Source§impl<St, S: BosStr> ListBuilder<St, S>
impl<St, S: BosStr> ListBuilder<St, S>
Auto Trait Implementations§
impl<St, S> Freeze for ListBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for ListBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for ListBuilder<St, S>where
S: Send,
impl<St, S> Sync for ListBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for ListBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for ListBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for ListBuilder<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