#[non_exhaustive]pub struct UpdateGroupRequest {
pub group: Option<Group>,
pub validate_only: bool,
}Expand description
The UpdateGroup request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group: Option<Group>Required. The new definition of the group. All fields of the existing
group, excepting name, are replaced with the corresponding fields of this
group.
validate_only: boolIf true, validate this request but do not update the existing group.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateGroupRequest
impl Clone for UpdateGroupRequest
Source§fn clone(&self) -> UpdateGroupRequest
fn clone(&self) -> UpdateGroupRequest
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 UpdateGroupRequest
impl Debug for UpdateGroupRequest
Source§impl Default for UpdateGroupRequest
impl Default for UpdateGroupRequest
Source§fn default() -> UpdateGroupRequest
fn default() -> UpdateGroupRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateGroupRequestwhere
UpdateGroupRequest: Default,
impl<'de> Deserialize<'de> for UpdateGroupRequestwhere
UpdateGroupRequest: Default,
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 Message for UpdateGroupRequest
impl Message for UpdateGroupRequest
Source§impl PartialEq for UpdateGroupRequest
impl PartialEq for UpdateGroupRequest
Source§impl Serialize for UpdateGroupRequest
impl Serialize for UpdateGroupRequest
impl StructuralPartialEq for UpdateGroupRequest
Auto Trait Implementations§
impl Freeze for UpdateGroupRequest
impl RefUnwindSafe for UpdateGroupRequest
impl Send for UpdateGroupRequest
impl Sync for UpdateGroupRequest
impl Unpin for UpdateGroupRequest
impl UnwindSafe for UpdateGroupRequest
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