#[non_exhaustive]pub struct FullAPIKeyAttributes {
pub category: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub key: Option<String>,
pub last4: Option<String>,
pub modified_at: Option<DateTime<Utc>>,
pub name: Option<String>,
pub remote_config_read_enabled: Option<bool>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Attributes of a full API key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.category: Option<String>
The category of the API key.
created_at: Option<DateTime<Utc>>
Creation date of the API key.
key: Option<String>
The API key.
last4: Option<String>
The last four characters of the API key.
modified_at: Option<DateTime<Utc>>
Date the API key was last modified.
name: Option<String>
Name of the API key.
remote_config_read_enabled: Option<bool>
The remote config read enabled status.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl FullAPIKeyAttributes
impl FullAPIKeyAttributes
pub fn new() -> FullAPIKeyAttributes
pub fn category(self, value: String) -> Self
pub fn created_at(self, value: DateTime<Utc>) -> Self
pub fn key(self, value: String) -> Self
pub fn last4(self, value: String) -> Self
pub fn modified_at(self, value: DateTime<Utc>) -> Self
pub fn name(self, value: String) -> Self
pub fn remote_config_read_enabled(self, value: bool) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for FullAPIKeyAttributes
impl Clone for FullAPIKeyAttributes
Source§fn clone(&self) -> FullAPIKeyAttributes
fn clone(&self) -> FullAPIKeyAttributes
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 FullAPIKeyAttributes
impl Debug for FullAPIKeyAttributes
Source§impl Default for FullAPIKeyAttributes
impl Default for FullAPIKeyAttributes
Source§impl<'de> Deserialize<'de> for FullAPIKeyAttributes
impl<'de> Deserialize<'de> for FullAPIKeyAttributes
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 FullAPIKeyAttributes
impl PartialEq for FullAPIKeyAttributes
Source§impl Serialize for FullAPIKeyAttributes
impl Serialize for FullAPIKeyAttributes
impl StructuralPartialEq for FullAPIKeyAttributes
Auto Trait Implementations§
impl Freeze for FullAPIKeyAttributes
impl RefUnwindSafe for FullAPIKeyAttributes
impl Send for FullAPIKeyAttributes
impl Sync for FullAPIKeyAttributes
impl Unpin for FullAPIKeyAttributes
impl UnwindSafe for FullAPIKeyAttributes
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