pub struct OperationDeclaration {
pub operation: String,
pub subject: Ref,
pub capability: CapabilityName,
pub mode: ExecutionMode,
}Expand description
Canonical operation declaration supplied by a domain manifest.
Fields§
§operation: StringExact operation identity.
subject: RefExact approval subject.
capability: CapabilityNameRequired capability.
mode: ExecutionModeExecution policy label.
Trait Implementations§
Source§impl Clone for OperationDeclaration
impl Clone for OperationDeclaration
Source§fn clone(&self) -> OperationDeclaration
fn clone(&self) -> OperationDeclaration
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 OperationDeclaration
impl Debug for OperationDeclaration
impl Eq for OperationDeclaration
Source§impl PartialEq for OperationDeclaration
impl PartialEq for OperationDeclaration
impl StructuralPartialEq for OperationDeclaration
Auto Trait Implementations§
impl Freeze for OperationDeclaration
impl RefUnwindSafe for OperationDeclaration
impl Send for OperationDeclaration
impl Sync for OperationDeclaration
impl Unpin for OperationDeclaration
impl UnsafeUnpin for OperationDeclaration
impl UnwindSafe for OperationDeclaration
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