pub struct SecurityRiskId(/* private fields */);Implementations§
Source§impl SecurityRiskId
impl SecurityRiskId
Sourcepub fn new(input: impl AsRef<str>) -> Result<SecurityRiskId, SecurityRiskError>
pub fn new(input: impl AsRef<str>) -> Result<SecurityRiskId, SecurityRiskError>
Creates non-empty security risk text metadata.
Trait Implementations§
Source§impl Clone for SecurityRiskId
impl Clone for SecurityRiskId
Source§fn clone(&self) -> SecurityRiskId
fn clone(&self) -> SecurityRiskId
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 SecurityRiskId
impl Debug for SecurityRiskId
Source§impl Display for SecurityRiskId
impl Display for SecurityRiskId
Source§impl FromStr for SecurityRiskId
impl FromStr for SecurityRiskId
Source§type Err = SecurityRiskError
type Err = SecurityRiskError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<SecurityRiskId, <SecurityRiskId as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SecurityRiskId, <SecurityRiskId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for SecurityRiskId
impl Hash for SecurityRiskId
Source§impl Ord for SecurityRiskId
impl Ord for SecurityRiskId
Source§fn cmp(&self, other: &SecurityRiskId) -> Ordering
fn cmp(&self, other: &SecurityRiskId) -> 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 SecurityRiskId
impl PartialEq for SecurityRiskId
Source§fn eq(&self, other: &SecurityRiskId) -> bool
fn eq(&self, other: &SecurityRiskId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SecurityRiskId
impl PartialOrd for SecurityRiskId
Source§impl TryFrom<&str> for SecurityRiskId
impl TryFrom<&str> for SecurityRiskId
Source§type Error = SecurityRiskError
type Error = SecurityRiskError
The type returned in the event of a conversion error.
Source§fn try_from(
value: &str,
) -> Result<SecurityRiskId, <SecurityRiskId as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<SecurityRiskId, <SecurityRiskId as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for SecurityRiskId
impl StructuralPartialEq for SecurityRiskId
Auto Trait Implementations§
impl Freeze for SecurityRiskId
impl RefUnwindSafe for SecurityRiskId
impl Send for SecurityRiskId
impl Sync for SecurityRiskId
impl Unpin for SecurityRiskId
impl UnsafeUnpin for SecurityRiskId
impl UnwindSafe for SecurityRiskId
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