pub enum ContentResolutionPurpose {
ContextProjection,
OutputValidation,
OutputDelivery,
Replay,
HostInspection,
}Expand description
Enumerates the finite content resolution purpose cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
ContextProjection
Use this variant when the contract needs to represent context projection; selecting it has no side effect by itself.
OutputValidation
Use this variant when the contract needs to represent output validation; selecting it has no side effect by itself.
OutputDelivery
Use this variant when the contract needs to represent output delivery; selecting it has no side effect by itself.
Replay
Use this variant when the contract needs to represent replay; selecting it has no side effect by itself.
HostInspection
Use this variant when the contract needs to represent host inspection; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ContentResolutionPurpose
impl Clone for ContentResolutionPurpose
Source§fn clone(&self) -> ContentResolutionPurpose
fn clone(&self) -> ContentResolutionPurpose
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 ContentResolutionPurpose
impl Debug for ContentResolutionPurpose
Source§impl<'de> Deserialize<'de> for ContentResolutionPurpose
impl<'de> Deserialize<'de> for ContentResolutionPurpose
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 ContentResolutionPurpose
Source§impl PartialEq for ContentResolutionPurpose
impl PartialEq for ContentResolutionPurpose
Source§fn eq(&self, other: &ContentResolutionPurpose) -> bool
fn eq(&self, other: &ContentResolutionPurpose) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContentResolutionPurpose
impl Serialize for ContentResolutionPurpose
impl StructuralPartialEq for ContentResolutionPurpose
Auto Trait Implementations§
impl Freeze for ContentResolutionPurpose
impl RefUnwindSafe for ContentResolutionPurpose
impl Send for ContentResolutionPurpose
impl Sync for ContentResolutionPurpose
impl Unpin for ContentResolutionPurpose
impl UnsafeUnpin for ContentResolutionPurpose
impl UnwindSafe for ContentResolutionPurpose
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