Struct noosphere_core::data::RevocationIpld
source · pub struct RevocationIpld {
pub iss: String,
pub revoke: String,
pub challenge: String,
}Expand description
See https://github.com/ucan-wg/spec#66-revocation TODO(ucan-wg/spec#112): Verify the form of this
Fields§
§iss: StringIssuer’s DID
revoke: StringJWT CID of the revoked UCAN (provisionally encoded as base64 URL-safe string)
challenge: StringIssuer’s signature of “REVOKE:{jwt_cid}”, provisionally encoded as unpadded base64 URL-safe string
Implementations§
Trait Implementations§
source§impl Clone for RevocationIpld
impl Clone for RevocationIpld
source§fn clone(&self) -> RevocationIpld
fn clone(&self) -> RevocationIpld
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 Debug for RevocationIpld
impl Debug for RevocationIpld
source§impl<'de> Deserialize<'de> for RevocationIpld
impl<'de> Deserialize<'de> for RevocationIpld
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 Hash for RevocationIpld
impl Hash for RevocationIpld
source§impl PartialEq<RevocationIpld> for RevocationIpld
impl PartialEq<RevocationIpld> for RevocationIpld
source§fn eq(&self, other: &RevocationIpld) -> bool
fn eq(&self, other: &RevocationIpld) -> bool
This method tests for
self and other values to be equal, and is used
by ==.