pub struct ConsumerId(/* private fields */);Implementations§
Source§impl ConsumerId
impl ConsumerId
pub fn new(value: impl Into<String>) -> Result<ConsumerId, ToolValidationError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ConsumerId
impl Clone for ConsumerId
Source§fn clone(&self) -> ConsumerId
fn clone(&self) -> ConsumerId
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 ConsumerId
impl Debug for ConsumerId
Source§impl<'de> Deserialize<'de> for ConsumerId
impl<'de> Deserialize<'de> for ConsumerId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConsumerId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConsumerId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ConsumerId
impl Display for ConsumerId
impl Eq for ConsumerId
Source§impl Hash for ConsumerId
impl Hash for ConsumerId
Source§impl Ord for ConsumerId
impl Ord for ConsumerId
Source§fn cmp(&self, other: &ConsumerId) -> Ordering
fn cmp(&self, other: &ConsumerId) -> 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 ConsumerId
impl PartialEq for ConsumerId
Source§impl PartialOrd for ConsumerId
impl PartialOrd for ConsumerId
Source§impl Serialize for ConsumerId
impl Serialize for ConsumerId
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 ConsumerId
Source§impl TryFrom<String> for ConsumerId
impl TryFrom<String> for ConsumerId
Source§type Error = ToolValidationError
type Error = ToolValidationError
The type returned in the event of a conversion error.
Source§fn try_from(
value: String,
) -> Result<ConsumerId, <ConsumerId as TryFrom<String>>::Error>
fn try_from( value: String, ) -> Result<ConsumerId, <ConsumerId as TryFrom<String>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ConsumerId
impl RefUnwindSafe for ConsumerId
impl Send for ConsumerId
impl Sync for ConsumerId
impl Unpin for ConsumerId
impl UnsafeUnpin for ConsumerId
impl UnwindSafe for ConsumerId
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