pub struct PinRecord {
pub note_id: String,
pub pin: String,
}Expand description
A pin record: a note pinned in a specific context.
Fields§
§note_id: StringThe note’s ZUNIQUEIDENTIFIER.
pin: String“global” for All Notes pin; tag name for tag-scoped pin.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinRecord
impl<'de> Deserialize<'de> for PinRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PinRecord
impl RefUnwindSafe for PinRecord
impl Send for PinRecord
impl Sync for PinRecord
impl Unpin for PinRecord
impl UnsafeUnpin for PinRecord
impl UnwindSafe for PinRecord
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