pub struct SpecificAssetId {
pub name: String,
pub value: String,
}Expand description
A name/value specific asset identifier (e.g., gtin, batchId).
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for SpecificAssetId
impl Clone for SpecificAssetId
Source§fn clone(&self) -> SpecificAssetId
fn clone(&self) -> SpecificAssetId
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 SpecificAssetId
impl Debug for SpecificAssetId
Source§impl<'de> Deserialize<'de> for SpecificAssetId
impl<'de> Deserialize<'de> for SpecificAssetId
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 SpecificAssetId
impl PartialEq for SpecificAssetId
Source§fn eq(&self, other: &SpecificAssetId) -> bool
fn eq(&self, other: &SpecificAssetId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SpecificAssetId
impl Serialize for SpecificAssetId
impl StructuralPartialEq for SpecificAssetId
Auto Trait Implementations§
impl Freeze for SpecificAssetId
impl RefUnwindSafe for SpecificAssetId
impl Send for SpecificAssetId
impl Sync for SpecificAssetId
impl Unpin for SpecificAssetId
impl UnsafeUnpin for SpecificAssetId
impl UnwindSafe for SpecificAssetId
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