pub struct UpdateModeratorBody {
pub name: Option<String>,
pub email: Option<String>,
pub user_id: Option<String>,
pub moderation_group_ids: Option<Vec<String>>,
}Fields§
§name: Option<String>§email: Option<String>§user_id: Option<String>§moderation_group_ids: Option<Vec<String>>Implementations§
Source§impl UpdateModeratorBody
impl UpdateModeratorBody
pub fn new() -> UpdateModeratorBody
Trait Implementations§
Source§impl Clone for UpdateModeratorBody
impl Clone for UpdateModeratorBody
Source§fn clone(&self) -> UpdateModeratorBody
fn clone(&self) -> UpdateModeratorBody
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 UpdateModeratorBody
impl Debug for UpdateModeratorBody
Source§impl Default for UpdateModeratorBody
impl Default for UpdateModeratorBody
Source§fn default() -> UpdateModeratorBody
fn default() -> UpdateModeratorBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateModeratorBody
impl<'de> Deserialize<'de> for UpdateModeratorBody
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 UpdateModeratorBody
impl PartialEq for UpdateModeratorBody
Source§impl Serialize for UpdateModeratorBody
impl Serialize for UpdateModeratorBody
impl StructuralPartialEq for UpdateModeratorBody
Auto Trait Implementations§
impl Freeze for UpdateModeratorBody
impl RefUnwindSafe for UpdateModeratorBody
impl Send for UpdateModeratorBody
impl Sync for UpdateModeratorBody
impl Unpin for UpdateModeratorBody
impl UnwindSafe for UpdateModeratorBody
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