Struct AiEvalRubricName
pub struct AiEvalRubricName(/* private fields */);Implementations§
§impl AiEvalRubricName
impl AiEvalRubricName
pub fn new(value: impl AsRef<str>) -> Result<AiEvalRubricName, AiEvalError>
pub fn as_str(&self) -> &str
pub fn value(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
§impl AsRef<str> for AiEvalRubricName
impl AsRef<str> for AiEvalRubricName
§impl Clone for AiEvalRubricName
impl Clone for AiEvalRubricName
§fn clone(&self) -> AiEvalRubricName
fn clone(&self) -> AiEvalRubricName
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 more§impl Debug for AiEvalRubricName
impl Debug for AiEvalRubricName
§impl Display for AiEvalRubricName
impl Display for AiEvalRubricName
§impl FromStr for AiEvalRubricName
impl FromStr for AiEvalRubricName
§type Err = AiEvalError
type Err = AiEvalError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiEvalRubricName, <AiEvalRubricName as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiEvalRubricName, <AiEvalRubricName as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiEvalRubricName
impl Hash for AiEvalRubricName
§impl Ord for AiEvalRubricName
impl Ord for AiEvalRubricName
§fn cmp(&self, other: &AiEvalRubricName) -> Ordering
fn cmp(&self, other: &AiEvalRubricName) -> Ordering
1.21.0 · 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
§impl PartialEq for AiEvalRubricName
impl PartialEq for AiEvalRubricName
§impl PartialOrd for AiEvalRubricName
impl PartialOrd for AiEvalRubricName
§impl TryFrom<&str> for AiEvalRubricName
impl TryFrom<&str> for AiEvalRubricName
§type Error = AiEvalError
type Error = AiEvalError
The type returned in the event of a conversion error.
§fn try_from(
value: &str,
) -> Result<AiEvalRubricName, <AiEvalRubricName as TryFrom<&str>>::Error>
fn try_from( value: &str, ) -> Result<AiEvalRubricName, <AiEvalRubricName as TryFrom<&str>>::Error>
Performs the conversion.
impl Eq for AiEvalRubricName
impl StructuralPartialEq for AiEvalRubricName
Auto Trait Implementations§
impl Freeze for AiEvalRubricName
impl RefUnwindSafe for AiEvalRubricName
impl Send for AiEvalRubricName
impl Sync for AiEvalRubricName
impl Unpin for AiEvalRubricName
impl UnsafeUnpin for AiEvalRubricName
impl UnwindSafe for AiEvalRubricName
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