pub struct CreateGroup {
pub description: Option<String>,
pub group_alias: String,
pub json: Option<bool>,
pub name: 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
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 CreateGroup
impl CreateGroup
pub fn new(group_alias: String, name: String) -> CreateGroup
Trait Implementations§
Source§impl Clone for CreateGroup
impl Clone for CreateGroup
Source§fn clone(&self) -> CreateGroup
fn clone(&self) -> CreateGroup
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 CreateGroup
impl Debug for CreateGroup
Source§impl Default for CreateGroup
impl Default for CreateGroup
Source§fn default() -> CreateGroup
fn default() -> CreateGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateGroup
impl<'de> Deserialize<'de> for CreateGroup
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 CreateGroup
impl PartialEq for CreateGroup
Source§fn eq(&self, other: &CreateGroup) -> bool
fn eq(&self, other: &CreateGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateGroup
impl Serialize for CreateGroup
impl StructuralPartialEq for CreateGroup
Auto Trait Implementations§
impl Freeze for CreateGroup
impl RefUnwindSafe for CreateGroup
impl Send for CreateGroup
impl Sync for CreateGroup
impl Unpin for CreateGroup
impl UnsafeUnpin for CreateGroup
impl UnwindSafe for CreateGroup
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