pub struct ApiKeyIdentity {
pub kind: String,
pub key_id: String,
pub name: String,
pub database: String,
pub permissions: Vec<String>,
}Fields§
§kind: String§key_id: String§name: String§database: String§permissions: Vec<String>Trait Implementations§
Source§impl Clone for ApiKeyIdentity
impl Clone for ApiKeyIdentity
Source§fn clone(&self) -> ApiKeyIdentity
fn clone(&self) -> ApiKeyIdentity
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 ApiKeyIdentity
impl Debug for ApiKeyIdentity
Source§impl<'de> Deserialize<'de> for ApiKeyIdentity
impl<'de> Deserialize<'de> for ApiKeyIdentity
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 ApiKeyIdentity
impl PartialEq for ApiKeyIdentity
Source§impl Serialize for ApiKeyIdentity
impl Serialize for ApiKeyIdentity
impl Eq for ApiKeyIdentity
impl StructuralPartialEq for ApiKeyIdentity
Auto Trait Implementations§
impl Freeze for ApiKeyIdentity
impl RefUnwindSafe for ApiKeyIdentity
impl Send for ApiKeyIdentity
impl Sync for ApiKeyIdentity
impl Unpin for ApiKeyIdentity
impl UnsafeUnpin for ApiKeyIdentity
impl UnwindSafe for ApiKeyIdentity
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