pub struct IntegrationSpec {Show 14 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub version: Option<String>,
pub binary: String,
pub category: Option<String>,
pub chip: Option<ChipSpec>,
pub commands: Vec<CommandSpec>,
pub context_menu: Vec<ContextMenuEntry>,
pub menu_bar: Vec<MenuBarEntry>,
pub statusline: Option<StatuslineSpec>,
pub settings: Vec<SettingsPage>,
pub notifications: Option<NotificationsSpec>,
pub requires: Option<Requires>,
}Expand description
Complete integration description written to the manifest
file. Only id, name, and binary are required — everything
else defaults to sensible empty values.
Fields§
§id: String§name: String§description: Option<String>§version: Option<String>§binary: String§category: Option<String>§chip: Option<ChipSpec>§commands: Vec<CommandSpec>§statusline: Option<StatuslineSpec>§settings: Vec<SettingsPage>§notifications: Option<NotificationsSpec>§requires: Option<Requires>Trait Implementations§
Source§impl Clone for IntegrationSpec
impl Clone for IntegrationSpec
Source§fn clone(&self) -> IntegrationSpec
fn clone(&self) -> IntegrationSpec
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 IntegrationSpec
impl Debug for IntegrationSpec
Source§impl Default for IntegrationSpec
impl Default for IntegrationSpec
Source§fn default() -> IntegrationSpec
fn default() -> IntegrationSpec
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IntegrationSpec
impl RefUnwindSafe for IntegrationSpec
impl Send for IntegrationSpec
impl Sync for IntegrationSpec
impl Unpin for IntegrationSpec
impl UnsafeUnpin for IntegrationSpec
impl UnwindSafe for IntegrationSpec
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