pub struct OperationSpec {Show 14 fields
pub id: OperationId,
pub path: &'static str,
pub cmd: &'static str,
pub name: &'static str,
pub description: &'static str,
pub capability: OperationCapability,
pub exposure: OperationExposure,
pub read_only: bool,
pub destructive: bool,
pub feature: Option<&'static str>,
pub needs: OperationNeeds,
pub auto_launch: bool,
pub reply: OperationReply,
pub lock_free: bool,
}Fields§
§id: OperationId§path: &'static str§cmd: &'static str§name: &'static str§description: &'static str§capability: OperationCapability§exposure: OperationExposure§read_only: bool§destructive: bool§feature: Option<&'static str>§needs: OperationNeeds§auto_launch: bool§reply: OperationReply§lock_free: boolImplementations§
Source§impl OperationSpec
impl OperationSpec
pub fn cli_command(&self) -> String
Trait Implementations§
Source§impl Clone for OperationSpec
impl Clone for OperationSpec
impl Copy for OperationSpec
Auto Trait Implementations§
impl Forget for OperationSpec
impl Freeze for OperationSpec
impl Move for OperationSpec
impl RefUnwindSafe for OperationSpec
impl Send for OperationSpec
impl Sync for OperationSpec
impl Unpin for OperationSpec
impl UnsafeUnpin for OperationSpec
impl UnwindSafe for OperationSpec
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