pub struct RepoViewBuilder<'a, S: State> { /* private fields */ }Expand description
Builder for constructing an instance of this type
Implementations§
Source§impl<'a> RepoViewBuilder<'a, Empty>
impl<'a> RepoViewBuilder<'a, Empty>
Source§impl<'a, S: State> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'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> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Source§impl<'a, S: State> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'a, S>
Source§impl<'a, S> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Source§impl<'a, S> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Sourcepub fn indexed_at(
self,
value: impl Into<Datetime>,
) -> RepoViewBuilder<'a, SetIndexedAt<S>>
pub fn indexed_at( self, value: impl Into<Datetime>, ) -> RepoViewBuilder<'a, SetIndexedAt<S>>
Set the indexedAt field (required)
Source§impl<'a, S: State> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'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> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'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> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'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> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Sourcepub fn moderation(
self,
value: impl Into<Moderation<'a>>,
) -> RepoViewBuilder<'a, SetModeration<S>>
pub fn moderation( self, value: impl Into<Moderation<'a>>, ) -> RepoViewBuilder<'a, SetModeration<S>>
Set the moderation field (required)
Source§impl<'a, S> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Set the relatedRecords field (required)
Source§impl<'a, S: State> RepoViewBuilder<'a, S>
impl<'a, S: State> RepoViewBuilder<'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> RepoViewBuilder<'a, S>
impl<'a, S> RepoViewBuilder<'a, S>
Auto Trait Implementations§
impl<'a, S> !Freeze for RepoViewBuilder<'a, S>
impl<'a, S> RefUnwindSafe for RepoViewBuilder<'a, S>
impl<'a, S> Send for RepoViewBuilder<'a, S>
impl<'a, S> Sync for RepoViewBuilder<'a, S>
impl<'a, S> Unpin for RepoViewBuilder<'a, S>
impl<'a, S> UnsafeUnpin for RepoViewBuilder<'a, S>
impl<'a, S> UnwindSafe for RepoViewBuilder<'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