pub struct AppliedDefault { /* private fields */ }Expand description
One policy-approved default decision; the merged source remains unchanged.
Implementations§
Source§impl AppliedDefault
impl AppliedDefault
Sourcepub const fn request(&self) -> &DefaultRequest
pub const fn request(&self) -> &DefaultRequest
Returns the request that caused the decision.
Sourcepub const fn value(&self) -> &DefaultValue
pub const fn value(&self) -> &DefaultValue
Returns the supplied default value.
Trait Implementations§
Source§impl Clone for AppliedDefault
impl Clone for AppliedDefault
Source§fn clone(&self) -> AppliedDefault
fn clone(&self) -> AppliedDefault
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 moreSource§impl Debug for AppliedDefault
impl Debug for AppliedDefault
impl Eq for AppliedDefault
Source§impl PartialEq for AppliedDefault
impl PartialEq for AppliedDefault
impl StructuralPartialEq for AppliedDefault
Auto Trait Implementations§
impl Freeze for AppliedDefault
impl RefUnwindSafe for AppliedDefault
impl Send for AppliedDefault
impl Sync for AppliedDefault
impl Unpin for AppliedDefault
impl UnsafeUnpin for AppliedDefault
impl UnwindSafe for AppliedDefault
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