pub struct Builder<T>(/* private fields */);
Expand description
A builder for FindDataReviewsRequest
Implementations§
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn insert_run_rids(self, run_rids: RunRid) -> Self
pub fn insert_run_rids(self, run_rids: RunRid) -> Self
Adds a value to the run_rids
field.
Sourcepub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Sets the run_rids
field.
Sourcepub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
pub fn extend_run_rids(self, run_rids: impl IntoIterator<Item = RunRid>) -> Self
Adds values to the run_rids
field.
Sourcepub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
pub fn insert_asset_rids(self, asset_rids: AssetRid) -> Self
Adds a value to the asset_rids
field.
Sourcepub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
pub fn asset_rids(self, asset_rids: impl IntoIterator<Item = AssetRid>) -> Self
Sets the asset_rids
field.
Sourcepub fn extend_asset_rids(
self,
asset_rids: impl IntoIterator<Item = AssetRid>,
) -> Self
pub fn extend_asset_rids( self, asset_rids: impl IntoIterator<Item = AssetRid>, ) -> Self
Adds values to the asset_rids
field.
Sourcepub fn filter_by_both_runs_and_assets(
self,
filter_by_both_runs_and_assets: impl Into<Option<bool>>,
) -> Self
pub fn filter_by_both_runs_and_assets( self, filter_by_both_runs_and_assets: impl Into<Option<bool>>, ) -> Self
Sets the filter_by_both_runs_and_assets
field.
Sourcepub fn insert_checklist_refs(self, checklist_refs: ChecklistRef) -> Self
pub fn insert_checklist_refs(self, checklist_refs: ChecklistRef) -> Self
Adds a value to the checklist_refs
field.
Sourcepub fn checklist_refs(
self,
checklist_refs: impl IntoIterator<Item = ChecklistRef>,
) -> Self
pub fn checklist_refs( self, checklist_refs: impl IntoIterator<Item = ChecklistRef>, ) -> Self
Sets the checklist_refs
field.
Sourcepub fn extend_checklist_refs(
self,
checklist_refs: impl IntoIterator<Item = ChecklistRef>,
) -> Self
pub fn extend_checklist_refs( self, checklist_refs: impl IntoIterator<Item = ChecklistRef>, ) -> Self
Adds values to the checklist_refs
field.
Sourcepub fn next_page_token(self, next_page_token: impl Into<Option<Token>>) -> Self
pub fn next_page_token(self, next_page_token: impl Into<Option<Token>>) -> Self
Sets the next_page_token
field.
Sourcepub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
pub fn show_archived(self, show_archived: impl Into<Option<bool>>) -> Self
Sets the show_archived
field.
Sourcepub fn archived_statuses(
self,
archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>,
) -> Self
pub fn archived_statuses( self, archived_statuses: impl Into<Option<BTreeSet<ArchivedStatus>>>, ) -> Self
Sets the archived_statuses
field.
Sourcepub fn build(self) -> FindDataReviewsRequest
pub fn build(self) -> FindDataReviewsRequest
Consumes the builder, returning a FindDataReviewsRequest
.
Trait Implementations§
Source§impl From<FindDataReviewsRequest> for Builder<Complete>
impl From<FindDataReviewsRequest> for Builder<Complete>
Source§fn from(v: FindDataReviewsRequest) -> Self
fn from(v: FindDataReviewsRequest) -> 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