pub struct UpdateGroup {
pub description: Option<String>,
pub group_alias: String,
pub json: Option<bool>,
pub name: String,
pub new_name: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub user_assignment: Option<String>,
}Fields§
§description: Option<String>Description of the object
group_alias: StringA short group alias
json: Option<bool>Set output format to JSON
name: StringGroup name
new_name: Option<String>Group new name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
user_assignment: Option<String>A json string defining the access permission assignment for this client
Implementations§
Source§impl UpdateGroup
impl UpdateGroup
pub fn new(group_alias: String, name: String) -> UpdateGroup
Trait Implementations§
Source§impl Clone for UpdateGroup
impl Clone for UpdateGroup
Source§fn clone(&self) -> UpdateGroup
fn clone(&self) -> UpdateGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateGroup
impl Debug for UpdateGroup
Source§impl Default for UpdateGroup
impl Default for UpdateGroup
Source§fn default() -> UpdateGroup
fn default() -> UpdateGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateGroup
impl<'de> Deserialize<'de> for UpdateGroup
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 UpdateGroup
impl PartialEq for UpdateGroup
Source§fn eq(&self, other: &UpdateGroup) -> bool
fn eq(&self, other: &UpdateGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateGroup
impl Serialize for UpdateGroup
impl StructuralPartialEq for UpdateGroup
Auto Trait Implementations§
impl Freeze for UpdateGroup
impl RefUnwindSafe for UpdateGroup
impl Send for UpdateGroup
impl Sync for UpdateGroup
impl Unpin for UpdateGroup
impl UnsafeUnpin for UpdateGroup
impl UnwindSafe for UpdateGroup
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