Type Alias deltachat::dc_provider_t
source · pub type dc_provider_t = Provider;
Aliased Type§
struct dc_provider_t {
pub id: &'static str,
pub status: Status,
pub before_login_hint: &'static str,
pub after_login_hint: &'static str,
pub overview_page: &'static str,
pub server: &'static [Server],
pub config_defaults: Option<&'static [ConfigDefault]>,
pub oauth2_authorizer: Option<Oauth2Authorizer>,
pub opt: ProviderOptions,
}
Fields§
§id: &'static str
Unique ID, corresponding to provider database filename.
status: Status
Provider status according to manual testing.
before_login_hint: &'static str
Hint to be shown to the user on the login screen.
after_login_hint: &'static str
Hint to be added to the device chat after provider configuration.
overview_page: &'static str
URL of the page with provider overview.
server: &'static [Server]
List of provider servers.
config_defaults: Option<&'static [ConfigDefault]>
Default configuration values to set when provider is configured.
Type of OAuth 2 authorization if provider supports it.
opt: ProviderOptions
Options with good defaults.