pub struct EnvironmentIdempotencyRecord {Show 13 fields
pub id: String,
pub scope: ResourceScope,
pub action: String,
pub key_hash: String,
pub request_hash: String,
pub resource_id: Option<String>,
pub state: EnvironmentIdempotencyState,
pub claim_owner: String,
pub claim_expires_at_ms: u64,
pub attempt: u32,
pub result_json: Option<String>,
pub started_at_ms: u64,
pub completed_at_ms: Option<u64>,
}Fields§
§id: String§scope: ResourceScope§action: String§key_hash: StringSHA-256 of the caller-provided key; the key itself is never persisted.
request_hash: String§resource_id: Option<String>§state: EnvironmentIdempotencyState§claim_owner: StringRuntime instance currently allowed to enter Provider I/O.
claim_expires_at_ms: u64A dead instance can be taken over only after this lease expires.
attempt: u32§result_json: Option<String>§started_at_ms: u64§completed_at_ms: Option<u64>Trait Implementations§
Source§impl Clone for EnvironmentIdempotencyRecord
impl Clone for EnvironmentIdempotencyRecord
Source§fn clone(&self) -> EnvironmentIdempotencyRecord
fn clone(&self) -> EnvironmentIdempotencyRecord
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 moreSource§impl Debug for EnvironmentIdempotencyRecord
impl Debug for EnvironmentIdempotencyRecord
Source§impl<'de> Deserialize<'de> for EnvironmentIdempotencyRecord
impl<'de> Deserialize<'de> for EnvironmentIdempotencyRecord
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 EnvironmentIdempotencyRecord
impl StructuralPartialEq for EnvironmentIdempotencyRecord
Auto Trait Implementations§
impl Freeze for EnvironmentIdempotencyRecord
impl RefUnwindSafe for EnvironmentIdempotencyRecord
impl Send for EnvironmentIdempotencyRecord
impl Sync for EnvironmentIdempotencyRecord
impl Unpin for EnvironmentIdempotencyRecord
impl UnsafeUnpin for EnvironmentIdempotencyRecord
impl UnwindSafe for EnvironmentIdempotencyRecord
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