pub struct SliceViewBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> SliceViewBuilder<'a, Empty>
impl<'a> SliceViewBuilder<'a, Empty>
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Sourcepub fn created_at(
self,
value: impl Into<Datetime>,
) -> SliceViewBuilder<'a, SetCreatedAt<S>>
pub fn created_at( self, value: impl Into<Datetime>, ) -> SliceViewBuilder<'a, SetCreatedAt<S>>
Set the createdAt field (required)
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Sourcepub fn creator(
self,
value: impl Into<ProfileViewBasic<'a>>,
) -> SliceViewBuilder<'a, SetCreator<S>>
pub fn creator( self, value: impl Into<ProfileViewBasic<'a>>, ) -> SliceViewBuilder<'a, SetCreator<S>>
Set the creator field (required)
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn indexed_actor_count(self, value: impl Into<Option<i64>>) -> Self
pub fn indexed_actor_count(self, value: impl Into<Option<i64>>) -> Self
Set the indexedActorCount field (optional)
Sourcepub fn maybe_indexed_actor_count(self, value: Option<i64>) -> Self
pub fn maybe_indexed_actor_count(self, value: Option<i64>) -> Self
Set the indexedActorCount field to an Option value (optional)
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn indexed_collection_count(self, value: impl Into<Option<i64>>) -> Self
pub fn indexed_collection_count(self, value: impl Into<Option<i64>>) -> Self
Set the indexedCollectionCount field (optional)
Sourcepub fn maybe_indexed_collection_count(self, value: Option<i64>) -> Self
pub fn maybe_indexed_collection_count(self, value: Option<i64>) -> Self
Set the indexedCollectionCount field to an Option value (optional)
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn indexed_record_count(self, value: impl Into<Option<i64>>) -> Self
pub fn indexed_record_count(self, value: impl Into<Option<i64>>) -> Self
Set the indexedRecordCount field (optional)
Sourcepub fn maybe_indexed_record_count(self, value: Option<i64>) -> Self
pub fn maybe_indexed_record_count(self, value: Option<i64>) -> Self
Set the indexedRecordCount field to an Option value (optional)
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn sparkline(
self,
value: impl Into<Option<Vec<SparklinePoint<'a>>>>,
) -> Self
pub fn sparkline( self, value: impl Into<Option<Vec<SparklinePoint<'a>>>>, ) -> Self
Set the sparkline field (optional)
Sourcepub fn maybe_sparkline(self, value: Option<Vec<SparklinePoint<'a>>>) -> Self
pub fn maybe_sparkline(self, value: Option<Vec<SparklinePoint<'a>>>) -> Self
Set the sparkline field to an Option value (optional)
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn waitlist_invite_count(self, value: impl Into<Option<i64>>) -> Self
pub fn waitlist_invite_count(self, value: impl Into<Option<i64>>) -> Self
Set the waitlistInviteCount field (optional)
Sourcepub fn maybe_waitlist_invite_count(self, value: Option<i64>) -> Self
pub fn maybe_waitlist_invite_count(self, value: Option<i64>) -> Self
Set the waitlistInviteCount field to an Option value (optional)
Source§impl<'a, S: State> SliceViewBuilder<'a, S>
impl<'a, S: State> SliceViewBuilder<'a, S>
Sourcepub fn waitlist_request_count(self, value: impl Into<Option<i64>>) -> Self
pub fn waitlist_request_count(self, value: impl Into<Option<i64>>) -> Self
Set the waitlistRequestCount field (optional)
Sourcepub fn maybe_waitlist_request_count(self, value: Option<i64>) -> Self
pub fn maybe_waitlist_request_count(self, value: Option<i64>) -> Self
Set the waitlistRequestCount field to an Option value (optional)
Source§impl<'a, S> SliceViewBuilder<'a, S>
impl<'a, S> SliceViewBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for SliceViewBuilder<'a, S>
impl<'a, S> RefUnwindSafe for SliceViewBuilder<'a, S>
impl<'a, S> Send for SliceViewBuilder<'a, S>
impl<'a, S> Sync for SliceViewBuilder<'a, S>
impl<'a, S> Unpin for SliceViewBuilder<'a, S>
impl<'a, S> UnsafeUnpin for SliceViewBuilder<'a, S>
impl<'a, S> UnwindSafe for SliceViewBuilder<'a, S>
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