pub struct AuditLogActorApiKey {
pub id: Option<String>,
pub type: Option<AuditLogActorApiKeyType>,
pub user: Option<AuditLogActorUser>,
pub service_account: Option<AuditLogActorServiceAccount>,
}
Expand description
The API Key used to perform the audit logged action.
Fields§
§id: Option<String>
The tracking id of the API key.
type: Option<AuditLogActorApiKeyType>
The type of API key. Can be either user
or service_account
.
user: Option<AuditLogActorUser>
§service_account: Option<AuditLogActorServiceAccount>
Implementations§
Source§impl AuditLogActorApiKey
impl AuditLogActorApiKey
Sourcepub fn builder() -> AuditLogActorApiKeyBuilder<((), (), (), ())>
pub fn builder() -> AuditLogActorApiKeyBuilder<((), (), (), ())>
Create a builder for building AuditLogActorApiKey
.
On the builder, call .id(...)
(optional), .r#type(...)
(optional), .user(...)
(optional), .service_account(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of AuditLogActorApiKey
.
Trait Implementations§
Source§impl Clone for AuditLogActorApiKey
impl Clone for AuditLogActorApiKey
Source§fn clone(&self) -> AuditLogActorApiKey
fn clone(&self) -> AuditLogActorApiKey
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 AuditLogActorApiKey
impl Debug for AuditLogActorApiKey
Source§impl Default for AuditLogActorApiKey
impl Default for AuditLogActorApiKey
Source§fn default() -> AuditLogActorApiKey
fn default() -> AuditLogActorApiKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuditLogActorApiKey
impl<'de> Deserialize<'de> for AuditLogActorApiKey
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 PartialEq for AuditLogActorApiKey
impl PartialEq for AuditLogActorApiKey
Source§impl Serialize for AuditLogActorApiKey
impl Serialize for AuditLogActorApiKey
impl StructuralPartialEq for AuditLogActorApiKey
Auto Trait Implementations§
impl Freeze for AuditLogActorApiKey
impl RefUnwindSafe for AuditLogActorApiKey
impl Send for AuditLogActorApiKey
impl Sync for AuditLogActorApiKey
impl Unpin for AuditLogActorApiKey
impl UnwindSafe for AuditLogActorApiKey
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