pub struct UpdateServiceAccountRequest {
pub display_name: Option<String>,
pub is_active: Option<bool>,
pub scoping_policy_id: Option<String>,
}Expand description
Request to update a service account.
JSON schema
{
"title": "UpdateServiceAccountRequest",
"description": "Request to update a service account.",
"type": "object",
"properties": {
"display_name": {
"title": "Display Name",
"type": [
"string",
"null"
]
},
"is_active": {
"title": "Is Active",
"type": [
"boolean",
"null"
]
},
"scoping_policy_id": {
"title": "Scoping Policy Id",
"type": [
"string",
"null"
]
}
}
}Fields§
§display_name: Option<String>§is_active: Option<bool>§scoping_policy_id: Option<String>Trait Implementations§
Source§impl Clone for UpdateServiceAccountRequest
impl Clone for UpdateServiceAccountRequest
Source§fn clone(&self) -> UpdateServiceAccountRequest
fn clone(&self) -> UpdateServiceAccountRequest
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 UpdateServiceAccountRequest
impl Debug for UpdateServiceAccountRequest
Source§impl<'de> Deserialize<'de> for UpdateServiceAccountRequest
impl<'de> Deserialize<'de> for UpdateServiceAccountRequest
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<&UpdateServiceAccountRequest> for UpdateServiceAccountRequest
impl From<&UpdateServiceAccountRequest> for UpdateServiceAccountRequest
Source§fn from(value: &UpdateServiceAccountRequest) -> Self
fn from(value: &UpdateServiceAccountRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UpdateServiceAccountRequest
impl RefUnwindSafe for UpdateServiceAccountRequest
impl Send for UpdateServiceAccountRequest
impl Sync for UpdateServiceAccountRequest
impl Unpin for UpdateServiceAccountRequest
impl UnsafeUnpin for UpdateServiceAccountRequest
impl UnwindSafe for UpdateServiceAccountRequest
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