pub enum AnchorValidationRequirement {
NotApplicable,
HashLineRequired,
}Expand description
Enumerates the finite anchor validation requirement cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
NotApplicable
Use this variant when the contract needs to represent not applicable; selecting it has no side effect by itself.
HashLineRequired
Use this variant when the contract needs to represent hash line required; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for AnchorValidationRequirement
impl Clone for AnchorValidationRequirement
Source§fn clone(&self) -> AnchorValidationRequirement
fn clone(&self) -> AnchorValidationRequirement
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 AnchorValidationRequirement
impl Debug for AnchorValidationRequirement
Source§impl<'de> Deserialize<'de> for AnchorValidationRequirement
impl<'de> Deserialize<'de> for AnchorValidationRequirement
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 PartialEq for AnchorValidationRequirement
impl PartialEq for AnchorValidationRequirement
Source§fn eq(&self, other: &AnchorValidationRequirement) -> bool
fn eq(&self, other: &AnchorValidationRequirement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AnchorValidationRequirement
impl StructuralPartialEq for AnchorValidationRequirement
Auto Trait Implementations§
impl Freeze for AnchorValidationRequirement
impl RefUnwindSafe for AnchorValidationRequirement
impl Send for AnchorValidationRequirement
impl Sync for AnchorValidationRequirement
impl Unpin for AnchorValidationRequirement
impl UnsafeUnpin for AnchorValidationRequirement
impl UnwindSafe for AnchorValidationRequirement
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