pub struct ArtifactCreated {
pub artifact_id: ArtifactId,
pub trajectory_id: TrajectoryId,
pub scope_id: ScopeId,
pub artifact_type: Option<ArtifactType>,
pub name: String,
pub content: String,
pub content_hash: Option<ContentHash>,
pub provenance: Option<Provenance>,
pub ttl: Option<TTL>,
pub metadata: Option<Value>,
}Expand description
Payload for ARTIFACT_CREATED events.
Fields§
§artifact_id: ArtifactId§trajectory_id: TrajectoryId§scope_id: ScopeId§artifact_type: Option<ArtifactType>§name: String§content: String§content_hash: Option<ContentHash>§provenance: Option<Provenance>§ttl: Option<TTL>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for ArtifactCreated
impl Clone for ArtifactCreated
Source§fn clone(&self) -> ArtifactCreated
fn clone(&self) -> ArtifactCreated
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 ArtifactCreated
impl Debug for ArtifactCreated
Source§impl<'de> Deserialize<'de> for ArtifactCreated
impl<'de> Deserialize<'de> for ArtifactCreated
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 EventPayload for ArtifactCreated
impl EventPayload for ArtifactCreated
Auto Trait Implementations§
impl Freeze for ArtifactCreated
impl RefUnwindSafe for ArtifactCreated
impl Send for ArtifactCreated
impl Sync for ArtifactCreated
impl Unpin for ArtifactCreated
impl UnwindSafe for ArtifactCreated
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