pub enum ClaimBody {
Statement {
path: String,
value: Val,
},
AddSharedSecretRecipient {
secret_kind: String,
recipient: RecipientID,
},
Permission {
to: SignerID,
permitted: PermissionKind,
as_of: MsSinceEpoch,
},
Revocation {
revoked_claim_id: ClaimID,
as_of: MsSinceEpoch,
},
RevealSharedSecret {
secret_kind: String,
key_id: KeyID,
encrypted_per_recipient: HashMap<RecipientID, EncrFromAnon<KeySecret>>,
},
EntrustToSharedSecret {
secret_kind: String,
entrusted_secret_name: String,
for_key_id: KeyID,
encrypted: Encrypted<Val>,
},
TimeWitness {},
InheritFrom {
parent: ScopeID,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClaimBody
impl<'de> Deserialize<'de> for ClaimBody
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
impl Eq for ClaimBody
impl StructuralPartialEq for ClaimBody
Auto Trait Implementations§
impl Freeze for ClaimBody
impl RefUnwindSafe for ClaimBody
impl Send for ClaimBody
impl Sync for ClaimBody
impl Unpin for ClaimBody
impl UnwindSafe for ClaimBody
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