pub struct NotePropertyPolicySpec {
pub kind: &'static str,
pub key: &'static str,
pub policy: PropertyPolicy,
}Expand description
Property policy for a note kind declared by the same pack.
Fields§
§kind: &'static strThe owned note kind.
key: &'static strThe exact property key, without normalization.
policy: PropertyPolicyThe property’s declared ownership policy.
Trait Implementations§
Source§impl Clone for NotePropertyPolicySpec
impl Clone for NotePropertyPolicySpec
impl Copy for NotePropertyPolicySpec
Source§impl Debug for NotePropertyPolicySpec
impl Debug for NotePropertyPolicySpec
impl Eq for NotePropertyPolicySpec
Source§impl PartialEq for NotePropertyPolicySpec
impl PartialEq for NotePropertyPolicySpec
impl StructuralPartialEq for NotePropertyPolicySpec
Auto Trait Implementations§
impl Freeze for NotePropertyPolicySpec
impl RefUnwindSafe for NotePropertyPolicySpec
impl Send for NotePropertyPolicySpec
impl Sync for NotePropertyPolicySpec
impl Unpin for NotePropertyPolicySpec
impl UnsafeUnpin for NotePropertyPolicySpec
impl UnwindSafe for NotePropertyPolicySpec
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