pub struct ScopeState {
pub valid_claims: ValidClaims,
pub invalid_claims: HashMap<ClaimID, ClaimInvalidReason>,
pub secret_recipients: HashMap<String, BTreeSet<RecipientID>>,
}Fields§
§valid_claims: ValidClaims§invalid_claims: HashMap<ClaimID, ClaimInvalidReason>§secret_recipients: HashMap<String, BTreeSet<RecipientID>>Implementations§
Source§impl ScopeState
impl ScopeState
pub fn secret_state(&self) -> ScopeSecretRecipientState
Trait Implementations§
Source§impl Clone for ScopeState
impl Clone for ScopeState
Source§fn clone(&self) -> ScopeState
fn clone(&self) -> ScopeState
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 Debug for ScopeState
impl Debug for ScopeState
Source§impl<'de> Deserialize<'de> for ScopeState
impl<'de> Deserialize<'de> for ScopeState
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
Auto Trait Implementations§
impl Freeze for ScopeState
impl RefUnwindSafe for ScopeState
impl Send for ScopeState
impl Sync for ScopeState
impl Unpin for ScopeState
impl UnwindSafe for ScopeState
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