Struct credo::Credential
source · pub struct Credential {
pub for_accepting_secrets: Rc<RecipientSecret>,
pub for_making_claims: Rc<SignerSecret>,
}
Fields§
§for_accepting_secrets: Rc<RecipientSecret>
§for_making_claims: Rc<SignerSecret>
Implementations§
source§impl Credential
impl Credential
pub fn new_random() -> Self
Trait Implementations§
source§impl Clone for Credential
impl Clone for Credential
source§fn clone(&self) -> Credential
fn clone(&self) -> Credential
Returns a copy 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<'de> Deserialize<'de> for Credential
impl<'de> Deserialize<'de> for Credential
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