pub struct LinkedArtifact {
pub artifact_type: String,
pub artifact_id: String,
pub artifact_name: Option<String>,
}Expand description
Linked artifact reference
Fields§
§artifact_type: StringArtifact type (persona, scenario, contract, reality)
artifact_id: StringArtifact ID or path
artifact_name: Option<String>Artifact name (optional)
Trait Implementations§
Source§impl Clone for LinkedArtifact
impl Clone for LinkedArtifact
Source§fn clone(&self) -> LinkedArtifact
fn clone(&self) -> LinkedArtifact
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 LinkedArtifact
impl Debug for LinkedArtifact
Source§impl<'de> Deserialize<'de> for LinkedArtifact
impl<'de> Deserialize<'de> for LinkedArtifact
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 LinkedArtifact
impl RefUnwindSafe for LinkedArtifact
impl Send for LinkedArtifact
impl Sync for LinkedArtifact
impl Unpin for LinkedArtifact
impl UnsafeUnpin for LinkedArtifact
impl UnwindSafe for LinkedArtifact
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