pub struct Provenance {
pub author: AuthorKind,
pub actor: String,
pub source: String,
pub agent: Option<String>,
pub session: Option<String>,
pub name: Option<String>,
pub teams: Vec<String>,
}Fields§
§actor: StringPseudonymous actor id (no names or emails).
source: String§agent: Option<String>§session: Option<String>§name: Option<String>The person’s name, or the person an agent works for; absent with record_names = false.
teams: Vec<String>The writer’s teams when it was written; empty for older records and outside teams.
Implementations§
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§impl Debug for Provenance
impl Debug for Provenance
Source§impl<'de> Deserialize<'de> for Provenance
impl<'de> Deserialize<'de> for Provenance
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 Provenance
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
Source§impl Serialize for Provenance
impl Serialize for Provenance
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Forget for Provenance
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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