pub struct OperationSpec {
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,
}Fields§
§id: OperationId§path: &'static str§cmd: &'static str§name: &'static str§description: &'static str§capability: OperationCapability§exposure: OperationExposure§read_only: bool§destructive: boolTrait Implementations§
Source§impl Clone for OperationSpec
impl Clone for OperationSpec
impl Copy for OperationSpec
Auto Trait Implementations§
impl Freeze 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