pub struct SnapshotOptions {
pub include_values: bool,
}Expand description
Capacity minima that must hold the request’s own anchors are hard errors: trace requires max_nodes >= unique roots (and nonempty roots); range_page requires limit >= 1. All expansion budgets (max_depth, max_links, max_work, range_member_budget, max_results) accept zero and degrade to in-band truncation.
Fields§
§include_values: boolImplementations§
Source§impl SnapshotOptions
impl SnapshotOptions
pub fn with_include_values(self, include_values: bool) -> Self
Trait Implementations§
Source§impl Clone for SnapshotOptions
impl Clone for SnapshotOptions
Source§fn clone(&self) -> SnapshotOptions
fn clone(&self) -> SnapshotOptions
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 moreimpl Copy for SnapshotOptions
Source§impl Debug for SnapshotOptions
impl Debug for SnapshotOptions
Source§impl Default for SnapshotOptions
impl Default for SnapshotOptions
impl Eq for SnapshotOptions
Source§impl PartialEq for SnapshotOptions
impl PartialEq for SnapshotOptions
impl StructuralPartialEq for SnapshotOptions
Auto Trait Implementations§
impl Freeze for SnapshotOptions
impl RefUnwindSafe for SnapshotOptions
impl Send for SnapshotOptions
impl Sync for SnapshotOptions
impl Unpin for SnapshotOptions
impl UnsafeUnpin for SnapshotOptions
impl UnwindSafe for SnapshotOptions
Blanket Implementations§
impl<T> Allocation for T
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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