pub enum AvailabilityDecl {
Ready,
Unavailable {
detail: String,
},
}Expand description
Whether an addon can act, owned. Mirrors Availability.
Variants§
Trait Implementations§
Source§impl Clone for AvailabilityDecl
impl Clone for AvailabilityDecl
Source§fn clone(&self) -> AvailabilityDecl
fn clone(&self) -> AvailabilityDecl
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 AvailabilityDecl
impl Debug for AvailabilityDecl
Source§impl<'de> Deserialize<'de> for AvailabilityDecl
impl<'de> Deserialize<'de> for AvailabilityDecl
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 AvailabilityDecl
impl PartialEq for AvailabilityDecl
Source§fn eq(&self, other: &AvailabilityDecl) -> bool
fn eq(&self, other: &AvailabilityDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AvailabilityDecl
impl Serialize for AvailabilityDecl
impl Eq for AvailabilityDecl
impl StructuralPartialEq for AvailabilityDecl
Auto Trait Implementations§
impl Freeze for AvailabilityDecl
impl RefUnwindSafe for AvailabilityDecl
impl Send for AvailabilityDecl
impl Sync for AvailabilityDecl
impl Unpin for AvailabilityDecl
impl UnsafeUnpin for AvailabilityDecl
impl UnwindSafe for AvailabilityDecl
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