pub struct RotationAttestation {
pub aph_version: String,
pub type: String,
pub id: String,
pub subject: String,
pub predecessor: String,
pub successor: RotationSuccessor,
pub created: String,
pub proof: EnvelopeProof,
}Expand description
RFC 0001 §2.1’s statement, byte-for-byte the published shape. Every member is inside the signed bytes for the reason its §2.2 table states.
Fields§
§aph_version: String"0.2" — the version that declares this statement.
type: StringAlways ROTATION_ATTESTATION_TYPE.
id: StringStable name for THIS statement, so a retraction or an operator’s records can refer to exactly one attestation.
subject: StringThe identity the statement is about.
predecessor: StringThe SPEAKER, as a DID URL including its #kid fragment. A verifier
chains on this value; it is never inferred from where the record was
found.
successor: RotationSuccessorThe key being named.
created: StringOrders two attestations naming the same predecessor.
proof: EnvelopeProof§8.2’s proof block, unchanged — the same shape an envelope carries.
Trait Implementations§
Source§impl Clone for RotationAttestation
impl Clone for RotationAttestation
Source§impl Debug for RotationAttestation
impl Debug for RotationAttestation
Source§impl<'de> Deserialize<'de> for RotationAttestation
impl<'de> Deserialize<'de> for RotationAttestation
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 RotationAttestation
Source§impl PartialEq for RotationAttestation
impl PartialEq for RotationAttestation
Source§impl Serialize for RotationAttestation
impl Serialize for RotationAttestation
impl StructuralPartialEq for RotationAttestation
Auto Trait Implementations§
impl Freeze for RotationAttestation
impl RefUnwindSafe for RotationAttestation
impl Send for RotationAttestation
impl Sync for RotationAttestation
impl Unpin for RotationAttestation
impl UnsafeUnpin for RotationAttestation
impl UnwindSafe for RotationAttestation
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