pub enum PolicyState {
Operational,
ClarificationRequested,
RefundAuthorized,
Active,
}Variants§
Operational
ClarificationRequested
RefundAuthorized
Active
Clean slate — used after max/reset to mark an instance ready for reuse.
Trait Implementations§
Source§impl Clone for PolicyState
impl Clone for PolicyState
Source§fn clone(&self) -> PolicyState
fn clone(&self) -> PolicyState
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 PolicyState
impl Debug for PolicyState
Source§impl<'de> Deserialize<'de> for PolicyState
impl<'de> Deserialize<'de> for PolicyState
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 Display for PolicyState
impl Display for PolicyState
impl Eq for PolicyState
Source§impl FromStr for PolicyState
impl FromStr for PolicyState
Source§impl PartialEq for PolicyState
impl PartialEq for PolicyState
Source§fn eq(&self, other: &PolicyState) -> bool
fn eq(&self, other: &PolicyState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PolicyState
impl Serialize for PolicyState
impl StructuralPartialEq for PolicyState
Auto Trait Implementations§
impl Freeze for PolicyState
impl RefUnwindSafe for PolicyState
impl Send for PolicyState
impl Sync for PolicyState
impl Unpin for PolicyState
impl UnsafeUnpin for PolicyState
impl UnwindSafe for PolicyState
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