#[non_exhaustive]pub struct ResolvedCard {
pub kind: Option<String>,
pub index: usize,
pub fields: Vec<ResolvedField>,
pub body: Option<ResolvedField>,
}Expand description
One composable card’s resolved rows, with its authored kind (present even
for an unknown kind, which carries its fields verbatim), its document-array
index, and its body row when the kind enables a body.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: Option<String>§index: usize§fields: Vec<ResolvedField>§body: Option<ResolvedField>Trait Implementations§
Source§impl Clone for ResolvedCard
impl Clone for ResolvedCard
Source§fn clone(&self) -> ResolvedCard
fn clone(&self) -> ResolvedCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedCard
impl Debug for ResolvedCard
Source§impl PartialEq for ResolvedCard
impl PartialEq for ResolvedCard
Source§impl Serialize for ResolvedCard
impl Serialize for ResolvedCard
impl StructuralPartialEq for ResolvedCard
Auto Trait Implementations§
impl !Freeze for ResolvedCard
impl RefUnwindSafe for ResolvedCard
impl Send for ResolvedCard
impl Sync for ResolvedCard
impl Unpin for ResolvedCard
impl UnsafeUnpin for ResolvedCard
impl UnwindSafe for ResolvedCard
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