pub struct SearchPrincipalsResponse {
pub groups: Vec<GroupPrincipal>,
pub users: Vec<UserSummary>,
}
Expand description
Metadata about the principals that match the given query.
JSON schema
{
"description": "Metadata about the principals that match the given
query.",
"type": "object",
"required": [
"groups",
"users"
],
"properties": {
"groups": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GroupPrincipal"
}
},
"users": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserSummary"
}
}
},
"additionalProperties": false,
"x-schema-name": "SearchPrincipalsResponse"
}
Fields§
§groups: Vec<GroupPrincipal>
§users: Vec<UserSummary>
Trait Implementations§
Source§impl Clone for SearchPrincipalsResponse
impl Clone for SearchPrincipalsResponse
Source§fn clone(&self) -> SearchPrincipalsResponse
fn clone(&self) -> SearchPrincipalsResponse
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 SearchPrincipalsResponse
impl Debug for SearchPrincipalsResponse
Source§impl<'de> Deserialize<'de> for SearchPrincipalsResponse
impl<'de> Deserialize<'de> for SearchPrincipalsResponse
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<&SearchPrincipalsResponse> for SearchPrincipalsResponse
impl From<&SearchPrincipalsResponse> for SearchPrincipalsResponse
Source§fn from(value: &SearchPrincipalsResponse) -> Self
fn from(value: &SearchPrincipalsResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SearchPrincipalsResponse
impl RefUnwindSafe for SearchPrincipalsResponse
impl Send for SearchPrincipalsResponse
impl Sync for SearchPrincipalsResponse
impl Unpin for SearchPrincipalsResponse
impl UnwindSafe for SearchPrincipalsResponse
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