pub struct ResourceRequest {
pub request_token: String,
pub type_name: String,
pub identifier: String,
pub operation: OperationType,
pub operation_status: OperationStatus,
pub event_time: DateTime<Utc>,
pub resource_model: Option<String>,
pub status_message: Option<String>,
pub error_code: Option<String>,
}Expand description
Represents a resource operation request.
Fields§
§request_token: StringUnique token identifying this request.
type_name: StringThe type name of the resource.
identifier: StringThe primary identifier for the resource (may be empty for CREATE before completion).
operation: OperationTypeThe operation type.
operation_status: OperationStatusCurrent status of the operation.
event_time: DateTime<Utc>When the request was initiated.
resource_model: Option<String>JSON string representing the resource model after the operation.
status_message: Option<String>Status message for the operation.
error_code: Option<String>Error code if the operation failed.
Trait Implementations§
Source§impl Clone for ResourceRequest
impl Clone for ResourceRequest
Source§fn clone(&self) -> ResourceRequest
fn clone(&self) -> ResourceRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResourceRequest
impl RefUnwindSafe for ResourceRequest
impl Send for ResourceRequest
impl Sync for ResourceRequest
impl Unpin for ResourceRequest
impl UnsafeUnpin for ResourceRequest
impl UnwindSafe for ResourceRequest
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§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.