Struct nettu_scheduler_domain::Account[][src]

pub struct Account {
    pub id: ID,
    pub secret_api_key: String,
    pub public_jwt_key: Option<PEMKey>,
    pub settings: AccountSettings,
}

An Account acts as a namespace for all other resources and lets multiple different applications use the same instance of this server without interfering with each other.

Fields

id: IDsecret_api_key: Stringpublic_jwt_key: Option<PEMKey>settings: AccountSettings

Implementations

impl Account[src]

pub fn new() -> Self[src]

pub fn generate_secret_api_key() -> String[src]

pub fn set_public_jwt_key(&mut self, key: Option<PEMKey>)[src]

Trait Implementations

impl Clone for Account[src]

impl Debug for Account[src]

impl Default for Account[src]

impl Entity for Account[src]

Auto Trait Implementations

impl RefUnwindSafe for Account

impl Send for Account

impl Sync for Account

impl Unpin for Account

impl UnwindSafe for Account

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,