pub struct FindingGroupRecord {
pub id: String,
pub summary: String,
}Expand description
A finding’s group, as a journal records it: the identity its members share and the phrase they read as together.
Fields§
§id: StringThe identity every member of the group repeats.
summary: StringHow the group reads when its findings are spoken of as one.
Implementations§
Source§impl FindingGroupRecord
impl FindingGroupRecord
Sourcepub fn rebuild(&self) -> Option<FindingGroup>
pub fn rebuild(&self) -> Option<FindingGroup>
Rebuilds the group, or None where either half is blank. The finding is kept
without it.
Trait Implementations§
Source§impl Clone for FindingGroupRecord
impl Clone for FindingGroupRecord
Source§impl Debug for FindingGroupRecord
impl Debug for FindingGroupRecord
Source§impl<'de> Deserialize<'de> for FindingGroupRecord
impl<'de> Deserialize<'de> for FindingGroupRecord
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 FindingGroupRecord
Source§impl From<&FindingGroup> for FindingGroupRecord
impl From<&FindingGroup> for FindingGroupRecord
Source§fn from(group: &FindingGroup) -> Self
fn from(group: &FindingGroup) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FindingGroupRecord
impl PartialEq for FindingGroupRecord
Source§impl Serialize for FindingGroupRecord
impl Serialize for FindingGroupRecord
impl StructuralPartialEq for FindingGroupRecord
Auto Trait Implementations§
impl Freeze for FindingGroupRecord
impl RefUnwindSafe for FindingGroupRecord
impl Send for FindingGroupRecord
impl Sync for FindingGroupRecord
impl Unpin for FindingGroupRecord
impl UnsafeUnpin for FindingGroupRecord
impl UnwindSafe for FindingGroupRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 more