pub struct NoDefaults;Expand description
A policy that deliberately leaves every omission unresolved.
Trait Implementations§
Source§impl Clone for NoDefaults
impl Clone for NoDefaults
Source§fn clone(&self) -> NoDefaults
fn clone(&self) -> NoDefaults
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 NoDefaults
Source§impl Debug for NoDefaults
impl Debug for NoDefaults
Source§impl Default for NoDefaults
impl Default for NoDefaults
Source§fn default() -> NoDefaults
fn default() -> NoDefaults
Returns the “default value” for a type. Read more
Source§impl DefaultProvider for NoDefaults
impl DefaultProvider for NoDefaults
Source§fn resolve(&self, _request: &DefaultRequest) -> Option<DefaultValue>
fn resolve(&self, _request: &DefaultRequest) -> Option<DefaultValue>
Returns a value for one omission, or
None to leave it unresolved.impl Eq for NoDefaults
Source§impl PartialEq for NoDefaults
impl PartialEq for NoDefaults
impl StructuralPartialEq for NoDefaults
Auto Trait Implementations§
impl Freeze for NoDefaults
impl RefUnwindSafe for NoDefaults
impl Send for NoDefaults
impl Sync for NoDefaults
impl Unpin for NoDefaults
impl UnsafeUnpin for NoDefaults
impl UnwindSafe for NoDefaults
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