pub struct AdminMeta {Show 33 fields
pub use_star_for_reaction_fallback: bool,
pub pinned_users: Vec<String>,
pub hidden_tags: Vec<String>,
pub blocked_hosts: Vec<String>,
pub hcaptcha_secret_key: Option<String>,
pub recaptcha_secret_key: Option<String>,
pub proxy_account_id: Option<Id<User>>,
pub twitter_consumer_key: Option<String>,
pub twitter_consumer_secret: Option<String>,
pub github_client_id: Option<String>,
pub github_client_secret: Option<String>,
pub discord_client_id: Option<String>,
pub discord_client_secret: Option<String>,
pub summaly_proxy: Option<Url>,
pub email: Option<String>,
pub smtp_secure: bool,
pub smtp_host: Option<String>,
pub smtp_port: Option<u16>,
pub smtp_user: Option<String>,
pub smtp_pass: Option<String>,
pub sw_private_key: Option<String>,
pub use_object_storage: bool,
pub object_storage_base_url: Option<Url>,
pub object_storage_bucket: Option<String>,
pub object_storage_prefix: Option<String>,
pub object_storage_endpoint: Option<String>,
pub object_storage_region: Option<String>,
pub object_storage_port: Option<u16>,
pub object_storage_access_key: Option<String>,
pub object_storage_secret_key: Option<String>,
pub object_storage_use_ssl: bool,
pub object_storage_use_proxy: bool,
pub object_storage_set_public_read: bool,
}Fields§
§use_star_for_reaction_fallback: bool§pinned_users: Vec<String>§blocked_hosts: Vec<String>§hcaptcha_secret_key: Option<String>Available on crate feature
§12-37-0 only.recaptcha_secret_key: Option<String>§proxy_account_id: Option<Id<User>>§twitter_consumer_key: Option<String>§twitter_consumer_secret: Option<String>§github_client_id: Option<String>§github_client_secret: Option<String>§discord_client_id: Option<String>§discord_client_secret: Option<String>§summaly_proxy: Option<Url>§email: Option<String>§smtp_secure: bool§smtp_host: Option<String>§smtp_port: Option<u16>§smtp_user: Option<String>§smtp_pass: Option<String>§sw_private_key: Option<String>§use_object_storage: bool§object_storage_base_url: Option<Url>§object_storage_bucket: Option<String>§object_storage_prefix: Option<String>§object_storage_endpoint: Option<String>§object_storage_region: Option<String>§object_storage_port: Option<u16>§object_storage_access_key: Option<String>§object_storage_secret_key: Option<String>§object_storage_use_ssl: bool§object_storage_use_proxy: boolAvailable on crate feature
§12-31-0 only.object_storage_set_public_read: boolAvailable on crate feature
12-47-0 only.Trait Implementations§
Source§impl<'de> Deserialize<'de> for AdminMeta
impl<'de> Deserialize<'de> for AdminMeta
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
Auto Trait Implementations§
impl Freeze for AdminMeta
impl RefUnwindSafe for AdminMeta
impl Send for AdminMeta
impl Sync for AdminMeta
impl Unpin for AdminMeta
impl UnwindSafe for AdminMeta
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