pub struct PlatformId(pub String);Expand description
Opaque identifier for the hosted control plane acting as a
principal (Principal::Platform). Names a specific platform
deployment (e.g. hosted-ctrl-plane-prod).
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for PlatformId
impl Clone for PlatformId
Source§fn clone(&self) -> PlatformId
fn clone(&self) -> PlatformId
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 PlatformId
impl Debug for PlatformId
Source§impl<'de> Deserialize<'de> for PlatformId
impl<'de> Deserialize<'de> for PlatformId
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 PlatformId
impl Display for PlatformId
Source§impl From<&str> for PlatformId
impl From<&str> for PlatformId
Source§impl From<String> for PlatformId
impl From<String> for PlatformId
Source§impl Hash for PlatformId
impl Hash for PlatformId
Source§impl Ord for PlatformId
impl Ord for PlatformId
Source§fn cmp(&self, other: &PlatformId) -> Ordering
fn cmp(&self, other: &PlatformId) -> 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 PlatformId
impl PartialEq for PlatformId
Source§fn eq(&self, other: &PlatformId) -> bool
fn eq(&self, other: &PlatformId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PlatformId
impl PartialOrd for PlatformId
Source§impl Serialize for PlatformId
impl Serialize for PlatformId
impl Eq for PlatformId
impl StructuralPartialEq for PlatformId
Auto Trait Implementations§
impl Freeze for PlatformId
impl RefUnwindSafe for PlatformId
impl Send for PlatformId
impl Sync for PlatformId
impl Unpin for PlatformId
impl UnsafeUnpin for PlatformId
impl UnwindSafe for PlatformId
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