pub struct PacketArtifact {
pub id: String,
pub kind: String,
pub title: String,
pub locator: String,
pub content_hash: String,
pub parents: Vec<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§id: String§kind: String§title: String§locator: String§content_hash: String§parents: Vec<String>§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for PacketArtifact
impl Clone for PacketArtifact
Source§fn clone(&self) -> PacketArtifact
fn clone(&self) -> PacketArtifact
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 PacketArtifact
impl Debug for PacketArtifact
Source§impl<'de> Deserialize<'de> for PacketArtifact
impl<'de> Deserialize<'de> for PacketArtifact
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 PartialEq for PacketArtifact
impl PartialEq for PacketArtifact
Source§fn eq(&self, other: &PacketArtifact) -> bool
fn eq(&self, other: &PacketArtifact) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PacketArtifact
impl Serialize for PacketArtifact
impl StructuralPartialEq for PacketArtifact
Auto Trait Implementations§
impl Freeze for PacketArtifact
impl RefUnwindSafe for PacketArtifact
impl Send for PacketArtifact
impl Sync for PacketArtifact
impl Unpin for PacketArtifact
impl UnsafeUnpin for PacketArtifact
impl UnwindSafe for PacketArtifact
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