pub struct HierFormatResult {
pub names: Vec<String>,
pub this: Option<TranslatedValue>,
pub fields: Vec<HierFormatResult>,
}
Fields§
§names: Vec<String>
§this: Option<TranslatedValue>
§fields: Vec<HierFormatResult>
A list of subfields of arbitrary depth, flattened to remove hierarchy.
i.e. {a: {b: 0}, c: 0}
is flattened to vec![a: {b: 0}, [a, b]: 0, c: 0]
Implementations§
Source§impl HierFormatResult
impl HierFormatResult
pub fn collect_into(self, into: &mut Vec<SubFieldFlatTranslationResult>)
Auto Trait Implementations§
impl Freeze for HierFormatResult
impl RefUnwindSafe for HierFormatResult
impl Send for HierFormatResult
impl Sync for HierFormatResult
impl Unpin for HierFormatResult
impl UnwindSafe for HierFormatResult
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