pub enum ResumeInputPolicy {
MatchingEventRefs,
RedactedSummary,
None,
}Expand description
Enumerates the finite resume input policy cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
MatchingEventRefs
Use this variant when the contract needs to represent matching event refs; selecting it has no side effect by itself.
RedactedSummary
Use this variant when the contract needs to represent redacted summary; selecting it has no side effect by itself.
None
Use this variant when the contract needs to represent none; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for ResumeInputPolicy
impl Clone for ResumeInputPolicy
Source§fn clone(&self) -> ResumeInputPolicy
fn clone(&self) -> ResumeInputPolicy
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 ResumeInputPolicy
impl Debug for ResumeInputPolicy
Source§impl<'de> Deserialize<'de> for ResumeInputPolicy
impl<'de> Deserialize<'de> for ResumeInputPolicy
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
Source§impl From<ResumeInputPolicy> for WakeResumeInputPolicyRecord
impl From<ResumeInputPolicy> for WakeResumeInputPolicyRecord
Source§fn from(value: ResumeInputPolicy) -> Self
fn from(value: ResumeInputPolicy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResumeInputPolicy
impl PartialEq for ResumeInputPolicy
Source§fn eq(&self, other: &ResumeInputPolicy) -> bool
fn eq(&self, other: &ResumeInputPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResumeInputPolicy
impl Serialize for ResumeInputPolicy
impl Eq for ResumeInputPolicy
impl StructuralPartialEq for ResumeInputPolicy
Auto Trait Implementations§
impl Freeze for ResumeInputPolicy
impl RefUnwindSafe for ResumeInputPolicy
impl Send for ResumeInputPolicy
impl Sync for ResumeInputPolicy
impl Unpin for ResumeInputPolicy
impl UnsafeUnpin for ResumeInputPolicy
impl UnwindSafe for ResumeInputPolicy
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