#[non_exhaustive]pub enum CatalogOrigin {
Release,
Development,
Other,
}Expand description
Evidence-backed program origin. Unknown strings establish no recognized origin.
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.
Trait Implementations§
Source§impl Clone for CallerOrigin
impl Clone for CallerOrigin
Source§fn clone(&self) -> CallerOrigin
fn clone(&self) -> CallerOrigin
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 moreimpl Copy for CallerOrigin
Source§impl Debug for CallerOrigin
impl Debug for CallerOrigin
Source§impl<'de> Deserialize<'de> for CallerOrigin
impl<'de> Deserialize<'de> for CallerOrigin
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallerOrigin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallerOrigin, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CallerOrigin
Source§impl PartialEq for CallerOrigin
impl PartialEq for CallerOrigin
Source§impl Serialize for CallerOrigin
impl Serialize for CallerOrigin
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CallerOrigin
Auto Trait Implementations§
impl Forget for CallerOrigin
impl Freeze for CallerOrigin
impl Move for CallerOrigin
impl RefUnwindSafe for CallerOrigin
impl Send for CallerOrigin
impl Sync for CallerOrigin
impl Unpin for CallerOrigin
impl UnsafeUnpin for CallerOrigin
impl UnwindSafe for CallerOrigin
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