pub enum PropertyPolicy {
Derived,
OwnerOnly,
}Expand description
Declared ownership policy for one note property.
This metadata does not itself enforce writes or grant authority.
Variants§
Derived
The substrate or owning pack derives this property from trusted runtime context.
OwnerOnly
Only the owning pack’s specialized writer establishes this property.
Trait Implementations§
Source§impl Clone for PropertyPolicy
impl Clone for PropertyPolicy
impl Copy for PropertyPolicy
Source§impl Debug for PropertyPolicy
impl Debug for PropertyPolicy
impl Eq for PropertyPolicy
Source§impl PartialEq for PropertyPolicy
impl PartialEq for PropertyPolicy
impl StructuralPartialEq for PropertyPolicy
Auto Trait Implementations§
impl Freeze for PropertyPolicy
impl RefUnwindSafe for PropertyPolicy
impl Send for PropertyPolicy
impl Sync for PropertyPolicy
impl Unpin for PropertyPolicy
impl UnsafeUnpin for PropertyPolicy
impl UnwindSafe for PropertyPolicy
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