pub struct AppCreator {Show 15 fields
pub base: AppCreatorBase<ServerImpl<Details>>,
pub transcryptor_url: Url,
pub auths_url: Url,
pub global_client_url: Url,
pub hubs: Map<BasicInfo>,
pub master_enc_key_part: PrivateKey,
pub attr_id_secret: Box<[u8]>,
pub auth_token_secret: SealingKey,
pub auth_token_validity: Duration,
pub pp_nonce_secret: SealingKey,
pub pp_nonce_validity: Duration,
pub user_object_hmac_secret: Box<[u8]>,
pub quota: Quota,
pub card_pseud_validity: Duration,
pub hub_cache_config: HubCacheConfig,
}Fields§
§base: AppCreatorBase<ServerImpl<Details>>§transcryptor_url: Url§auths_url: Url§global_client_url: Url§hubs: Map<BasicInfo>§master_enc_key_part: PrivateKey§attr_id_secret: Box<[u8]>§auth_token_secret: SealingKey§auth_token_validity: Duration§pp_nonce_secret: SealingKey§pp_nonce_validity: Duration§user_object_hmac_secret: Box<[u8]>§quota: Quota§card_pseud_validity: Duration§hub_cache_config: HubCacheConfigTrait Implementations§
Source§impl AppCreator<ServerImpl<Details>> for AppCreator
impl AppCreator<ServerImpl<Details>> for AppCreator
Source§type ContextT = AppCreatorContext
type ContextT = AppCreatorContext
When
Apps are created a new AppCreator::ContextT is created,
and a reference to it is passed to AppCreator::into_app.Source§impl Clone for AppCreator
impl Clone for AppCreator
Source§fn clone(&self) -> AppCreator
fn clone(&self) -> AppCreator
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 Deref for AppCreator
impl Deref for AppCreator
Source§type Target = AppCreatorBase<ServerImpl<Details>>
type Target = AppCreatorBase<ServerImpl<Details>>
The resulting type after dereferencing.
Auto Trait Implementations§
impl Freeze for AppCreator
impl !RefUnwindSafe for AppCreator
impl Send for AppCreator
impl Sync for AppCreator
impl Unpin for AppCreator
impl UnsafeUnpin for AppCreator
impl !UnwindSafe for AppCreator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more