pub struct TeamId(/* private fields */);Available on crate feature
stream only.Expand description
A Team ID
Implementations§
Source§impl TeamId
impl TeamId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newTeamIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<TeamIdRef>
pub fn into_boxed_ref(self) -> Box<TeamIdRef>
Converts this TeamId into a Box<TeamIdRef>
This will drop any excess capacity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TeamId
Available on crate feature serde only.
impl<'de> Deserialize<'de> for TeamId
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TeamId
Source§impl Ord for TeamId
impl Ord for TeamId
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 PartialOrd for TeamId
impl PartialOrd for TeamId
impl StructuralPartialEq for TeamId
Auto Trait Implementations§
impl Freeze for TeamId
impl RefUnwindSafe for TeamId
impl Send for TeamId
impl Sync for TeamId
impl Unpin for TeamId
impl UnsafeUnpin for TeamId
impl UnwindSafe for TeamId
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