pub struct UnbanRequestIdRef(/* private fields */);
Available on crate feature
moderation
only.Expand description
An unban request ID
Implementations§
Source§impl UnbanRequestIdRef
impl UnbanRequestIdRef
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 UnbanRequestIdRef
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 UnbanRequestIdRef
Sourcepub fn into_owned(self: Box<UnbanRequestIdRef>) -> UnbanRequestId
pub fn into_owned(self: Box<UnbanRequestIdRef>) -> UnbanRequestId
Converts a Box<UnbanRequestIdRef>
into a UnbanRequestId
without copying or allocating
Source§impl UnbanRequestIdRef
impl UnbanRequestIdRef
Sourcepub fn as_cow(&self) -> Cow<'_, UnbanRequestIdRef>
pub fn as_cow(&self) -> Cow<'_, UnbanRequestIdRef>
Trait Implementations§
Source§impl AsRef<UnbanRequestIdRef> for UnbanRequestId
impl AsRef<UnbanRequestIdRef> for UnbanRequestId
Source§fn as_ref(&self) -> &UnbanRequestIdRef
fn as_ref(&self) -> &UnbanRequestIdRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<str> for UnbanRequestIdRef
impl AsRef<str> for UnbanRequestIdRef
Source§impl Borrow<UnbanRequestIdRef> for UnbanRequestId
impl Borrow<UnbanRequestIdRef> for UnbanRequestId
Source§fn borrow(&self) -> &UnbanRequestIdRef
fn borrow(&self) -> &UnbanRequestIdRef
Immutably borrows from an owned value. Read more
Source§impl Borrow<str> for UnbanRequestIdRef
impl Borrow<str> for UnbanRequestIdRef
Source§impl Debug for UnbanRequestIdRef
impl Debug for UnbanRequestIdRef
Source§impl<'de: 'a, 'a> Deserialize<'de> for &'a UnbanRequestIdRef
Available on crate feature serde
only.
impl<'de: 'a, 'a> Deserialize<'de> for &'a UnbanRequestIdRef
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<UnbanRequestIdRef>
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for Box<UnbanRequestIdRef>
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 UnbanRequestIdRef
impl Display for UnbanRequestIdRef
Source§impl<'a> From<&'a &'a UnbanRequestIdRef> for Collection<'a, UnbanRequestId>
impl<'a> From<&'a &'a UnbanRequestIdRef> for Collection<'a, UnbanRequestId>
Source§fn from(v: &'a &'a UnbanRequestIdRef) -> Self
fn from(v: &'a &'a UnbanRequestIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a, 'b: 'a> From<&'a Cow<'b, UnbanRequestIdRef>> for &'a UnbanRequestIdRef
impl<'a, 'b: 'a> From<&'a Cow<'b, UnbanRequestIdRef>> for &'a UnbanRequestIdRef
Source§fn from(r: &'a Cow<'b, UnbanRequestIdRef>) -> &'a UnbanRequestIdRef
fn from(r: &'a Cow<'b, UnbanRequestIdRef>) -> &'a UnbanRequestIdRef
Converts to this type from the input type.
Source§impl<'a> From<&'a String> for &'a UnbanRequestIdRef
impl<'a> From<&'a String> for &'a UnbanRequestIdRef
Source§impl<'a> From<&'a UnbanRequestId> for &'a UnbanRequestIdRef
impl<'a> From<&'a UnbanRequestId> for &'a UnbanRequestIdRef
Source§fn from(owned: &'a UnbanRequestId) -> Self
fn from(owned: &'a UnbanRequestId) -> Self
Converts to this type from the input type.
Source§impl From<&UnbanRequestIdRef> for Arc<UnbanRequestIdRef>
impl From<&UnbanRequestIdRef> for Arc<UnbanRequestIdRef>
Source§fn from(r: &UnbanRequestIdRef) -> Self
fn from(r: &UnbanRequestIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a UnbanRequestIdRef> for Cow<'a, UnbanRequestIdRef>
impl<'a> From<&'a UnbanRequestIdRef> for Cow<'a, UnbanRequestIdRef>
Source§fn from(r: &'a UnbanRequestIdRef) -> Self
fn from(r: &'a UnbanRequestIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&UnbanRequestIdRef> for Rc<UnbanRequestIdRef>
impl From<&UnbanRequestIdRef> for Rc<UnbanRequestIdRef>
Source§fn from(r: &UnbanRequestIdRef) -> Self
fn from(r: &UnbanRequestIdRef) -> Self
Converts to this type from the input type.
Source§impl From<&UnbanRequestIdRef> for UnbanRequestId
impl From<&UnbanRequestIdRef> for UnbanRequestId
Source§fn from(s: &UnbanRequestIdRef) -> Self
fn from(s: &UnbanRequestIdRef) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a str> for &'a UnbanRequestIdRef
impl<'a> From<&'a str> for &'a UnbanRequestIdRef
Source§fn from(s: &'a str) -> &'a UnbanRequestIdRef
fn from(s: &'a str) -> &'a UnbanRequestIdRef
Converts to this type from the input type.
Source§impl From<UnbanRequestId> for Box<UnbanRequestIdRef>
impl From<UnbanRequestId> for Box<UnbanRequestIdRef>
Source§fn from(r: UnbanRequestId) -> Self
fn from(r: UnbanRequestId) -> Self
Converts to this type from the input type.
Source§impl Hash for UnbanRequestIdRef
impl Hash for UnbanRequestIdRef
Source§impl<'a> IntoCow<'a, UnbanRequestIdRef> for &'a UnbanRequestId
impl<'a> IntoCow<'a, UnbanRequestIdRef> for &'a UnbanRequestId
Source§fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, UnbanRequestIdRef> for &'a UnbanRequestIdRef
impl<'a> IntoCow<'a, UnbanRequestIdRef> for &'a UnbanRequestIdRef
Source§fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
Make the cow with proper ownership, muu
Source§impl<'a> IntoCow<'a, UnbanRequestIdRef> for UnbanRequestId
impl<'a> IntoCow<'a, UnbanRequestIdRef> for UnbanRequestId
Source§fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
fn into_cow(self) -> Cow<'a, UnbanRequestIdRef>
Make the cow with proper ownership, muu
Source§impl Ord for UnbanRequestIdRef
impl Ord for UnbanRequestIdRef
Source§impl PartialEq<&UnbanRequestIdRef> for UnbanRequestId
impl PartialEq<&UnbanRequestIdRef> for UnbanRequestId
Source§impl PartialEq<UnbanRequestId> for &UnbanRequestIdRef
impl PartialEq<UnbanRequestId> for &UnbanRequestIdRef
Source§impl PartialEq<UnbanRequestId> for UnbanRequestIdRef
impl PartialEq<UnbanRequestId> for UnbanRequestIdRef
Source§impl PartialEq<UnbanRequestIdRef> for UnbanRequestId
impl PartialEq<UnbanRequestIdRef> for UnbanRequestId
Source§impl PartialEq for UnbanRequestIdRef
impl PartialEq for UnbanRequestIdRef
Source§impl PartialOrd for UnbanRequestIdRef
impl PartialOrd for UnbanRequestIdRef
Source§impl Serialize for UnbanRequestIdRef
Available on crate feature serde
only.
impl Serialize for UnbanRequestIdRef
Available on crate feature
serde
only.Source§impl ToOwned for UnbanRequestIdRef
impl ToOwned for UnbanRequestIdRef
Source§type Owned = UnbanRequestId
type Owned = UnbanRequestId
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