pub struct ProductIdentity {
pub id: String,
pub display_name: Option<String>,
}Expand description
Opaque product identity. Version semantics remain caller-owned.
Fields§
§id: StringOpaque product id (for example eggsact). Used for {product} expansion.
display_name: Option<String>Optional human-readable display name. Never participates in expansion.
Trait Implementations§
Source§impl Clone for ProductIdentity
impl Clone for ProductIdentity
Source§impl Debug for ProductIdentity
impl Debug for ProductIdentity
Source§impl<'de> Deserialize<'de> for ProductIdentity
impl<'de> Deserialize<'de> for ProductIdentity
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 ProductIdentity
Source§impl PartialEq for ProductIdentity
impl PartialEq for ProductIdentity
Source§impl Serialize for ProductIdentity
impl Serialize for ProductIdentity
impl StructuralPartialEq for ProductIdentity
Auto Trait Implementations§
impl Forget for ProductIdentity
impl Freeze for ProductIdentity
impl Move for ProductIdentity
impl RefUnwindSafe for ProductIdentity
impl Send for ProductIdentity
impl Sync for ProductIdentity
impl Unpin for ProductIdentity
impl UnsafeUnpin for ProductIdentity
impl UnwindSafe for ProductIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.