pub enum ConstructTargetCapabilityPolicy {
Forbidden,
RequiredCapabilityCallContract,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConstructTargetCapabilityPolicy
impl Clone for ConstructTargetCapabilityPolicy
Source§fn clone(&self) -> ConstructTargetCapabilityPolicy
fn clone(&self) -> ConstructTargetCapabilityPolicy
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 moreimpl Copy for ConstructTargetCapabilityPolicy
impl Eq for ConstructTargetCapabilityPolicy
Source§impl PartialEq for ConstructTargetCapabilityPolicy
impl PartialEq for ConstructTargetCapabilityPolicy
Source§fn eq(&self, other: &ConstructTargetCapabilityPolicy) -> bool
fn eq(&self, other: &ConstructTargetCapabilityPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstructTargetCapabilityPolicy
Auto Trait Implementations§
impl Freeze for ConstructTargetCapabilityPolicy
impl RefUnwindSafe for ConstructTargetCapabilityPolicy
impl Send for ConstructTargetCapabilityPolicy
impl Sync for ConstructTargetCapabilityPolicy
impl Unpin for ConstructTargetCapabilityPolicy
impl UnsafeUnpin for ConstructTargetCapabilityPolicy
impl UnwindSafe for ConstructTargetCapabilityPolicy
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