pub struct ProjectionResult {
pub data: String,
pub fields_removed: usize,
pub tokens_saved: u32,
}Expand description
Result of JSON projection.
Fields§
§data: StringThe projected JSON string.
fields_removed: usizeNumber of fields removed.
tokens_saved: u32Estimated tokens saved.
Trait Implementations§
Source§impl Clone for ProjectionResult
impl Clone for ProjectionResult
Source§fn clone(&self) -> ProjectionResult
fn clone(&self) -> ProjectionResult
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 moreAuto Trait Implementations§
impl Freeze for ProjectionResult
impl RefUnwindSafe for ProjectionResult
impl Send for ProjectionResult
impl Sync for ProjectionResult
impl Unpin for ProjectionResult
impl UnsafeUnpin for ProjectionResult
impl UnwindSafe for ProjectionResult
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