pub struct McpServerId(/* private fields */);Implementations§
Source§impl McpServerId
impl McpServerId
Source§impl McpServerId
impl McpServerId
pub fn from_env() -> Result<Self, IdValidationError>
Trait Implementations§
Source§impl AsRef<str> for McpServerId
impl AsRef<str> for McpServerId
Source§impl Borrow<str> for McpServerId
impl Borrow<str> for McpServerId
Source§impl Clone for McpServerId
impl Clone for McpServerId
Source§fn clone(&self) -> McpServerId
fn clone(&self) -> McpServerId
Returns a duplicate 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 McpServerId
impl Debug for McpServerId
Source§impl<'de> Deserialize<'de> for McpServerId
impl<'de> Deserialize<'de> for McpServerId
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 McpServerId
impl Display for McpServerId
Source§impl From<&McpServerId> for String
impl From<&McpServerId> for String
Source§fn from(id: &McpServerId) -> Self
fn from(id: &McpServerId) -> Self
Converts to this type from the input type.
Source§impl From<McpServerId> for String
impl From<McpServerId> for String
Source§fn from(id: McpServerId) -> Self
fn from(id: McpServerId) -> Self
Converts to this type from the input type.
Source§impl FromStr for McpServerId
impl FromStr for McpServerId
Source§impl Hash for McpServerId
impl Hash for McpServerId
Source§impl Ord for McpServerId
impl Ord for McpServerId
Source§fn cmp(&self, other: &McpServerId) -> Ordering
fn cmp(&self, other: &McpServerId) -> 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<&str> for McpServerId
impl PartialEq<&str> for McpServerId
Source§impl PartialEq<McpServerId> for &str
impl PartialEq<McpServerId> for &str
Source§impl PartialEq<McpServerId> for str
impl PartialEq<McpServerId> for str
Source§impl PartialEq<str> for McpServerId
impl PartialEq<str> for McpServerId
Source§impl PartialEq for McpServerId
impl PartialEq for McpServerId
Source§impl PartialOrd for McpServerId
impl PartialOrd for McpServerId
Source§impl Serialize for McpServerId
impl Serialize for McpServerId
Source§impl ToDbValue for &McpServerId
impl ToDbValue for &McpServerId
fn to_db_value(&self) -> DbValue
fn null_db_value() -> DbValuewhere
Self: Sized,
Source§impl ToDbValue for McpServerId
impl ToDbValue for McpServerId
fn to_db_value(&self) -> DbValue
fn null_db_value() -> DbValuewhere
Self: Sized,
Source§impl TryFrom<&str> for McpServerId
impl TryFrom<&str> for McpServerId
Source§impl TryFrom<String> for McpServerId
impl TryFrom<String> for McpServerId
impl Eq for McpServerId
impl StructuralPartialEq for McpServerId
Auto Trait Implementations§
impl Freeze for McpServerId
impl RefUnwindSafe for McpServerId
impl Send for McpServerId
impl Sync for McpServerId
impl Unpin for McpServerId
impl UnsafeUnpin for McpServerId
impl UnwindSafe for McpServerId
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.