pub struct GuestStarSessionId(/* private fields */);
Available on crate feature
stream
only.Expand description
A Guest Star Session ID
Implementations§
Source§impl GuestStarSessionId
impl GuestStarSessionId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newGuestStarSessionIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<GuestStarSessionIdRef>
pub fn into_boxed_ref(self) -> Box<GuestStarSessionIdRef>
Converts this GuestStarSessionId
into a Box<GuestStarSessionIdRef>
This will drop any excess capacity.
Methods from Deref<Target = GuestStarSessionIdRef>§
Sourcepub fn as_cow(&self) -> Cow<'_, GuestStarSessionIdRef>
pub fn as_cow(&self) -> Cow<'_, GuestStarSessionIdRef>
Trait Implementations§
Source§impl AsRef<GuestStarSessionIdRef> for GuestStarSessionId
impl AsRef<GuestStarSessionIdRef> for GuestStarSessionId
Source§fn as_ref(&self) -> &GuestStarSessionIdRef
fn as_ref(&self) -> &GuestStarSessionIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for GuestStarSessionId
impl AsRef<str> for GuestStarSessionId
Source§impl Borrow<GuestStarSessionIdRef> for GuestStarSessionId
impl Borrow<GuestStarSessionIdRef> for GuestStarSessionId
Source§fn borrow(&self) -> &GuestStarSessionIdRef
fn borrow(&self) -> &GuestStarSessionIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for GuestStarSessionId
impl Borrow<str> for GuestStarSessionId
Source§impl Clone for GuestStarSessionId
impl Clone for GuestStarSessionId
Source§fn clone(&self) -> GuestStarSessionId
fn clone(&self) -> GuestStarSessionId
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 GuestStarSessionId
impl Debug for GuestStarSessionId
Source§impl Deref for GuestStarSessionId
impl Deref for GuestStarSessionId
Source§impl<'de> Deserialize<'de> for GuestStarSessionId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for GuestStarSessionId
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
Source§impl Display for GuestStarSessionId
impl Display for GuestStarSessionId
Source§impl<'a> From<&'a GuestStarSessionId> for &'a GuestStarSessionIdRef
impl<'a> From<&'a GuestStarSessionId> for &'a GuestStarSessionIdRef
Source§fn from(owned: &'a GuestStarSessionId) -> Self
fn from(owned: &'a GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a GuestStarSessionId> for Collection<'a, GuestStarSessionId>
impl<'a> From<&'a GuestStarSessionId> for Collection<'a, GuestStarSessionId>
Source§fn from(v: &'a GuestStarSessionId) -> Self
fn from(v: &'a GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a GuestStarSessionId> for Cow<'a, GuestStarSessionIdRef>
impl<'a> From<&'a GuestStarSessionId> for Cow<'a, GuestStarSessionIdRef>
Source§fn from(owned: &'a GuestStarSessionId) -> Self
fn from(owned: &'a GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl From<&GuestStarSessionIdRef> for GuestStarSessionId
impl From<&GuestStarSessionIdRef> for GuestStarSessionId
Source§fn from(s: &GuestStarSessionIdRef) -> Self
fn from(s: &GuestStarSessionIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for GuestStarSessionId
impl From<&str> for GuestStarSessionId
Source§impl From<Box<GuestStarSessionIdRef>> for GuestStarSessionId
impl From<Box<GuestStarSessionIdRef>> for GuestStarSessionId
Source§fn from(r: Box<GuestStarSessionIdRef>) -> Self
fn from(r: Box<GuestStarSessionIdRef>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, GuestStarSessionIdRef>> for GuestStarSessionId
impl<'a> From<Cow<'a, GuestStarSessionIdRef>> for GuestStarSessionId
Source§fn from(r: Cow<'a, GuestStarSessionIdRef>) -> Self
fn from(r: Cow<'a, GuestStarSessionIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<GuestStarSessionId> for Box<GuestStarSessionIdRef>
impl From<GuestStarSessionId> for Box<GuestStarSessionIdRef>
Source§fn from(r: GuestStarSessionId) -> Self
fn from(r: GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<GuestStarSessionId> for Cow<'a, GuestStarSessionIdRef>
impl<'a> From<GuestStarSessionId> for Cow<'a, GuestStarSessionIdRef>
Source§fn from(owned: GuestStarSessionId) -> Self
fn from(owned: GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl From<GuestStarSessionId> for String
impl From<GuestStarSessionId> for String
Source§fn from(s: GuestStarSessionId) -> Self
fn from(s: GuestStarSessionId) -> Self
Converts to this type from the input type.
Source§impl From<String> for GuestStarSessionId
impl From<String> for GuestStarSessionId
Source§impl FromStr for GuestStarSessionId
impl FromStr for GuestStarSessionId
Source§impl Hash for GuestStarSessionId
impl Hash for GuestStarSessionId
Source§impl<'a> IntoCow<'a, GuestStarSessionIdRef> for &'a GuestStarSessionId
impl<'a> IntoCow<'a, GuestStarSessionIdRef> for &'a GuestStarSessionId
Source§fn into_cow(self) -> Cow<'a, GuestStarSessionIdRef>
fn into_cow(self) -> Cow<'a, GuestStarSessionIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, GuestStarSessionIdRef> for GuestStarSessionId
impl<'a> IntoCow<'a, GuestStarSessionIdRef> for GuestStarSessionId
Source§fn into_cow(self) -> Cow<'a, GuestStarSessionIdRef>
fn into_cow(self) -> Cow<'a, GuestStarSessionIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for GuestStarSessionId
impl Ord for GuestStarSessionId
Source§impl PartialEq<&GuestStarSessionId> for GuestStarSessionId
impl PartialEq<&GuestStarSessionId> for GuestStarSessionId
Source§impl PartialEq for GuestStarSessionId
impl PartialEq for GuestStarSessionId
Source§impl PartialOrd for GuestStarSessionId
impl PartialOrd for GuestStarSessionId
Source§impl Serialize for GuestStarSessionId
Available on crate feature serde
only.
impl Serialize for GuestStarSessionId
Available on crate feature
serde
only.impl Eq for GuestStarSessionId
impl StructuralPartialEq for GuestStarSessionId
Auto Trait Implementations§
impl Freeze for GuestStarSessionId
impl RefUnwindSafe for GuestStarSessionId
impl Send for GuestStarSessionId
impl Sync for GuestStarSessionId
impl Unpin for GuestStarSessionId
impl UnwindSafe for GuestStarSessionId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)