pub struct ApiKeyPermissions {
pub endpoints: Option<HashMap<String, Vec<Value>>>,
}
Fields§
§endpoints: Option<HashMap<String, Vec<Value>>>
Implementations§
source§impl ApiKeyPermissions
impl ApiKeyPermissions
pub fn new() -> ApiKeyPermissions
Trait Implementations§
source§impl Clone for ApiKeyPermissions
impl Clone for ApiKeyPermissions
source§fn clone(&self) -> ApiKeyPermissions
fn clone(&self) -> ApiKeyPermissions
Returns a copy 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 ApiKeyPermissions
impl Debug for ApiKeyPermissions
source§impl Default for ApiKeyPermissions
impl Default for ApiKeyPermissions
source§fn default() -> ApiKeyPermissions
fn default() -> ApiKeyPermissions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApiKeyPermissions
impl<'de> Deserialize<'de> for ApiKeyPermissions
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 ApiKeyPermissions
impl PartialEq for ApiKeyPermissions
source§fn eq(&self, other: &ApiKeyPermissions) -> bool
fn eq(&self, other: &ApiKeyPermissions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApiKeyPermissions
impl Serialize for ApiKeyPermissions
impl StructuralPartialEq for ApiKeyPermissions
Auto Trait Implementations§
impl RefUnwindSafe for ApiKeyPermissions
impl Send for ApiKeyPermissions
impl Sync for ApiKeyPermissions
impl Unpin for ApiKeyPermissions
impl UnwindSafe for ApiKeyPermissions
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