pub struct StarterPackViewBasicBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> StarterPackViewBasicBuilder<Empty, S>
impl<S: BosStr> StarterPackViewBasicBuilder<Empty, S>
Source§impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Source§impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Sourcepub fn creator(
self,
value: impl Into<ProfileViewBasic<S>>,
) -> StarterPackViewBasicBuilder<SetCreator<St>, S>
pub fn creator( self, value: impl Into<ProfileViewBasic<S>>, ) -> StarterPackViewBasicBuilder<SetCreator<St>, S>
Set the creator field (required)
Source§impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Sourcepub fn indexed_at(
self,
value: impl Into<Datetime>,
) -> StarterPackViewBasicBuilder<SetIndexedAt<St>, S>
pub fn indexed_at( self, value: impl Into<Datetime>, ) -> StarterPackViewBasicBuilder<SetIndexedAt<St>, S>
Set the indexedAt field (required)
Source§impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
Sourcepub fn joined_all_time_count(self, value: impl Into<Option<i64>>) -> Self
pub fn joined_all_time_count(self, value: impl Into<Option<i64>>) -> Self
Set the joinedAllTimeCount field (optional)
Sourcepub fn maybe_joined_all_time_count(self, value: Option<i64>) -> Self
pub fn maybe_joined_all_time_count(self, value: Option<i64>) -> Self
Set the joinedAllTimeCount field to an Option value (optional)
Source§impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
Sourcepub fn joined_week_count(self, value: impl Into<Option<i64>>) -> Self
pub fn joined_week_count(self, value: impl Into<Option<i64>>) -> Self
Set the joinedWeekCount field (optional)
Sourcepub fn maybe_joined_week_count(self, value: Option<i64>) -> Self
pub fn maybe_joined_week_count(self, value: Option<i64>) -> Self
Set the joinedWeekCount field to an Option value (optional)
Source§impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
Source§impl<St: State, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St: State, S: BosStr> StarterPackViewBasicBuilder<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> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Source§impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Source§impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
impl<St, S: BosStr> StarterPackViewBasicBuilder<St, S>
Sourcepub fn build(self) -> StarterPackViewBasic<S>
pub fn build(self) -> StarterPackViewBasic<S>
Build the final struct.
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<S>>,
) -> StarterPackViewBasic<S>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<S>>, ) -> StarterPackViewBasic<S>
Build the final struct with custom extra_data.
Auto Trait Implementations§
impl<St, S = SmolStr> !Freeze for StarterPackViewBasicBuilder<St, S>
impl<St, S> RefUnwindSafe for StarterPackViewBasicBuilder<St, S>where
S: RefUnwindSafe,
impl<St, S> Send for StarterPackViewBasicBuilder<St, S>where
S: Send,
impl<St, S> Sync for StarterPackViewBasicBuilder<St, S>where
S: Sync,
impl<St, S> Unpin for StarterPackViewBasicBuilder<St, S>where
S: Unpin,
impl<St, S> UnsafeUnpin for StarterPackViewBasicBuilder<St, S>where
S: UnsafeUnpin,
impl<St, S> UnwindSafe for StarterPackViewBasicBuilder<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