pub struct ValueCodec {
pub profile: Profile,
pub limits: Limits,
pub require_canonical: bool,
}Expand description
A codec with caller-configured finite limits. Canonical validation applies only to tagged JSON and compares the complete supplied document, including whitespace.
Fields§
§profile: Profile§limits: Limits§require_canonical: boolImplementations§
Trait Implementations§
Source§impl Clone for ValueCodec
impl Clone for ValueCodec
Source§fn clone(&self) -> ValueCodec
fn clone(&self) -> ValueCodec
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 ValueCodec
impl RefUnwindSafe for ValueCodec
impl Send for ValueCodec
impl Sync for ValueCodec
impl Unpin for ValueCodec
impl UnsafeUnpin for ValueCodec
impl UnwindSafe for ValueCodec
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