pub struct OptionalAccountStrategyDirective {
pub strategy: InstructionOptionalAccountStrategy,
}Fields§
§strategy: InstructionOptionalAccountStrategyImplementations§
Trait Implementations§
Source§impl Clone for OptionalAccountStrategyDirective
impl Clone for OptionalAccountStrategyDirective
Source§fn clone(&self) -> OptionalAccountStrategyDirective
fn clone(&self) -> OptionalAccountStrategyDirective
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<OptionalAccountStrategyDirective> for CodamaDirective
impl From<OptionalAccountStrategyDirective> for CodamaDirective
Source§fn from(value: OptionalAccountStrategyDirective) -> Self
fn from(value: OptionalAccountStrategyDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OptionalAccountStrategyDirective
impl PartialEq for OptionalAccountStrategyDirective
Source§fn eq(&self, other: &OptionalAccountStrategyDirective) -> bool
fn eq(&self, other: &OptionalAccountStrategyDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a OptionalAccountStrategyDirective
impl<'a> TryFrom<&'a Attribute<'a>> for &'a OptionalAccountStrategyDirective
Source§impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a OptionalAccountStrategyDirective
impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a OptionalAccountStrategyDirective
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl Copy for OptionalAccountStrategyDirective
impl Eq for OptionalAccountStrategyDirective
impl StructuralPartialEq for OptionalAccountStrategyDirective
Auto Trait Implementations§
impl Freeze for OptionalAccountStrategyDirective
impl RefUnwindSafe for OptionalAccountStrategyDirective
impl Send for OptionalAccountStrategyDirective
impl Sync for OptionalAccountStrategyDirective
impl Unpin for OptionalAccountStrategyDirective
impl UnsafeUnpin for OptionalAccountStrategyDirective
impl UnwindSafe for OptionalAccountStrategyDirective
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.