Struct chirpstack_api::as_pb::external::api::ApiKey[][src]

pub struct ApiKey {
    pub id: String,
    pub name: String,
    pub is_admin: bool,
    pub organization_id: i64,
    pub application_id: i64,
}

Fields

id: String

API key ID. This value will be automatically generated on create.

name: String

Name.

is_admin: bool

Is global admin key.

organization_id: i64

Organization ID. In case this API key is to manage resources within a single organization set this to the ID of this organization.

application_id: i64

Application ID. In case the API key is to manage resources within an application, set this to the ID of this application.message

Trait Implementations

impl Clone for ApiKey[src]

impl Debug for ApiKey[src]

impl Default for ApiKey[src]

impl Message for ApiKey[src]

impl PartialEq<ApiKey> for ApiKey[src]

impl StructuralPartialEq for ApiKey[src]

Auto Trait Implementations

impl RefUnwindSafe for ApiKey

impl Send for ApiKey

impl Sync for ApiKey

impl Unpin for ApiKey

impl UnwindSafe for ApiKey

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]