#[non_exhaustive]pub struct EndorsementRevocation {
pub endorsement_id: String,
pub revocation: RevocationDetail,
pub status_list_index: u32,
}Expand description
Outcome of revoking an endorsement (DELETE /credentials/endorsements/{id})
— which is how a vetter grant is withdrawn.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.endorsement_id: StringThe revoked endorsement’s id.
revocation: RevocationDetailThe credential the revocation applies to, and when.
status_list_index: u32The credential’s index on the community’s revocation status list.
Trait Implementations§
Source§impl Clone for EndorsementRevocation
impl Clone for EndorsementRevocation
Source§impl Debug for EndorsementRevocation
impl Debug for EndorsementRevocation
Source§impl<'de> Deserialize<'de> for EndorsementRevocation
impl<'de> Deserialize<'de> for EndorsementRevocation
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 EndorsementRevocation
impl PartialEq for EndorsementRevocation
Source§impl Serialize for EndorsementRevocation
impl Serialize for EndorsementRevocation
impl StructuralPartialEq for EndorsementRevocation
Auto Trait Implementations§
impl Freeze for EndorsementRevocation
impl RefUnwindSafe for EndorsementRevocation
impl Send for EndorsementRevocation
impl Sync for EndorsementRevocation
impl Unpin for EndorsementRevocation
impl UnsafeUnpin for EndorsementRevocation
impl UnwindSafe for EndorsementRevocation
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