pub struct UpdateServiceAccountRequest {
pub new_policy: Option<String>,
pub new_secret_key: Option<String>,
pub new_status: Option<String>,
pub new_name: Option<String>,
pub new_description: Option<String>,
pub new_expiration: Option<String>,
}Expand description
Request to update an existing service account
Fields§
§new_policy: Option<String>Replacement policy document (JSON string)
new_secret_key: Option<String>Replacement secret key
new_status: Option<String>Replacement account status
new_name: Option<String>Replacement friendly name
new_description: Option<String>Replacement description
new_expiration: Option<String>Replacement expiration time (ISO 8601)
Implementations§
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 (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 UpdateServiceAccountRequest
impl Debug for UpdateServiceAccountRequest
Source§impl Default for UpdateServiceAccountRequest
impl Default for UpdateServiceAccountRequest
Source§fn default() -> UpdateServiceAccountRequest
fn default() -> UpdateServiceAccountRequest
Returns the “default value” for a type. Read more
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
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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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