pub struct UnbanRequestId(/* private fields */);
Available on crate feature
moderation
only.Expand description
An unban request ID
Implementations§
Source§impl UnbanRequestId
impl UnbanRequestId
Sourcepub fn from_static(raw: &'static str) -> Self
pub fn from_static(raw: &'static str) -> Self
Constructs a newUnbanRequestIdfrom a static reference
Sourcepub fn into_boxed_ref(self) -> Box<UnbanRequestIdRef>
pub fn into_boxed_ref(self) -> Box<UnbanRequestIdRef>
Converts this UnbanRequestId
into a Box<UnbanRequestIdRef>
This will drop any excess capacity.
Methods from Deref<Target = 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 UnbanRequestId
impl AsRef<str> for UnbanRequestId
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 UnbanRequestId
impl Borrow<str> for UnbanRequestId
Source§impl Clone for UnbanRequestId
impl Clone for UnbanRequestId
Source§fn clone(&self) -> UnbanRequestId
fn clone(&self) -> UnbanRequestId
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 UnbanRequestId
impl Debug for UnbanRequestId
Source§impl Deref for UnbanRequestId
impl Deref for UnbanRequestId
Source§impl<'de> Deserialize<'de> for UnbanRequestId
Available on crate feature serde
only.
impl<'de> Deserialize<'de> for UnbanRequestId
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 UnbanRequestId
impl Display for UnbanRequestId
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<'a> From<&'a UnbanRequestId> for Collection<'a, UnbanRequestId>
impl<'a> From<&'a UnbanRequestId> for Collection<'a, UnbanRequestId>
Source§fn from(v: &'a UnbanRequestId) -> Self
fn from(v: &'a UnbanRequestId) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a UnbanRequestId> for Cow<'a, UnbanRequestIdRef>
impl<'a> From<&'a UnbanRequestId> for Cow<'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 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 From<&str> for UnbanRequestId
impl From<&str> for UnbanRequestId
Source§impl From<Box<UnbanRequestIdRef>> for UnbanRequestId
impl From<Box<UnbanRequestIdRef>> for UnbanRequestId
Source§fn from(r: Box<UnbanRequestIdRef>) -> Self
fn from(r: Box<UnbanRequestIdRef>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Cow<'a, UnbanRequestIdRef>> for UnbanRequestId
impl<'a> From<Cow<'a, UnbanRequestIdRef>> for UnbanRequestId
Source§fn from(r: Cow<'a, UnbanRequestIdRef>) -> Self
fn from(r: Cow<'a, UnbanRequestIdRef>) -> Self
Converts to this type from the input type.
Source§impl From<String> for UnbanRequestId
impl From<String> for UnbanRequestId
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<'a> From<UnbanRequestId> for Cow<'a, UnbanRequestIdRef>
impl<'a> From<UnbanRequestId> for Cow<'a, UnbanRequestIdRef>
Source§fn from(owned: UnbanRequestId) -> Self
fn from(owned: UnbanRequestId) -> Self
Converts to this type from the input type.
Source§impl From<UnbanRequestId> for String
impl From<UnbanRequestId> for String
Source§fn from(s: UnbanRequestId) -> Self
fn from(s: UnbanRequestId) -> Self
Converts to this type from the input type.
Source§impl FromStr for UnbanRequestId
impl FromStr for UnbanRequestId
Source§impl Hash for UnbanRequestId
impl Hash for UnbanRequestId
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 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 UnbanRequestId
impl Ord for UnbanRequestId
Source§impl PartialEq<&UnbanRequestId> for UnbanRequestId
impl PartialEq<&UnbanRequestId> for UnbanRequestId
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 UnbanRequestId
impl PartialEq for UnbanRequestId
Source§impl PartialOrd for UnbanRequestId
impl PartialOrd for UnbanRequestId
Source§impl Serialize for UnbanRequestId
Available on crate feature serde
only.
impl Serialize for UnbanRequestId
Available on crate feature
serde
only.impl Eq for UnbanRequestId
impl StructuralPartialEq for UnbanRequestId
Auto Trait Implementations§
impl Freeze for UnbanRequestId
impl RefUnwindSafe for UnbanRequestId
impl Send for UnbanRequestId
impl Sync for UnbanRequestId
impl Unpin for UnbanRequestId
impl UnwindSafe for UnbanRequestId
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
)