#[non_exhaustive]pub struct PrepareAgentOutput {
pub agent_id: String,
pub agent_status: AgentStatus,
pub agent_version: String,
pub prepared_at: DateTime,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.agent_id: String
The unique identifier of the agent for which the DRAFT
version was created.
agent_status: AgentStatus
The status of the DRAFT
version and whether it is ready for use.
agent_version: String
The version of the agent.
prepared_at: DateTime
The time at which the DRAFT
version of the agent was last prepared.
Implementations§
source§impl PrepareAgentOutput
impl PrepareAgentOutput
sourcepub fn agent_id(&self) -> &str
pub fn agent_id(&self) -> &str
The unique identifier of the agent for which the DRAFT
version was created.
sourcepub fn agent_status(&self) -> &AgentStatus
pub fn agent_status(&self) -> &AgentStatus
The status of the DRAFT
version and whether it is ready for use.
sourcepub fn agent_version(&self) -> &str
pub fn agent_version(&self) -> &str
The version of the agent.
sourcepub fn prepared_at(&self) -> &DateTime
pub fn prepared_at(&self) -> &DateTime
The time at which the DRAFT
version of the agent was last prepared.
source§impl PrepareAgentOutput
impl PrepareAgentOutput
sourcepub fn builder() -> PrepareAgentOutputBuilder
pub fn builder() -> PrepareAgentOutputBuilder
Creates a new builder-style object to manufacture PrepareAgentOutput
.
Trait Implementations§
source§impl Clone for PrepareAgentOutput
impl Clone for PrepareAgentOutput
source§fn clone(&self) -> PrepareAgentOutput
fn clone(&self) -> PrepareAgentOutput
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 PrepareAgentOutput
impl Debug for PrepareAgentOutput
source§impl PartialEq for PrepareAgentOutput
impl PartialEq for PrepareAgentOutput
source§fn eq(&self, other: &PrepareAgentOutput) -> bool
fn eq(&self, other: &PrepareAgentOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PrepareAgentOutput
impl RequestId for PrepareAgentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for PrepareAgentOutput
Auto Trait Implementations§
impl Freeze for PrepareAgentOutput
impl RefUnwindSafe for PrepareAgentOutput
impl Send for PrepareAgentOutput
impl Sync for PrepareAgentOutput
impl Unpin for PrepareAgentOutput
impl UnwindSafe for PrepareAgentOutput
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> 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.