pub struct DocumentData {
pub account: String,
pub path: String,
pub tags: Vec<String>,
pub links: Vec<String>,
pub metadata: Vec<(String, MetaValueData)>,
}Expand description
Document data.
Fields§
§account: StringAccount name.
path: StringDocument path.
Tags attached to the document directive. Added to core
Document in #1144; plumbed through the plugin layer in
#1214 (was previously dropped on both legs of the round-trip).
links: Vec<String>Links attached to the document directive (issue #1144).
metadata: Vec<(String, MetaValueData)>Metadata key-value pairs.
Trait Implementations§
Source§impl Clone for DocumentData
impl Clone for DocumentData
Source§fn clone(&self) -> DocumentData
fn clone(&self) -> DocumentData
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 moreSource§impl Debug for DocumentData
impl Debug for DocumentData
Source§impl<'de> Deserialize<'de> for DocumentData
impl<'de> Deserialize<'de> for DocumentData
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 DocumentData
impl RefUnwindSafe for DocumentData
impl Send for DocumentData
impl Sync for DocumentData
impl Unpin for DocumentData
impl UnsafeUnpin for DocumentData
impl UnwindSafe for DocumentData
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