pub struct SafePolicyString(/* private fields */);Expand description
Bounded non-secret policy string retained for removed-provider reconstruction.
Implementations§
Trait Implementations§
Source§impl Clone for SafePolicyString
impl Clone for SafePolicyString
Source§fn clone(&self) -> SafePolicyString
fn clone(&self) -> SafePolicyString
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 SafePolicyString
impl Debug for SafePolicyString
Source§impl<'de> Deserialize<'de> for SafePolicyString
impl<'de> Deserialize<'de> for SafePolicyString
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SafePolicyString
Source§impl Ord for SafePolicyString
impl Ord for SafePolicyString
Source§fn cmp(&self, other: &SafePolicyString) -> Ordering
fn cmp(&self, other: &SafePolicyString) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SafePolicyString
impl PartialEq for SafePolicyString
Source§fn eq(&self, other: &SafePolicyString) -> bool
fn eq(&self, other: &SafePolicyString) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SafePolicyString
impl PartialOrd for SafePolicyString
Source§impl Serialize for SafePolicyString
impl Serialize for SafePolicyString
impl StructuralPartialEq for SafePolicyString
Auto Trait Implementations§
impl Freeze for SafePolicyString
impl RefUnwindSafe for SafePolicyString
impl Send for SafePolicyString
impl Sync for SafePolicyString
impl Unpin for SafePolicyString
impl UnsafeUnpin for SafePolicyString
impl UnwindSafe for SafePolicyString
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