pub struct MetadataFieldConfig {
pub field: String,
pub key: String,
pub path: Vec<String>,
}Expand description
One metadata value this source projects onto a board text field.
Fields§
§field: StringThe name of the board text field the value is written to.
key: StringThe top-level metadata key the value is read from. A key under the reserved
onetaskgraph. prefix is refused.
path: Vec<String>Object keys walked inside that key’s value, outermost first. Absent or empty, the key’s own value is the one projected. Left out of a serialized entry when empty.
Trait Implementations§
Source§impl Clone for MetadataFieldConfig
impl Clone for MetadataFieldConfig
Source§impl Debug for MetadataFieldConfig
impl Debug for MetadataFieldConfig
Source§impl Default for MetadataFieldConfig
impl Default for MetadataFieldConfig
Source§impl<'de> Deserialize<'de> for MetadataFieldConfig
impl<'de> Deserialize<'de> for MetadataFieldConfig
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
impl Eq for MetadataFieldConfig
Source§impl JsonSchema for MetadataFieldConfig
impl JsonSchema for MetadataFieldConfig
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 MetadataFieldConfig
impl PartialEq for MetadataFieldConfig
Source§impl Serialize for MetadataFieldConfig
impl Serialize for MetadataFieldConfig
impl StructuralPartialEq for MetadataFieldConfig
Auto Trait Implementations§
impl Freeze for MetadataFieldConfig
impl RefUnwindSafe for MetadataFieldConfig
impl Send for MetadataFieldConfig
impl Sync for MetadataFieldConfig
impl Unpin for MetadataFieldConfig
impl UnsafeUnpin for MetadataFieldConfig
impl UnwindSafe for MetadataFieldConfig
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