Struct aws_sdk_wellarchitected::model::MilestoneSummary
source · [−]#[non_exhaustive]pub struct MilestoneSummary {
pub milestone_number: i32,
pub milestone_name: Option<String>,
pub recorded_at: Option<DateTime>,
pub workload_summary: Option<WorkloadSummary>,
}
Expand description
A milestone summary return object.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.milestone_number: i32
The milestone number.
A workload can have a maximum of 100 milestones.
milestone_name: Option<String>
The name of the milestone in a workload.
Milestone names must be unique within a workload.
recorded_at: Option<DateTime>
The date and time recorded.
workload_summary: Option<WorkloadSummary>
A workload summary return object.
Implementations
sourceimpl MilestoneSummary
impl MilestoneSummary
sourcepub fn milestone_number(&self) -> i32
pub fn milestone_number(&self) -> i32
The milestone number.
A workload can have a maximum of 100 milestones.
sourcepub fn milestone_name(&self) -> Option<&str>
pub fn milestone_name(&self) -> Option<&str>
The name of the milestone in a workload.
Milestone names must be unique within a workload.
sourcepub fn recorded_at(&self) -> Option<&DateTime>
pub fn recorded_at(&self) -> Option<&DateTime>
The date and time recorded.
sourcepub fn workload_summary(&self) -> Option<&WorkloadSummary>
pub fn workload_summary(&self) -> Option<&WorkloadSummary>
A workload summary return object.
sourceimpl MilestoneSummary
impl MilestoneSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MilestoneSummary
Trait Implementations
sourceimpl Clone for MilestoneSummary
impl Clone for MilestoneSummary
sourcefn clone(&self) -> MilestoneSummary
fn clone(&self) -> MilestoneSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MilestoneSummary
impl Debug for MilestoneSummary
sourceimpl PartialEq<MilestoneSummary> for MilestoneSummary
impl PartialEq<MilestoneSummary> for MilestoneSummary
sourcefn eq(&self, other: &MilestoneSummary) -> bool
fn eq(&self, other: &MilestoneSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MilestoneSummary) -> bool
fn ne(&self, other: &MilestoneSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for MilestoneSummary
Auto Trait Implementations
impl RefUnwindSafe for MilestoneSummary
impl Send for MilestoneSummary
impl Sync for MilestoneSummary
impl Unpin for MilestoneSummary
impl UnwindSafe for MilestoneSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more