pub struct AccountViewBuilder<St: State, S: BosStr = DefaultStr> { /* private fields */ }Expand description
Builder for constructing an instance of this type.
Implementations§
Source§impl<S: BosStr> AccountViewBuilder<Empty, S>
impl<S: BosStr> AccountViewBuilder<Empty, S>
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn deactivated_at(self, value: impl Into<Option<Datetime>>) -> Self
pub fn deactivated_at(self, value: impl Into<Option<Datetime>>) -> Self
Set the deactivatedAt field (optional)
Sourcepub fn maybe_deactivated_at(self, value: Option<Datetime>) -> Self
pub fn maybe_deactivated_at(self, value: Option<Datetime>) -> Self
Set the deactivatedAt field to an Option value (optional)
Source§impl<St, S: BosStr> AccountViewBuilder<St, S>
impl<St, S: BosStr> AccountViewBuilder<St, S>
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn email_confirmed_at(self, value: impl Into<Option<Datetime>>) -> Self
pub fn email_confirmed_at(self, value: impl Into<Option<Datetime>>) -> Self
Set the emailConfirmedAt field (optional)
Sourcepub fn maybe_email_confirmed_at(self, value: Option<Datetime>) -> Self
pub fn maybe_email_confirmed_at(self, value: Option<Datetime>) -> Self
Set the emailConfirmedAt field to an Option value (optional)
Source§impl<St, S: BosStr> AccountViewBuilder<St, S>
impl<St, S: BosStr> AccountViewBuilder<St, S>
Source§impl<St, S: BosStr> AccountViewBuilder<St, S>
impl<St, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn indexed_at(
self,
value: impl Into<Datetime>,
) -> AccountViewBuilder<SetIndexedAt<St>, S>
pub fn indexed_at( self, value: impl Into<Datetime>, ) -> AccountViewBuilder<SetIndexedAt<St>, S>
Set the indexedAt field (required)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn invite_note(self, value: impl Into<Option<S>>) -> Self
pub fn invite_note(self, value: impl Into<Option<S>>) -> Self
Set the inviteNote field (optional)
Sourcepub fn maybe_invite_note(self, value: Option<S>) -> Self
pub fn maybe_invite_note(self, value: Option<S>) -> Self
Set the inviteNote field to an Option value (optional)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn invited_by(self, value: impl Into<Option<InviteCode<S>>>) -> Self
pub fn invited_by(self, value: impl Into<Option<InviteCode<S>>>) -> Self
Set the invitedBy field (optional)
Sourcepub fn maybe_invited_by(self, value: Option<InviteCode<S>>) -> Self
pub fn maybe_invited_by(self, value: Option<InviteCode<S>>) -> Self
Set the invitedBy field to an Option value (optional)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn invites(self, value: impl Into<Option<Vec<InviteCode<S>>>>) -> Self
pub fn invites(self, value: impl Into<Option<Vec<InviteCode<S>>>>) -> Self
Set the invites field (optional)
Sourcepub fn maybe_invites(self, value: Option<Vec<InviteCode<S>>>) -> Self
pub fn maybe_invites(self, value: Option<Vec<InviteCode<S>>>) -> Self
Set the invites field to an Option value (optional)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn invites_disabled(self, value: impl Into<Option<bool>>) -> Self
pub fn invites_disabled(self, value: impl Into<Option<bool>>) -> Self
Set the invitesDisabled field (optional)
Sourcepub fn maybe_invites_disabled(self, value: Option<bool>) -> Self
pub fn maybe_invites_disabled(self, value: Option<bool>) -> Self
Set the invitesDisabled field to an Option value (optional)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Set the relatedRecords field (optional)
Set the relatedRecords field to an Option value (optional)
Source§impl<St: State, S: BosStr> AccountViewBuilder<St, S>
impl<St: State, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn threat_signatures(
self,
value: impl Into<Option<Vec<ThreatSignature<S>>>>,
) -> Self
pub fn threat_signatures( self, value: impl Into<Option<Vec<ThreatSignature<S>>>>, ) -> Self
Set the threatSignatures field (optional)
Sourcepub fn maybe_threat_signatures(
self,
value: Option<Vec<ThreatSignature<S>>>,
) -> Self
pub fn maybe_threat_signatures( self, value: Option<Vec<ThreatSignature<S>>>, ) -> Self
Set the threatSignatures field to an Option value (optional)
Source§impl<St, S: BosStr> AccountViewBuilder<St, S>
impl<St, S: BosStr> AccountViewBuilder<St, S>
Sourcepub fn build(self) -> AccountView<S>
pub fn build(self) -> AccountView<S>
Build the final struct.
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<S>>,
) -> AccountView<S>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<S>>, ) -> AccountView<S>
Build the final struct with custom extra_data.