#[non_exhaustive]pub struct PackAbility {
pub name: Option<String>,
pub label: Option<String>,
}Expand description
An entry of a module’s abilities.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>name.
label: Option<String>label: usually a $string: resource reference.
Trait Implementations§
Source§impl Clone for PackAbility
impl Clone for PackAbility
Source§impl Debug for PackAbility
impl Debug for PackAbility
Source§impl Default for PackAbility
impl Default for PackAbility
impl Eq for PackAbility
Source§impl PartialEq for PackAbility
impl PartialEq for PackAbility
impl StructuralPartialEq for PackAbility
Auto Trait Implementations§
impl Forget for PackAbility
impl Freeze for PackAbility
impl Move for PackAbility
impl RefUnwindSafe for PackAbility
impl Send for PackAbility
impl Sync for PackAbility
impl Unpin for PackAbility
impl UnsafeUnpin for PackAbility
impl UnwindSafe for PackAbility
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