pub struct InvalidWorkspaceId { /* private fields */ }
Expand description
The workspace ID must be lower case alphanumeric characters, optionally separated by hyphens.
Implementations§
Source§impl InvalidWorkspaceId
impl InvalidWorkspaceId
Sourcepub fn builder() -> Builder<WorkspaceIdStage>
pub fn builder() -> Builder<WorkspaceIdStage>
Returns a new builder.
Source§impl InvalidWorkspaceId
impl InvalidWorkspaceId
Sourcepub fn new(workspace_id: WorkspaceId) -> Self
pub fn new(workspace_id: WorkspaceId) -> Self
Constructs a new instance of the type.
pub fn workspace_id(&self) -> &WorkspaceId
Trait Implementations§
Source§impl Clone for InvalidWorkspaceId
impl Clone for InvalidWorkspaceId
Source§fn clone(&self) -> InvalidWorkspaceId
fn clone(&self) -> InvalidWorkspaceId
Returns a copy of the value. Read more
1.0.0 · 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 InvalidWorkspaceId
impl Debug for InvalidWorkspaceId
Source§impl<'de> Deserialize<'de> for InvalidWorkspaceId
impl<'de> Deserialize<'de> for InvalidWorkspaceId
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 ErrorType for InvalidWorkspaceId
impl ErrorType for InvalidWorkspaceId
Source§fn instance_id(&self) -> Option<Uuid>
fn instance_id(&self) -> Option<Uuid>
Returns the error’s instance ID, if it stores one. Read more
Source§fn safe_args(&self) -> &'static [&'static str]
fn safe_args(&self) -> &'static [&'static str]
Returns a sorted slice of the names of the error’s safe parameters.
Source§fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
fn with_instance_id(self, instance_id: Uuid) -> WithInstanceId<Self>where
Self: Sized,
Wraps the error in another that overrides its instance ID.
Source§impl From<InvalidWorkspaceId> for Builder<Complete>
impl From<InvalidWorkspaceId> for Builder<Complete>
Source§fn from(v: InvalidWorkspaceId) -> Self
fn from(v: InvalidWorkspaceId) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidWorkspaceId
impl Hash for InvalidWorkspaceId
Source§impl Ord for InvalidWorkspaceId
impl Ord for InvalidWorkspaceId
Source§fn cmp(&self, other: &InvalidWorkspaceId) -> Ordering
fn cmp(&self, other: &InvalidWorkspaceId) -> Ordering
1.21.0 · 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 InvalidWorkspaceId
impl PartialEq for InvalidWorkspaceId
Source§impl PartialOrd for InvalidWorkspaceId
impl PartialOrd for InvalidWorkspaceId
Source§impl Serialize for InvalidWorkspaceId
impl Serialize for InvalidWorkspaceId
impl Eq for InvalidWorkspaceId
impl StructuralPartialEq for InvalidWorkspaceId
Auto Trait Implementations§
impl Freeze for InvalidWorkspaceId
impl RefUnwindSafe for InvalidWorkspaceId
impl Send for InvalidWorkspaceId
impl Sync for InvalidWorkspaceId
impl Unpin for InvalidWorkspaceId
impl UnwindSafe for InvalidWorkspaceId
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
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.