pub struct AddServiceAccountReq {
pub policy: Option<String>,
pub target_user: Option<String>,
pub access_key: String,
pub secret_key: String,
pub name: Option<String>,
pub description: Option<String>,
pub expiration: Option<OffsetDateTime>,
}Fields§
§policy: Option<String>§target_user: Option<String>§access_key: String§secret_key: String§name: Option<String>§description: Option<String>§expiration: Option<OffsetDateTime>Implementations§
Trait Implementations§
Source§impl Debug for AddServiceAccountReq
impl Debug for AddServiceAccountReq
Source§impl<'de> Deserialize<'de> for AddServiceAccountReq
impl<'de> Deserialize<'de> for AddServiceAccountReq
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 AddServiceAccountReq
impl RefUnwindSafe for AddServiceAccountReq
impl Send for AddServiceAccountReq
impl Sync for AddServiceAccountReq
impl Unpin for AddServiceAccountReq
impl UnsafeUnpin for AddServiceAccountReq
impl UnwindSafe for AddServiceAccountReq
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