pub struct EventContract {Show 18 fields
pub kind: String,
pub schema_version: String,
pub id: String,
pub namespace: String,
pub name: String,
pub version: String,
pub lifecycle: Lifecycle,
pub owner: Owner,
pub summary: String,
pub description: String,
pub payload: EventPayload,
pub classification: EventClassification,
pub publishers: Vec<CapabilityReference>,
pub subscribers: Vec<CapabilityReference>,
pub policies: Vec<IdReference>,
pub tags: Vec<String>,
pub provenance: EventProvenance,
pub evidence: Vec<EventValidationEvidence>,
}Fields§
§kind: String§schema_version: String§id: String§namespace: String§name: String§version: String§lifecycle: Lifecycle§owner: Owner§summary: String§description: String§payload: EventPayload§classification: EventClassification§publishers: Vec<CapabilityReference>§subscribers: Vec<CapabilityReference>§policies: Vec<IdReference>§provenance: EventProvenance§evidence: Vec<EventValidationEvidence>Trait Implementations§
Source§impl Clone for EventContract
impl Clone for EventContract
Source§fn clone(&self) -> EventContract
fn clone(&self) -> EventContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventContract
impl Debug for EventContract
Source§impl<'de> Deserialize<'de> for EventContract
impl<'de> Deserialize<'de> for EventContract
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 EventContract
Source§impl PartialEq for EventContract
impl PartialEq for EventContract
Source§impl Serialize for EventContract
impl Serialize for EventContract
impl StructuralPartialEq for EventContract
Auto Trait Implementations§
impl Freeze for EventContract
impl RefUnwindSafe for EventContract
impl Send for EventContract
impl Sync for EventContract
impl Unpin for EventContract
impl UnsafeUnpin for EventContract
impl UnwindSafe for EventContract
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