pub struct Builder<T>(/* private fields */);
Expand description
A builder for DeprecatedCheckJobSpec
Implementations§
Source§impl Builder<DataReviewRidStage>
impl Builder<DataReviewRidStage>
Sourcepub fn data_review_rid(
self,
data_review_rid: DataReviewRid,
) -> Builder<CheckRidStage>
pub fn data_review_rid( self, data_review_rid: DataReviewRid, ) -> Builder<CheckRidStage>
Sets the data_review_rid
field.
Source§impl Builder<CheckRidStage>
impl Builder<CheckRidStage>
Sourcepub fn check_rid(self, check_rid: CheckRid) -> Builder<CheckEvaluationRidStage>
pub fn check_rid(self, check_rid: CheckRid) -> Builder<CheckEvaluationRidStage>
Sets the check_rid
field.
Source§impl Builder<CheckEvaluationRidStage>
impl Builder<CheckEvaluationRidStage>
Sourcepub fn check_evaluation_rid(
self,
check_evaluation_rid: AutomaticCheckEvaluationRid,
) -> Builder<CheckConditionStage>
pub fn check_evaluation_rid( self, check_evaluation_rid: AutomaticCheckEvaluationRid, ) -> Builder<CheckConditionStage>
Sets the check_evaluation_rid
field.
Source§impl Builder<CheckConditionStage>
impl Builder<CheckConditionStage>
Sourcepub fn check_condition(
self,
check_condition: CheckCondition,
) -> Builder<StartStage>
pub fn check_condition( self, check_condition: CheckCondition, ) -> Builder<StartStage>
Sets the check_condition
field.
Source§impl Builder<StartStage>
impl Builder<StartStage>
Source§impl Builder<EndStage>
impl Builder<EndStage>
Sourcepub fn end(self, end: Timestamp) -> Builder<ContextStage>
pub fn end(self, end: Timestamp) -> Builder<ContextStage>
Sets the end
field.
Source§impl Builder<ContextStage>
impl Builder<ContextStage>
Source§impl Builder<Complete>
impl Builder<Complete>
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 check_evaluation_rid(
self,
check_evaluation_rid: AutomaticCheckEvaluationRid,
) -> Self
pub fn check_evaluation_rid( self, check_evaluation_rid: AutomaticCheckEvaluationRid, ) -> Self
Sets the check_evaluation_rid
field.
Sourcepub fn check_condition(self, check_condition: CheckCondition) -> Self
pub fn check_condition(self, check_condition: CheckCondition) -> Self
Sets the check_condition
field.
Sourcepub fn build(self) -> DeprecatedCheckJobSpec
pub fn build(self) -> DeprecatedCheckJobSpec
Consumes the builder, returning a DeprecatedCheckJobSpec
.
Trait Implementations§
Source§impl Default for Builder<DataReviewRidStage>
impl Default for Builder<DataReviewRidStage>
Source§impl From<DeprecatedCheckJobSpec> for Builder<Complete>
impl From<DeprecatedCheckJobSpec> for Builder<Complete>
Source§fn from(v: DeprecatedCheckJobSpec) -> Self
fn from(v: DeprecatedCheckJobSpec) -> 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