pub enum EnvironmentMutationResult {
Attachment(EnvironmentAttachmentMutationResult),
Mount(EnvironmentMountMutationResult),
}Expand description
Typed payload stored in the shared environment idempotency namespace.
Variants§
Attachment(EnvironmentAttachmentMutationResult)
Attachment attach/detach result.
Mount(EnvironmentMountMutationResult)
Resource mount/unmount result.
Trait Implementations§
Source§impl Clone for EnvironmentMutationResult
impl Clone for EnvironmentMutationResult
Source§fn clone(&self) -> EnvironmentMutationResult
fn clone(&self) -> EnvironmentMutationResult
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 EnvironmentMutationResult
impl Debug for EnvironmentMutationResult
Source§impl<'de> Deserialize<'de> for EnvironmentMutationResult
impl<'de> Deserialize<'de> for EnvironmentMutationResult
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 EnvironmentMutationResult
impl StructuralPartialEq for EnvironmentMutationResult
Source§impl VersionedRecord for EnvironmentMutationResult
impl VersionedRecord for EnvironmentMutationResult
Source§const SCHEMA: &'static str = "starweaver.session.environment_mutation_result"
const SCHEMA: &'static str = "starweaver.session.environment_mutation_result"
Stable schema identifier.
Source§const ALLOW_BARE_V0: bool = false
const ALLOW_BARE_V0: bool = false
Whether this record explicitly accepts a previous bare-JSON v0 shape.
Source§fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_version(
version: u32,
payload: Value,
) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode one enveloped payload version. Read more
Source§fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
fn decode_bare_v0(payload: Value) -> Result<Self, VersionedRecordError>where
Self: DeserializeOwned,
Decode the explicitly supported bare-JSON v0 shape. Read more
Auto Trait Implementations§
impl Freeze for EnvironmentMutationResult
impl RefUnwindSafe for EnvironmentMutationResult
impl Send for EnvironmentMutationResult
impl Sync for EnvironmentMutationResult
impl Unpin for EnvironmentMutationResult
impl UnsafeUnpin for EnvironmentMutationResult
impl UnwindSafe for EnvironmentMutationResult
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