pub struct MetadataSet {
pub id: GlobalId,
pub key: MetadataKey,
pub value: Value,
pub location: Option<Location>,
}Expand description
What task, project and document metadata set answer with.
Fields§
§id: GlobalIdThe record whose metadata key was set.
key: MetadataKeyThe key that was set.
value: ValueThe value the source holds under key as it reads the record back after the write —
which is not always the value it was handed.
location: Option<Location>Where the source reports the record to be, left out when it does not say.
Trait Implementations§
Source§impl Clone for MetadataSet
impl Clone for MetadataSet
Source§impl Debug for MetadataSet
impl Debug for MetadataSet
Source§impl<'de> Deserialize<'de> for MetadataSet
impl<'de> Deserialize<'de> for MetadataSet
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
Source§impl JsonSchema for MetadataSet
impl JsonSchema for MetadataSet
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MetadataSet
impl PartialEq for MetadataSet
Source§impl Serialize for MetadataSet
impl Serialize for MetadataSet
impl StructuralPartialEq for MetadataSet
Auto Trait Implementations§
impl Freeze for MetadataSet
impl RefUnwindSafe for MetadataSet
impl Send for MetadataSet
impl Sync for MetadataSet
impl Unpin for MetadataSet
impl UnsafeUnpin for MetadataSet
impl UnwindSafe for MetadataSet
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