pub struct GetModeratorResponse {
pub status: ApiStatus,
pub moderator: Box<Moderator>,
}Fields§
§status: ApiStatus§moderator: Box<Moderator>Implementations§
Source§impl GetModeratorResponse
impl GetModeratorResponse
pub fn new(status: ApiStatus, moderator: Moderator) -> GetModeratorResponse
Trait Implementations§
Source§impl Clone for GetModeratorResponse
impl Clone for GetModeratorResponse
Source§fn clone(&self) -> GetModeratorResponse
fn clone(&self) -> GetModeratorResponse
Returns a duplicate 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 GetModeratorResponse
impl Debug for GetModeratorResponse
Source§impl Default for GetModeratorResponse
impl Default for GetModeratorResponse
Source§fn default() -> GetModeratorResponse
fn default() -> GetModeratorResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetModeratorResponse
impl<'de> Deserialize<'de> for GetModeratorResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetModeratorResponse
impl PartialEq for GetModeratorResponse
Source§impl Serialize for GetModeratorResponse
impl Serialize for GetModeratorResponse
impl StructuralPartialEq for GetModeratorResponse
Auto Trait Implementations§
impl Freeze for GetModeratorResponse
impl RefUnwindSafe for GetModeratorResponse
impl Send for GetModeratorResponse
impl Sync for GetModeratorResponse
impl Unpin for GetModeratorResponse
impl UnwindSafe for GetModeratorResponse
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