#[non_exhaustive]pub struct SyncBlockerSummaryBuilder { /* private fields */ }
Expand description
A builder for SyncBlockerSummary
.
Implementations§
source§impl SyncBlockerSummaryBuilder
impl SyncBlockerSummaryBuilder
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The resource name for sync blocker summary.
This field is required.sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The resource name for sync blocker summary.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
The resource name for sync blocker summary.
sourcepub fn parent_resource_name(self, input: impl Into<String>) -> Self
pub fn parent_resource_name(self, input: impl Into<String>) -> Self
The parent resource name for a sync blocker summary.
sourcepub fn set_parent_resource_name(self, input: Option<String>) -> Self
pub fn set_parent_resource_name(self, input: Option<String>) -> Self
The parent resource name for a sync blocker summary.
sourcepub fn get_parent_resource_name(&self) -> &Option<String>
pub fn get_parent_resource_name(&self) -> &Option<String>
The parent resource name for a sync blocker summary.
sourcepub fn latest_blockers(self, input: SyncBlocker) -> Self
pub fn latest_blockers(self, input: SyncBlocker) -> Self
Appends an item to latest_blockers
.
To override the contents of this collection use set_latest_blockers
.
The latest events for a sync blocker summary.
sourcepub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
pub fn set_latest_blockers(self, input: Option<Vec<SyncBlocker>>) -> Self
The latest events for a sync blocker summary.
sourcepub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
pub fn get_latest_blockers(&self) -> &Option<Vec<SyncBlocker>>
The latest events for a sync blocker summary.
sourcepub fn build(self) -> Result<SyncBlockerSummary, BuildError>
pub fn build(self) -> Result<SyncBlockerSummary, BuildError>
Consumes the builder and constructs a SyncBlockerSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SyncBlockerSummaryBuilder
impl Clone for SyncBlockerSummaryBuilder
source§fn clone(&self) -> SyncBlockerSummaryBuilder
fn clone(&self) -> SyncBlockerSummaryBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SyncBlockerSummaryBuilder
impl Debug for SyncBlockerSummaryBuilder
source§impl Default for SyncBlockerSummaryBuilder
impl Default for SyncBlockerSummaryBuilder
source§fn default() -> SyncBlockerSummaryBuilder
fn default() -> SyncBlockerSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SyncBlockerSummaryBuilder
impl PartialEq for SyncBlockerSummaryBuilder
source§fn eq(&self, other: &SyncBlockerSummaryBuilder) -> bool
fn eq(&self, other: &SyncBlockerSummaryBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyncBlockerSummaryBuilder
Auto Trait Implementations§
impl Freeze for SyncBlockerSummaryBuilder
impl RefUnwindSafe for SyncBlockerSummaryBuilder
impl Send for SyncBlockerSummaryBuilder
impl Sync for SyncBlockerSummaryBuilder
impl Unpin for SyncBlockerSummaryBuilder
impl UnwindSafe for SyncBlockerSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.