pub struct Operation {Show 14 fields
pub cancellable: bool,
pub created_at: DateTime,
pub detail: Option<BTreeMap<String, Value>>,
pub ended_at: Option<DateTime>,
pub error: Option<OperationError>,
pub operation_id: String,
pub project_id: String,
pub reason: Option<OperationReason>,
pub resource_id: Option<String>,
pub resource_type: String,
pub started_at: Option<DateTime>,
pub state: OperationState,
pub type: OperationType,
pub updated_at: DateTime,
}Fields§
§cancellable: bool§created_at: DateTime§detail: Option<BTreeMap<String, Value>>§ended_at: Option<DateTime>§error: Option<OperationError>§operation_id: String§project_id: String§reason: Option<OperationReason>§resource_id: Option<String>§resource_type: String§started_at: Option<DateTime>§state: OperationState§type: OperationType§updated_at: DateTimeImplementations§
Source§impl<'de> Operation
impl<'de> Operation
pub fn deserialize<__D>(__deserializer: __D) -> Result<Operation, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Operation
impl<'de> Deserialize<'de> for Operation
Source§fn 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
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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