pub enum MetadataRecord {
Task,
Project,
Document,
}Expand description
Which kind of record a narrow metadata write names.
The three a record can be, and no fourth: a refusal, a not-found error or a protocol guard that names the record takes one of these rather than a noun, so it cannot name something that is not a record.
Variants§
Task
A task, written through TaskSource::set_task_metadata.
Project
A project, written through
TaskSource::set_project_metadata.
Document
A document, written through
TaskSource::set_document_metadata.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataRecord
impl Clone for MetadataRecord
Source§fn clone(&self) -> MetadataRecord
fn clone(&self) -> MetadataRecord
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 MetadataRecord
Source§impl Debug for MetadataRecord
impl Debug for MetadataRecord
Source§impl Display for MetadataRecord
impl Display for MetadataRecord
impl Eq for MetadataRecord
Source§impl Hash for MetadataRecord
impl Hash for MetadataRecord
Source§impl PartialEq for MetadataRecord
impl PartialEq for MetadataRecord
impl StructuralPartialEq for MetadataRecord
Auto Trait Implementations§
impl Freeze for MetadataRecord
impl RefUnwindSafe for MetadataRecord
impl Send for MetadataRecord
impl Sync for MetadataRecord
impl Unpin for MetadataRecord
impl UnsafeUnpin for MetadataRecord
impl UnwindSafe for MetadataRecord
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