pub struct AccountApiKeyInfo {
pub name: Option<String>,
pub account_id: Option<i32>,
pub account_name: Option<String>,
pub allowed_source_ips: Option<Vec<String>>,
pub owner: Option<AccountApiKeyOwner>,
pub user_account_id: Option<i32>,
pub http_source_ip: Option<String>,
pub account_marketplace_id: Option<String>,
}Expand description
API key information returned in account response
Fields§
§name: Option<String>API key name
account_id: Option<i32>Account ID this key belongs to
account_name: Option<String>Account name
allowed_source_ips: Option<Vec<String>>Allowed source IP addresses/CIDRs
owner: Option<AccountApiKeyOwner>Owner information
user_account_id: Option<i32>User account ID
http_source_ip: Option<String>HTTP source IP of the current request
account_marketplace_id: Option<String>Account marketplace ID
Trait Implementations§
Source§impl Clone for AccountApiKeyInfo
impl Clone for AccountApiKeyInfo
Source§fn clone(&self) -> AccountApiKeyInfo
fn clone(&self) -> AccountApiKeyInfo
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 AccountApiKeyInfo
impl Debug for AccountApiKeyInfo
Source§impl<'de> Deserialize<'de> for AccountApiKeyInfo
impl<'de> Deserialize<'de> for AccountApiKeyInfo
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 AccountApiKeyInfo
impl RefUnwindSafe for AccountApiKeyInfo
impl Send for AccountApiKeyInfo
impl Sync for AccountApiKeyInfo
impl Unpin for AccountApiKeyInfo
impl UnwindSafe for AccountApiKeyInfo
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