pub struct EnvironmentAPIKey {
pub id: u32,
pub key: String,
pub active: bool,
pub created_at: DateTime<Utc>,
pub name: String,
pub client_api_key: String,
pub expires_at: Option<DateTime<Utc>>,
}Fields
id: u32key: Stringactive: boolcreated_at: DateTime<Utc>name: Stringclient_api_key: Stringexpires_at: Option<DateTime<Utc>>Implementations
Trait Implementations
sourceimpl Debug for EnvironmentAPIKey
impl Debug for EnvironmentAPIKey
sourceimpl<'de> Deserialize<'de> for EnvironmentAPIKey
impl<'de> Deserialize<'de> for EnvironmentAPIKey
sourcefn 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
sourceimpl Serialize for EnvironmentAPIKey
impl Serialize for EnvironmentAPIKey
Auto Trait Implementations
impl RefUnwindSafe for EnvironmentAPIKey
impl Send for EnvironmentAPIKey
impl Sync for EnvironmentAPIKey
impl Unpin for EnvironmentAPIKey
impl UnwindSafe for EnvironmentAPIKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more