pub struct WorkspaceId(/* private fields */);Implementations§
Source§impl WorkspaceId
impl WorkspaceId
pub fn new(value: impl Into<String>) -> Result<WorkspaceId, NodeIdentifierError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl AsRef<str> for WorkspaceId
impl AsRef<str> for WorkspaceId
Source§impl Borrow<str> for WorkspaceId
impl Borrow<str> for WorkspaceId
Source§impl Clone for WorkspaceId
impl Clone for WorkspaceId
Source§fn clone(&self) -> WorkspaceId
fn clone(&self) -> WorkspaceId
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 WorkspaceId
impl Debug for WorkspaceId
Source§impl<'de> Deserialize<'de> for WorkspaceId
impl<'de> Deserialize<'de> for WorkspaceId
Source§fn deserialize<D>(
deserializer: D,
) -> Result<WorkspaceId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<WorkspaceId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WorkspaceId
impl Display for WorkspaceId
impl Eq for WorkspaceId
Source§impl FromStr for WorkspaceId
impl FromStr for WorkspaceId
Source§type Err = NodeIdentifierError
type Err = NodeIdentifierError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<WorkspaceId, <WorkspaceId as FromStr>::Err>
fn from_str(value: &str) -> Result<WorkspaceId, <WorkspaceId as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for WorkspaceId
impl Hash for WorkspaceId
Source§impl Ord for WorkspaceId
impl Ord for WorkspaceId
Source§fn cmp(&self, other: &WorkspaceId) -> Ordering
fn cmp(&self, other: &WorkspaceId) -> 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 WorkspaceId
impl PartialEq for WorkspaceId
Source§impl PartialOrd for WorkspaceId
impl PartialOrd for WorkspaceId
Source§impl Serialize for WorkspaceId
impl Serialize for WorkspaceId
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 WorkspaceId
Auto Trait Implementations§
impl Freeze for WorkspaceId
impl RefUnwindSafe for WorkspaceId
impl Send for WorkspaceId
impl Sync for WorkspaceId
impl Unpin for WorkspaceId
impl UnsafeUnpin for WorkspaceId
impl UnwindSafe for WorkspaceId
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