pub struct FeatureAvailability {
pub feature: Feature,
pub available: bool,
pub missing_permissions: Vec<String>,
}Fields§
§feature: Feature§available: bool§missing_permissions: Vec<String>Trait Implementations§
Source§impl Clone for FeatureAvailability
impl Clone for FeatureAvailability
Source§fn clone(&self) -> FeatureAvailability
fn clone(&self) -> FeatureAvailability
Returns a duplicate of the value. Read more
1.0.0 · 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 FeatureAvailability
impl Debug for FeatureAvailability
Source§impl<'de> Deserialize<'de> for FeatureAvailability
impl<'de> Deserialize<'de> for FeatureAvailability
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
Auto Trait Implementations§
impl Freeze for FeatureAvailability
impl RefUnwindSafe for FeatureAvailability
impl Send for FeatureAvailability
impl Sync for FeatureAvailability
impl Unpin for FeatureAvailability
impl UnwindSafe for FeatureAvailability
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