pub struct EndorsementStatement {
pub type_: String,
pub timestamp: String,
pub endorser: String,
pub subject: SubjectRef,
pub kind: String,
pub rationale: Option<String>,
pub expires_at: Option<String>,
pub policy_ref: Option<String>,
pub meta: Option<Value>,
}Expand description
Records that a signer asserts confidence about an existing artifact.
Used for post-hoc validation, compliance sign-off, countersignatures.
Fields§
§type_: String§timestamp: String§endorser: StringDID-style endorser URI
subject: SubjectRef§kind: StringEndorsement category: “validation”, “compliance”, “countersignature”, “review”, or any custom string.
rationale: Option<String>§expires_at: Option<String>§policy_ref: Option<String>§meta: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for EndorsementStatement
impl Clone for EndorsementStatement
Source§fn clone(&self) -> EndorsementStatement
fn clone(&self) -> EndorsementStatement
Returns a duplicate 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 EndorsementStatement
impl Debug for EndorsementStatement
Source§impl<'de> Deserialize<'de> for EndorsementStatement
impl<'de> Deserialize<'de> for EndorsementStatement
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
Auto Trait Implementations§
impl Freeze for EndorsementStatement
impl RefUnwindSafe for EndorsementStatement
impl Send for EndorsementStatement
impl Sync for EndorsementStatement
impl Unpin for EndorsementStatement
impl UnsafeUnpin for EndorsementStatement
impl UnwindSafe for EndorsementStatement
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