pub struct RegistrySpecFeatureState {
pub scope: String,
pub name: String,
pub featured: bool,
}Expand description
RegistrySpecFeatureState model.
Fields§
§scope: String§name: String§featured: boolTrue after a POST, false after a DELETE.
Trait Implementations§
Source§impl Clone for RegistrySpecFeatureState
impl Clone for RegistrySpecFeatureState
Source§fn clone(&self) -> RegistrySpecFeatureState
fn clone(&self) -> RegistrySpecFeatureState
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 RegistrySpecFeatureState
impl Debug for RegistrySpecFeatureState
Source§impl Default for RegistrySpecFeatureState
impl Default for RegistrySpecFeatureState
Source§fn default() -> RegistrySpecFeatureState
fn default() -> RegistrySpecFeatureState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegistrySpecFeatureState
impl<'de> Deserialize<'de> for RegistrySpecFeatureState
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 RegistrySpecFeatureState
impl PartialEq for RegistrySpecFeatureState
Source§impl Serialize for RegistrySpecFeatureState
impl Serialize for RegistrySpecFeatureState
impl StructuralPartialEq for RegistrySpecFeatureState
Auto Trait Implementations§
impl Freeze for RegistrySpecFeatureState
impl RefUnwindSafe for RegistrySpecFeatureState
impl Send for RegistrySpecFeatureState
impl Sync for RegistrySpecFeatureState
impl Unpin for RegistrySpecFeatureState
impl UnsafeUnpin for RegistrySpecFeatureState
impl UnwindSafe for RegistrySpecFeatureState
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