pub struct Wallet {
pub signer: Option<Signer>,
pub verifier: Option<Verifier>,
pub verifier_flo: Option<FloVerifier>,
pub badge_condition: Option<Condition>,
pub badge: Option<BadgeCond>,
pub badge_flo: Option<FloBadge>,
pub realm: Option<FloRealm>,
/* private fields */
}Fields§
§signer: Option<Signer>§verifier: Option<Verifier>§verifier_flo: Option<FloVerifier>§badge_condition: Option<Condition>§badge: Option<BadgeCond>§badge_flo: Option<FloBadge>§realm: Option<FloRealm>Implementations§
Source§impl Wallet
impl Wallet
pub fn new() -> Self
pub fn get_signer(&mut self) -> Signer
pub fn get_verifier(&mut self) -> Verifier
pub fn get_verifier_flo(&mut self) -> FloVerifier
pub fn get_badge_cond(&mut self) -> Condition
pub fn get_badge(&mut self) -> BadgeCond
pub fn get_badge_flo(&mut self) -> FloBadge
pub fn create_realm( &mut self, name: &str, max_space: u64, max_flo_size: u32, ) -> FloRealm
pub fn get_realm(&mut self) -> FloRealm
pub fn set_realm_id(&mut self, realm_id: RealmID)
pub fn store( &mut self, dht_storage: &mut Broker<DHTStorageIn, DHTStorageOut>, ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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