#[non_exhaustive]pub enum CollectionOwner {
ComponentRelease,
ProductRelease,
Other(String),
}Expand description
collection-belongs-to-type: whether a collection belongs to a component release or a product release.
Unknown wire values are kept in Self::Other.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ComponentRelease
The "COMPONENT_RELEASE" wire value.
ProductRelease
The "PRODUCT_RELEASE" wire value.
Other(String)
A value this client does not recognize.
Implementations§
Trait Implementations§
Source§impl Clone for CollectionOwner
impl Clone for CollectionOwner
Source§impl Debug for CollectionOwner
impl Debug for CollectionOwner
Source§impl<'de> Deserialize<'de> for CollectionOwner
impl<'de> Deserialize<'de> for CollectionOwner
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CollectionOwner
impl Display for CollectionOwner
impl Eq for CollectionOwner
Source§impl Hash for CollectionOwner
impl Hash for CollectionOwner
Source§impl PartialEq for CollectionOwner
impl PartialEq for CollectionOwner
Source§impl Serialize for CollectionOwner
impl Serialize for CollectionOwner
impl StructuralPartialEq for CollectionOwner
Auto Trait Implementations§
impl Forget for CollectionOwner
impl Freeze for CollectionOwner
impl Move for CollectionOwner
impl RefUnwindSafe for CollectionOwner
impl Send for CollectionOwner
impl Sync for CollectionOwner
impl Unpin for CollectionOwner
impl UnsafeUnpin for CollectionOwner
impl UnwindSafe for CollectionOwner
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