pub struct LocalIdentity {
pub did: String,
pub public_key: String,
pub secret_key: String,
pub registry_url: String,
}Fields§
§did: String§public_key: String§secret_key: String§registry_url: StringImplementations§
Source§impl LocalIdentity
impl LocalIdentity
Sourcepub fn public_view(&self) -> PublicIdentityView
pub fn public_view(&self) -> PublicIdentityView
TODO(clawdentity): document public_view.
Trait Implementations§
Source§impl Clone for LocalIdentity
impl Clone for LocalIdentity
Source§fn clone(&self) -> LocalIdentity
fn clone(&self) -> LocalIdentity
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 LocalIdentity
impl Debug for LocalIdentity
Source§impl<'de> Deserialize<'de> for LocalIdentity
impl<'de> Deserialize<'de> for LocalIdentity
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
Source§impl PartialEq for LocalIdentity
impl PartialEq for LocalIdentity
Source§impl Serialize for LocalIdentity
impl Serialize for LocalIdentity
impl Eq for LocalIdentity
impl StructuralPartialEq for LocalIdentity
Auto Trait Implementations§
impl Freeze for LocalIdentity
impl RefUnwindSafe for LocalIdentity
impl Send for LocalIdentity
impl Sync for LocalIdentity
impl Unpin for LocalIdentity
impl UnsafeUnpin for LocalIdentity
impl UnwindSafe for LocalIdentity
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