pub struct Operation {Show 15 fields
pub id: String,
pub deployment_id: String,
pub state: OperationState,
pub phase: DeploymentPhase,
pub attempt: i64,
pub lease_owner: Option<String>,
pub lease_deadline: Option<String>,
pub fencing_token: i64,
pub provider_external_id: String,
pub version: i64,
pub created_at: String,
pub started_at: Option<String>,
pub finished_at: Option<String>,
pub next_poll_after_ms: Option<u64>,
pub error_code: Option<String>,
}Fields§
§id: String§deployment_id: String§state: OperationState§phase: DeploymentPhase§attempt: i64§lease_owner: Option<String>§lease_deadline: Option<String>§fencing_token: i64§provider_external_id: String§version: i64§created_at: String§started_at: Option<String>§finished_at: Option<String>§next_poll_after_ms: Option<u64>§error_code: Option<String>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
impl Eq for Operation
impl StructuralPartialEq for Operation
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