pub struct ListViewBasicBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> ListViewBasicBuilder<Empty, S>
impl<S: BosStr> ListViewBasicBuilder<Empty, S>
Source§impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
Source§impl<St, S: BosStr> ListViewBasicBuilder<St, S>
impl<St, S: BosStr> ListViewBasicBuilder<St, S>
Source§impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn indexed_at(self, value: impl Into<Option<Datetime>>) -> Self
pub fn indexed_at(self, value: impl Into<Option<Datetime>>) -> Self
Set the indexedAt field (optional)
Sourcepub fn maybe_indexed_at(self, value: Option<Datetime>) -> Self
pub fn maybe_indexed_at(self, value: Option<Datetime>) -> Self
Set the indexedAt field to an Option value (optional)
Source§impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
Source§impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn list_item_count(self, value: impl Into<Option<i64>>) -> Self
pub fn list_item_count(self, value: impl Into<Option<i64>>) -> Self
Set the listItemCount field (optional)
Sourcepub fn maybe_list_item_count(self, value: Option<i64>) -> Self
pub fn maybe_list_item_count(self, value: Option<i64>) -> Self
Set the listItemCount field to an Option value (optional)
Source§impl<St, S: BosStr> ListViewBasicBuilder<St, S>
impl<St, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn name(self, value: impl Into<S>) -> ListViewBasicBuilder<SetName<St>, S>
pub fn name(self, value: impl Into<S>) -> ListViewBasicBuilder<SetName<St>, S>
Set the name field (required)
Source§impl<St, S: BosStr> ListViewBasicBuilder<St, S>
impl<St, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn purpose(
self,
value: impl Into<ListPurpose<S>>,
) -> ListViewBasicBuilder<SetPurpose<St>, S>
pub fn purpose( self, value: impl Into<ListPurpose<S>>, ) -> ListViewBasicBuilder<SetPurpose<St>, S>
Set the purpose field (required)
Source§impl<St, S: BosStr> ListViewBasicBuilder<St, S>
impl<St, S: BosStr> ListViewBasicBuilder<St, S>
Source§impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
impl<St: State, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn viewer(self, value: impl Into<Option<ListViewerState<S>>>) -> Self
pub fn viewer(self, value: impl Into<Option<ListViewerState<S>>>) -> Self
Set the viewer field (optional)
Sourcepub fn maybe_viewer(self, value: Option<ListViewerState<S>>) -> Self
pub fn maybe_viewer(self, value: Option<ListViewerState<S>>) -> Self
Set the viewer field to an Option value (optional)
Source§impl<St, S: BosStr> ListViewBasicBuilder<St, S>
impl<St, S: BosStr> ListViewBasicBuilder<St, S>
Sourcepub fn build(self) -> ListViewBasic<S>
pub fn build(self) -> ListViewBasic<S>
Build the final struct.
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<S>>,
) -> ListViewBasic<S>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<S>>, ) -> ListViewBasic<S>
Build the final struct with custom extra_data.
Auto Trait Implementations§
impl<St, S> Freeze for ListViewBasicBuilder<St, S>where
S: Freeze,
impl<St, S> RefUnwindSafe for ListViewBasicBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for ListViewBasicBuilder<St, S>where
S: Send,
impl<St, S> Sync for ListViewBasicBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for ListViewBasicBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for ListViewBasicBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for ListViewBasicBuilder<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