pub struct ArchitectureId(/* private fields */);Implementations§
Source§impl ArchitectureId
impl ArchitectureId
pub fn new( value: impl Into<String>, ) -> Result<ArchitectureId, CompatibilityIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ArchitectureId
impl Clone for ArchitectureId
Source§fn clone(&self) -> ArchitectureId
fn clone(&self) -> ArchitectureId
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 ArchitectureId
impl Debug for ArchitectureId
Source§impl<'de> Deserialize<'de> for ArchitectureId
impl<'de> Deserialize<'de> for ArchitectureId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<ArchitectureId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<ArchitectureId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ArchitectureId
impl Display for ArchitectureId
impl Eq for ArchitectureId
Source§impl FromStr for ArchitectureId
impl FromStr for ArchitectureId
Source§type Err = CompatibilityIdentifierError
type Err = CompatibilityIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<ArchitectureId, <ArchitectureId as FromStr>::Err>
fn from_str( value: &str, ) -> Result<ArchitectureId, <ArchitectureId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for ArchitectureId
impl Hash for ArchitectureId
Source§impl Ord for ArchitectureId
impl Ord for ArchitectureId
Source§fn cmp(&self, other: &ArchitectureId) -> Ordering
fn cmp(&self, other: &ArchitectureId) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ArchitectureId
impl PartialEq for ArchitectureId
Source§impl PartialOrd for ArchitectureId
impl PartialOrd for ArchitectureId
Source§impl Serialize for ArchitectureId
impl Serialize for ArchitectureId
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ArchitectureId
Auto Trait Implementations§
impl Freeze for ArchitectureId
impl RefUnwindSafe for ArchitectureId
impl Send for ArchitectureId
impl Sync for ArchitectureId
impl Unpin for ArchitectureId
impl UnsafeUnpin for ArchitectureId
impl UnwindSafe for ArchitectureId
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