pub struct Summary {
pub form: String,
pub created: String,
pub subject: String,
pub parties: Vec<String>,
pub dialogs: usize,
pub dialog: Vec<String>,
pub seconds: f64,
pub attachments: usize,
pub analyses: usize,
pub links: usize,
pub signature: Option<Signature>,
}Expand description
A vCon’s form and counts, its parties masked: the answer of the masked view, with the fields and the words of the console’s summary.
Fields§
§form: Stringunsigned, signed (JWS), encrypted (JWE), not JSON or not a JSON object.
created: StringWhen it was made, in UTC (see instant); empty when not a time.
subject: Stringpresent, hidden, none, or not readable.
parties: Vec<String>One line for each party, masked (see party_line).
dialogs: usizeHow many dialogs it holds.
dialog: Vec<String>One line for each dialog, with no content (see dialog_line).
seconds: f64The sum of the dialogs’ positive lengths, in seconds.
attachments: usizeHow many attachments it holds.
analyses: usizeHow many analyses it holds.
links: usizeHow many links to outside the server it holds.
signature: Option<Signature>A signed vCon’s first signature header, else none.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
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 StructuralPartialEq for Summary
Auto Trait Implementations§
impl Forget for Summary
impl Freeze for Summary
impl Move for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.