#[non_exhaustive]pub struct PackExtension {
pub name: Option<String>,
pub forms: Vec<PackForm>,
}Expand description
An entry of a module’s extensionAbilities.
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.
forms: Vec<PackForm>Service widgets (cards) a form extension offers.
Trait Implementations§
Source§impl Clone for PackExtension
impl Clone for PackExtension
Source§impl Debug for PackExtension
impl Debug for PackExtension
Source§impl Default for PackExtension
impl Default for PackExtension
impl Eq for PackExtension
Source§impl PartialEq for PackExtension
impl PartialEq for PackExtension
impl StructuralPartialEq for PackExtension
Auto Trait Implementations§
impl Forget for PackExtension
impl Freeze for PackExtension
impl Move for PackExtension
impl RefUnwindSafe for PackExtension
impl Send for PackExtension
impl Sync for PackExtension
impl Unpin for PackExtension
impl UnsafeUnpin for PackExtension
impl UnwindSafe for PackExtension
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