pub struct AccountAttributes<'a> {
pub kind: Option<&'a str>,
pub handle: Option<&'a str>,
pub depth: Option<u32>,
}Expand description
What the gate knows about the account beyond its DID. Each is absent
when the gate does not carry it, and a statement guards it with has.
Fields§
§kind: Option<&'a str>The account’s kind, as its registration spells it.
handle: Option<&'a str>The account’s handle.
depth: Option<u32>Edges between the account and the deployment’s operator: 1 for an account the operator runs directly.
Trait Implementations§
Source§impl<'a> Clone for AccountAttributes<'a>
impl<'a> Clone for AccountAttributes<'a>
Source§fn clone(&self) -> AccountAttributes<'a>
fn clone(&self) -> AccountAttributes<'a>
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<'a> Debug for AccountAttributes<'a>
impl<'a> Debug for AccountAttributes<'a>
Source§impl<'a> Default for AccountAttributes<'a>
impl<'a> Default for AccountAttributes<'a>
Source§fn default() -> AccountAttributes<'a>
fn default() -> AccountAttributes<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for AccountAttributes<'a>
impl<'a> PartialEq for AccountAttributes<'a>
Source§fn eq(&self, other: &AccountAttributes<'a>) -> bool
fn eq(&self, other: &AccountAttributes<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for AccountAttributes<'a>
impl<'a> Eq for AccountAttributes<'a>
impl<'a> StructuralPartialEq for AccountAttributes<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccountAttributes<'a>
impl<'a> RefUnwindSafe for AccountAttributes<'a>
impl<'a> Send for AccountAttributes<'a>
impl<'a> Sync for AccountAttributes<'a>
impl<'a> Unpin for AccountAttributes<'a>
impl<'a> UnsafeUnpin for AccountAttributes<'a>
impl<'a> UnwindSafe for AccountAttributes<'a>
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more