pub struct GuestStarSessionIdRef(/* private fields */);
Available on crate feature
stream
only.Expand description
A Guest Star Session ID
Implementations§
Source§impl GuestStarSessionIdRef
impl GuestStarSessionIdRef
Sourcepub const fn from_str(raw: &str) -> &Self
pub const fn from_str(raw: &str) -> &Self
Transparently reinterprets the string slice as a strongly-typed GuestStarSessionIdRef
Sourcepub const fn from_static(raw: &'static str) -> &'static Self
pub const fn from_static(raw: &'static str) -> &'static Self
Transparently reinterprets the static string slice as a strongly-typed GuestStarSessionIdRef
Sourcepub fn into_owned(self: Box<GuestStarSessionIdRef>) -> GuestStarSessionId
pub fn into_owned(self: Box<GuestStarSessionIdRef>) -> GuestStarSessionId
Converts a Box<GuestStarSessionIdRef>
into a GuestStarSessionId
without copying or allocating
Source§impl GuestStarSessionIdRef
impl 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 GuestStarSessionIdRef
impl AsRef<str> for GuestStarSessionIdRef
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 GuestStarSessionIdRef
impl Borrow<str> for GuestStarSessionIdRef
Source§impl Debug for GuestStarSessionIdRef
impl Debug for GuestStarSessionIdRef
Source§impl<'de: 'a, 'a> Deserialize<'de> for &'a GuestStarSessionIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a GuestStarSessionIdRef
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<'de> Deserialize<'de> for Box<GuestStarSessionIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<GuestStarSessionIdRef>
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 GuestStarSessionIdRef
impl Display for GuestStarSessionIdRef
Source§impl<'a> From<&'a &'a GuestStarSessionIdRef> for Collection<'a, GuestStarSessionId>
impl<'a> From<&'a &'a GuestStarSessionIdRef> for Collection<'a, GuestStarSessionId>
Source§fn from(v: &'a &'a GuestStarSessionIdRef) -> Self
fn from(v: &'a &'a GuestStarSessionIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b: 'a> From<&'a Cow<'b, GuestStarSessionIdRef>> for &'a GuestStarSessionIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, GuestStarSessionIdRef>> for &'a GuestStarSessionIdRef
Source§fn from(r: &'a Cow<'b, GuestStarSessionIdRef>) -> &'a GuestStarSessionIdRef
fn from(r: &'a Cow<'b, GuestStarSessionIdRef>) -> &'a GuestStarSessionIdRef
Converts to this type from the input type.
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 From<&GuestStarSessionIdRef> for Arc<GuestStarSessionIdRef>
impl From<&GuestStarSessionIdRef> for Arc<GuestStarSessionIdRef>
Source§fn from(r: &GuestStarSessionIdRef) -> Self
fn from(r: &GuestStarSessionIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a GuestStarSessionIdRef> for Cow<'a, GuestStarSessionIdRef>
impl<'a> From<&'a GuestStarSessionIdRef> for Cow<'a, GuestStarSessionIdRef>
Source§fn from(r: &'a GuestStarSessionIdRef) -> Self
fn from(r: &'a GuestStarSessionIdRef) -> 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<&GuestStarSessionIdRef> for Rc<GuestStarSessionIdRef>
impl From<&GuestStarSessionIdRef> for Rc<GuestStarSessionIdRef>
Source§fn from(r: &GuestStarSessionIdRef) -> Self
fn from(r: &GuestStarSessionIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a String> for &'a GuestStarSessionIdRef
impl<'a> From<&'a String> for &'a GuestStarSessionIdRef
Source§impl<'a> From<&'a str> for &'a GuestStarSessionIdRef
impl<'a> From<&'a str> for &'a GuestStarSessionIdRef
Source§fn from(s: &'a str) -> &'a GuestStarSessionIdRef
fn from(s: &'a str) -> &'a GuestStarSessionIdRef
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 Hash for GuestStarSessionIdRef
impl Hash for GuestStarSessionIdRef
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 &'a GuestStarSessionIdRef
impl<'a> IntoCow<'a, GuestStarSessionIdRef> for &'a GuestStarSessionIdRef
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 GuestStarSessionIdRef
impl Ord for GuestStarSessionIdRef
Source§impl PartialEq for GuestStarSessionIdRef
impl PartialEq for GuestStarSessionIdRef
Source§impl PartialOrd for GuestStarSessionIdRef
impl PartialOrd for GuestStarSessionIdRef
Source§impl Serialize for GuestStarSessionIdRef
Available on crate feature serde
only.
impl Serialize for GuestStarSessionIdRef
Available on crate feature
serde
only.Source§impl ToOwned for GuestStarSessionIdRef
impl ToOwned for GuestStarSessionIdRef
Source§type Owned = GuestStarSessionId
type Owned = GuestStarSessionId
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more