pub struct SupervisorDisplayName(/* private fields */);Expand description
How a supervisor is named to the agent it interrupted.
A label for a person or a service, kept short and free of control characters because it is rendered straight into a host’s transcript. It is never an identity: the principal id is what authorization is checked against, and this is only what the reader sees.
Implementations§
Trait Implementations§
Source§impl Clone for SupervisorDisplayName
impl Clone for SupervisorDisplayName
Source§impl Debug for SupervisorDisplayName
impl Debug for SupervisorDisplayName
Source§impl<'de> Deserialize<'de> for SupervisorDisplayName
impl<'de> Deserialize<'de> for SupervisorDisplayName
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SupervisorDisplayName
impl Display for SupervisorDisplayName
impl Eq for SupervisorDisplayName
Source§impl Hash for SupervisorDisplayName
impl Hash for SupervisorDisplayName
Source§impl Ord for SupervisorDisplayName
impl Ord for SupervisorDisplayName
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 SupervisorDisplayName
impl PartialEq for SupervisorDisplayName
Source§impl PartialOrd for SupervisorDisplayName
impl PartialOrd for SupervisorDisplayName
Source§impl Serialize for SupervisorDisplayName
impl Serialize for SupervisorDisplayName
impl StructuralPartialEq for SupervisorDisplayName
Auto Trait Implementations§
impl Freeze for SupervisorDisplayName
impl RefUnwindSafe for SupervisorDisplayName
impl Send for SupervisorDisplayName
impl Sync for SupervisorDisplayName
impl Unpin for SupervisorDisplayName
impl UnsafeUnpin for SupervisorDisplayName
impl UnwindSafe for SupervisorDisplayName
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