pub struct ControllerId(/* private fields */);Implementations§
Source§impl ControllerId
impl ControllerId
pub fn new(value: impl Into<String>) -> Result<ControllerId, DagMlError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for ControllerId
impl Clone for ControllerId
Source§fn clone(&self) -> ControllerId
fn clone(&self) -> ControllerId
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 ControllerId
impl Debug for ControllerId
Source§impl<'de> Deserialize<'de> for ControllerId
impl<'de> Deserialize<'de> for ControllerId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ControllerId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ControllerId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ControllerId
impl Display for ControllerId
impl Eq for ControllerId
Source§impl Hash for ControllerId
impl Hash for ControllerId
Source§impl Ord for ControllerId
impl Ord for ControllerId
Source§fn cmp(&self, other: &ControllerId) -> Ordering
fn cmp(&self, other: &ControllerId) -> 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 ControllerId
impl PartialEq for ControllerId
Source§fn eq(&self, other: &ControllerId) -> bool
fn eq(&self, other: &ControllerId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ControllerId
impl PartialOrd for ControllerId
Source§impl Serialize for ControllerId
impl Serialize for ControllerId
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 ControllerId
Source§impl TryFrom<String> for ControllerId
impl TryFrom<String> for ControllerId
Source§type Error = DagMlError
type Error = DagMlError
The type returned in the event of a conversion error.
Source§fn try_from(value: String) -> Result<ControllerId, DagMlError>
fn try_from(value: String) -> Result<ControllerId, DagMlError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ControllerId
impl RefUnwindSafe for ControllerId
impl Send for ControllerId
impl Sync for ControllerId
impl Unpin for ControllerId
impl UnsafeUnpin for ControllerId
impl UnwindSafe for ControllerId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.