Struct lpl_token_auth_rules::state::RuleSetRevisionMapV1
source · pub struct RuleSetRevisionMapV1 {
pub rule_set_revisions: Vec<usize>,
}
Expand description
Revision map used to keep track of where individual RuleSet
revisions are stored in the PDA.
See top-level module for description of PDA memory layout.
Fields§
§rule_set_revisions: Vec<usize>
Vec
used to map a RuleSet
revision number to its location in the PDA.
Trait Implementations§
source§impl BorshDeserialize for RuleSetRevisionMapV1where
Vec<usize>: BorshDeserialize,
impl BorshDeserialize for RuleSetRevisionMapV1where Vec<usize>: BorshDeserialize,
source§impl BorshSerialize for RuleSetRevisionMapV1where
Vec<usize>: BorshSerialize,
impl BorshSerialize for RuleSetRevisionMapV1where Vec<usize>: BorshSerialize,
source§impl Clone for RuleSetRevisionMapV1
impl Clone for RuleSetRevisionMapV1
source§fn clone(&self) -> RuleSetRevisionMapV1
fn clone(&self) -> RuleSetRevisionMapV1
Returns a copy 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 Debug for RuleSetRevisionMapV1
impl Debug for RuleSetRevisionMapV1
source§impl Default for RuleSetRevisionMapV1
impl Default for RuleSetRevisionMapV1
source§fn default() -> RuleSetRevisionMapV1
fn default() -> RuleSetRevisionMapV1
Returns the “default value” for a type. Read more
source§impl PartialEq<RuleSetRevisionMapV1> for RuleSetRevisionMapV1
impl PartialEq<RuleSetRevisionMapV1> for RuleSetRevisionMapV1
source§fn eq(&self, other: &RuleSetRevisionMapV1) -> bool
fn eq(&self, other: &RuleSetRevisionMapV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.