Struct rusoto_lightsail::Operation
source · [−]pub struct Operation {
pub created_at: Option<f64>,
pub error_code: Option<String>,
pub error_details: Option<String>,
pub id: Option<String>,
pub is_terminal: Option<bool>,
pub location: Option<ResourceLocation>,
pub operation_details: Option<String>,
pub operation_type: Option<String>,
pub resource_name: Option<String>,
pub resource_type: Option<String>,
pub status: Option<String>,
pub status_changed_at: Option<f64>,
}
Expand description
Describes the API operation.
Fields
created_at: Option<f64>
The timestamp when the operation was initialized (e.g., 1479816991.349
).
error_code: Option<String>
The error code.
error_details: Option<String>
The error details.
id: Option<String>
The ID of the operation.
is_terminal: Option<bool>
A Boolean value indicating whether the operation is terminal.
location: Option<ResourceLocation>
The AWS Region and Availability Zone.
operation_details: Option<String>
Details about the operation (e.g., Debian-1GB-Ohio-1
).
operation_type: Option<String>
The type of operation.
resource_name: Option<String>
The resource name.
resource_type: Option<String>
The resource type.
status: Option<String>
The status of the operation.
status_changed_at: Option<f64>
The timestamp when the status was changed (e.g., 1479816991.349
).
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Operation
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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