pub struct CaseOutput {
pub id: String,
pub case_id: String,
pub title: String,
pub summary: String,
pub tags: Vec<String>,
pub slug: Option<String>,
pub case_type: Option<String>,
pub status: Option<String>,
pub amounts: Vec<AmountEntry>,
pub nodes: Vec<NodeOutput>,
pub relationships: Vec<RelOutput>,
pub sources: Vec<SourceEntry>,
}Expand description
JSON output for a complete case file.
Fields§
§id: StringNULID for the case node.
case_id: String§title: String§summary: String§slug: Option<String>File-path slug for the case (e.g. cases/id/corruption/2024/hambalang-case).
case_type: Option<String>§status: Option<String>§amounts: Vec<AmountEntry>§nodes: Vec<NodeOutput>§relationships: Vec<RelOutput>§sources: Vec<SourceEntry>Trait Implementations§
Source§impl Debug for CaseOutput
impl Debug for CaseOutput
Auto Trait Implementations§
impl Freeze for CaseOutput
impl RefUnwindSafe for CaseOutput
impl Send for CaseOutput
impl Sync for CaseOutput
impl Unpin for CaseOutput
impl UnsafeUnpin for CaseOutput
impl UnwindSafe for CaseOutput
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
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