pub struct CtxId(pub String);Expand description
acdp://<authority>/<uuid-v4> — registry-assigned context identifier.
Tuple Fields§
§0: StringImplementations§
Source§impl CtxId
impl CtxId
Extract the authority (DNS hostname) component.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CtxId
impl<'de> Deserialize<'de> for CtxId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CtxId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CtxId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CtxId
Source§impl Serialize for CtxId
impl Serialize for CtxId
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 CtxId
Auto Trait Implementations§
impl Freeze for CtxId
impl RefUnwindSafe for CtxId
impl Send for CtxId
impl Sync for CtxId
impl Unpin for CtxId
impl UnsafeUnpin for CtxId
impl UnwindSafe for CtxId
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,
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.