pub struct AccountViewBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> AccountViewBuilder<'a, Empty>
impl<'a> AccountViewBuilder<'a, Empty>
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, 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<'a, S> AccountViewBuilder<'a, S>
impl<'a, S> AccountViewBuilder<'a, S>
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, 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<'a, S> AccountViewBuilder<'a, S>
impl<'a, S> AccountViewBuilder<'a, S>
Source§impl<'a, S> AccountViewBuilder<'a, S>
impl<'a, S> AccountViewBuilder<'a, S>
Sourcepub fn indexed_at(
self,
value: impl Into<Datetime>,
) -> AccountViewBuilder<'a, SetIndexedAt<S>>
pub fn indexed_at( self, value: impl Into<Datetime>, ) -> AccountViewBuilder<'a, SetIndexedAt<S>>
Set the indexedAt field (required)
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Sourcepub fn invite_note(self, value: impl Into<Option<CowStr<'a>>>) -> Self
pub fn invite_note(self, value: impl Into<Option<CowStr<'a>>>) -> Self
Set the inviteNote field (optional)
Sourcepub fn maybe_invite_note(self, value: Option<CowStr<'a>>) -> Self
pub fn maybe_invite_note(self, value: Option<CowStr<'a>>) -> Self
Set the inviteNote field to an Option value (optional)
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Sourcepub fn invited_by(self, value: impl Into<Option<InviteCode<'a>>>) -> Self
pub fn invited_by(self, value: impl Into<Option<InviteCode<'a>>>) -> Self
Set the invitedBy field (optional)
Sourcepub fn maybe_invited_by(self, value: Option<InviteCode<'a>>) -> Self
pub fn maybe_invited_by(self, value: Option<InviteCode<'a>>) -> Self
Set the invitedBy field to an Option value (optional)
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Sourcepub fn invites(self, value: impl Into<Option<Vec<InviteCode<'a>>>>) -> Self
pub fn invites(self, value: impl Into<Option<Vec<InviteCode<'a>>>>) -> Self
Set the invites field (optional)
Sourcepub fn maybe_invites(self, value: Option<Vec<InviteCode<'a>>>) -> Self
pub fn maybe_invites(self, value: Option<Vec<InviteCode<'a>>>) -> Self
Set the invites field to an Option value (optional)
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, 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<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Set the relatedRecords field (optional)
Set the relatedRecords field to an Option value (optional)
Source§impl<'a, S: State> AccountViewBuilder<'a, S>
impl<'a, S: State> AccountViewBuilder<'a, S>
Sourcepub fn threat_signatures(
self,
value: impl Into<Option<Vec<ThreatSignature<'a>>>>,
) -> Self
pub fn threat_signatures( self, value: impl Into<Option<Vec<ThreatSignature<'a>>>>, ) -> Self
Set the threatSignatures field (optional)
Sourcepub fn maybe_threat_signatures(
self,
value: Option<Vec<ThreatSignature<'a>>>,
) -> Self
pub fn maybe_threat_signatures( self, value: Option<Vec<ThreatSignature<'a>>>, ) -> Self
Set the threatSignatures field to an Option value (optional)
Source§impl<'a, S> AccountViewBuilder<'a, S>
impl<'a, S> AccountViewBuilder<'a, S>
Sourcepub fn build(self) -> AccountView<'a>
pub fn build(self) -> AccountView<'a>
Build the final struct
Sourcepub fn build_with_data(
self,
extra_data: BTreeMap<SmolStr, Data<'a>>,
) -> AccountView<'a>
pub fn build_with_data( self, extra_data: BTreeMap<SmolStr, Data<'a>>, ) -> AccountView<'a>
Build the final struct with custom extra_data