pub struct Format {
pub singular: bool,
pub relationships: Vec<(String, Format)>,
pub aggregate: Option<Aggregate>,
}Fields§
§singular: bool§relationships: Vec<(String, Format)>By name, in UTF-16 code unit order.
aggregate: Option<Aggregate>Set when the query or relationship is an aggregate: it materializes as
the aggregate’s value rather than rows. Implies singular.
Implementations§
Trait Implementations§
Source§impl JsonCodable for Format
impl JsonCodable for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Forget for Format
impl Freeze for Format
impl Move for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnsafeUnpin for Format
impl UnwindSafe for Format
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