pub struct ConfigFileSection {
pub app_uuid: String,
pub mauth_baseurl: String,
pub mauth_api_version: String,
pub private_key_file: Option<String>,
pub private_key_data: Option<String>,
pub v2_only_sign_requests: Option<bool>,
pub v2_only_authenticate: Option<bool>,
}
Expand description
All of the configuration data needed to set up a MAuthInfo struct. Implements Deserialize to be read from a YAML file easily, or can be created manually.
Fields§
§app_uuid: String
§mauth_baseurl: String
§mauth_api_version: String
§private_key_file: Option<String>
§private_key_data: Option<String>
§v2_only_sign_requests: Option<bool>
§v2_only_authenticate: Option<bool>
Trait Implementations§
Source§impl Clone for ConfigFileSection
impl Clone for ConfigFileSection
Source§fn clone(&self) -> ConfigFileSection
fn clone(&self) -> ConfigFileSection
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 Default for ConfigFileSection
impl Default for ConfigFileSection
Source§impl<'de> Deserialize<'de> for ConfigFileSection
impl<'de> Deserialize<'de> for ConfigFileSection
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 ConfigFileSection
impl RefUnwindSafe for ConfigFileSection
impl Send for ConfigFileSection
impl Sync for ConfigFileSection
impl Unpin for ConfigFileSection
impl UnwindSafe for ConfigFileSection
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