pub struct ValueOptions { /* private fields */ }
Implementations§
Source§impl ValueOptions
impl ValueOptions
pub fn for_context() -> Self
pub fn for_model() -> Self
pub fn emit_context_only(self, context_only: bool) -> Self
pub fn with_spans_included(self, include_spans: bool) -> Self
Trait Implementations§
Source§impl Clone for ValueOptions
impl Clone for ValueOptions
Source§fn clone(&self) -> ValueOptions
fn clone(&self) -> ValueOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ValueOptions
impl Debug for ValueOptions
Source§impl Default for ValueOptions
impl Default for ValueOptions
Source§fn default() -> ValueOptions
fn default() -> ValueOptions
Returns the “default value” for a type. Read more
Source§impl Hash for ValueOptions
impl Hash for ValueOptions
Source§impl PartialEq for ValueOptions
impl PartialEq for ValueOptions
impl Copy for ValueOptions
impl Eq for ValueOptions
impl StructuralPartialEq for ValueOptions
Auto Trait Implementations§
impl Freeze for ValueOptions
impl RefUnwindSafe for ValueOptions
impl Send for ValueOptions
impl Sync for ValueOptions
impl Unpin for ValueOptions
impl UnwindSafe for ValueOptions
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