pub struct ApiKeyView {Show 13 fields
pub uuid: String,
pub created: u64,
pub updated: u64,
pub owner: String,
pub deleted: Option<bool>,
pub roles: Vec<String>,
pub key_id: String,
pub name: Option<String>,
pub active: bool,
pub expires_at: Option<u64>,
pub allowed_ips: Option<Vec<String>>,
pub last_used_at: Option<u64>,
pub last_used_ip: Option<String>,
}Fields§
§uuid: String§created: u64§updated: u64§owner: String§deleted: Option<bool>§roles: Vec<String>§key_id: String§name: Option<String>§active: bool§expires_at: Option<u64>§allowed_ips: Option<Vec<String>>§last_used_at: Option<u64>§last_used_ip: Option<String>Trait Implementations§
Source§impl Clone for ApiKeyView
impl Clone for ApiKeyView
Source§fn clone(&self) -> ApiKeyView
fn clone(&self) -> ApiKeyView
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 ApiKeyView
impl Debug for ApiKeyView
Source§impl<'de> Deserialize<'de> for ApiKeyView
impl<'de> Deserialize<'de> for ApiKeyView
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 ApiKeyView
impl PartialEq for ApiKeyView
Source§impl Serialize for ApiKeyView
impl Serialize for ApiKeyView
impl Eq for ApiKeyView
impl StructuralPartialEq for ApiKeyView
Auto Trait Implementations§
impl Freeze for ApiKeyView
impl RefUnwindSafe for ApiKeyView
impl Send for ApiKeyView
impl Sync for ApiKeyView
impl Unpin for ApiKeyView
impl UnsafeUnpin for ApiKeyView
impl UnwindSafe for ApiKeyView
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