pub struct FixtureRoot {
pub pair: KeyPair,
pub public: [u8; 32],
}Expand description
A fixture root: the key pair and the public half as the vault reports it.
Fields§
§pair: KeyPair§public: [u8; 32]Implementations§
Source§impl FixtureRoot
impl FixtureRoot
pub fn public_key_hex(&self) -> String
pub fn key_id(&self) -> String
Sourcepub fn account_public(&self) -> String
pub fn account_public(&self) -> String
The root as an account nkey (A...), the form a JWT names its issuer in.
Trait Implementations§
Auto Trait Implementations§
impl Forget for FixtureRoot
impl Freeze for FixtureRoot
impl Move for FixtureRoot
impl RefUnwindSafe for FixtureRoot
impl Send for FixtureRoot
impl Sync for FixtureRoot
impl Unpin for FixtureRoot
impl UnsafeUnpin for FixtureRoot
impl UnwindSafe for FixtureRoot
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