pub struct Builder<T>(/* private fields */);
Expand description
A builder for ManualCheckEvaluation
Implementations§
Source§impl Builder<RidStage>
impl Builder<RidStage>
Sourcepub fn rid(self, rid: ManualCheckEvaluationRid) -> Builder<CheckRidStage>
pub fn rid(self, rid: ManualCheckEvaluationRid) -> Builder<CheckRidStage>
Sets the rid
field.
Source§impl Builder<CheckRidStage>
impl Builder<CheckRidStage>
Sourcepub fn check_rid(self, check_rid: CheckRid) -> Builder<DataReviewRidStage>
pub fn check_rid(self, check_rid: CheckRid) -> Builder<DataReviewRidStage>
Sets the check_rid
field.
Source§impl Builder<DataReviewRidStage>
impl Builder<DataReviewRidStage>
Sourcepub fn data_review_rid(
self,
data_review_rid: DataReviewRid,
) -> Builder<StateStage>
pub fn data_review_rid( self, data_review_rid: DataReviewRid, ) -> Builder<StateStage>
Sets the data_review_rid
field.
Source§impl Builder<StateStage>
impl Builder<StateStage>
Sourcepub fn state(self, state: ManualCheckEvaluationState) -> Builder<Complete>
pub fn state(self, state: ManualCheckEvaluationState) -> Builder<Complete>
Sets the state
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn rid(self, rid: ManualCheckEvaluationRid) -> Self
pub fn rid(self, rid: ManualCheckEvaluationRid) -> Self
Sets the rid
field.
Sourcepub fn data_review_rid(self, data_review_rid: DataReviewRid) -> Self
pub fn data_review_rid(self, data_review_rid: DataReviewRid) -> Self
Sets the data_review_rid
field.
Sourcepub fn state(self, state: ManualCheckEvaluationState) -> Self
pub fn state(self, state: ManualCheckEvaluationState) -> Self
Sets the state
field.
Sourcepub fn insert_assignee_rids(self, assignee_rids: UserRid) -> Self
pub fn insert_assignee_rids(self, assignee_rids: UserRid) -> Self
Adds a value to the assignee_rids
field.
Sourcepub fn assignee_rids(
self,
assignee_rids: impl IntoIterator<Item = UserRid>,
) -> Self
pub fn assignee_rids( self, assignee_rids: impl IntoIterator<Item = UserRid>, ) -> Self
Sets the assignee_rids
field.
Sourcepub fn extend_assignee_rids(
self,
assignee_rids: impl IntoIterator<Item = UserRid>,
) -> Self
pub fn extend_assignee_rids( self, assignee_rids: impl IntoIterator<Item = UserRid>, ) -> Self
Adds values to the assignee_rids
field.
Sourcepub fn chart(self, chart: impl Into<Option<VersionedVizId>>) -> Self
pub fn chart(self, chart: impl Into<Option<VersionedVizId>>) -> Self
Sets the chart
field.
Sourcepub fn notebook(self, notebook: impl Into<Option<NotebookRid>>) -> Self
pub fn notebook(self, notebook: impl Into<Option<NotebookRid>>) -> Self
Sets the notebook
field.
Sourcepub fn build(self) -> ManualCheckEvaluation
pub fn build(self) -> ManualCheckEvaluation
Consumes the builder, returning a ManualCheckEvaluation
.
Trait Implementations§
Source§impl From<ManualCheckEvaluation> for Builder<Complete>
impl From<ManualCheckEvaluation> for Builder<Complete>
Source§fn from(v: ManualCheckEvaluation) -> Self
fn from(v: ManualCheckEvaluation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: UnwindSafe,
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request