pub struct AddedGroupPrincipal {
pub group_id: String,
pub type_: AddedGroupPrincipalType,
}
Expand description
AddedGroupPrincipal
JSON schema
{
"type": "object",
"required": [
"groupId",
"type"
],
"properties": {
"groupId": {
"description": "Group ID for the principal.",
"examples": [
"grp-6SM9xrKcqW"
],
"type": "string"
},
"type": {
"description": "The type of this principal.",
"type": "string",
"enum": [
"group"
],
"x-tsType": "PrincipalType.Group"
}
},
"additionalProperties": false
}
Fields§
§group_id: String
Group ID for the principal.
type_: AddedGroupPrincipalType
The type of this principal.
Trait Implementations§
Source§impl Clone for AddedGroupPrincipal
impl Clone for AddedGroupPrincipal
Source§fn clone(&self) -> AddedGroupPrincipal
fn clone(&self) -> AddedGroupPrincipal
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 AddedGroupPrincipal
impl Debug for AddedGroupPrincipal
Source§impl<'de> Deserialize<'de> for AddedGroupPrincipal
impl<'de> Deserialize<'de> for AddedGroupPrincipal
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 From<&AddedGroupPrincipal> for AddedGroupPrincipal
impl From<&AddedGroupPrincipal> for AddedGroupPrincipal
Source§fn from(value: &AddedGroupPrincipal) -> Self
fn from(value: &AddedGroupPrincipal) -> Self
Converts to this type from the input type.
Source§impl From<AddedGroupPrincipal> for AddedPrincipal
impl From<AddedGroupPrincipal> for AddedPrincipal
Source§fn from(value: AddedGroupPrincipal) -> Self
fn from(value: AddedGroupPrincipal) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddedGroupPrincipal
impl RefUnwindSafe for AddedGroupPrincipal
impl Send for AddedGroupPrincipal
impl Sync for AddedGroupPrincipal
impl Unpin for AddedGroupPrincipal
impl UnwindSafe for AddedGroupPrincipal
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