pub struct ConfigFile {Show 26 fields
pub enable_file_attachments: Option<bool>,
pub enable_mobile_upload: Option<bool>,
pub enable_mobile_download: Option<bool>,
pub max_file_size: Option<i64>,
pub max_image_resolution: Option<i64>,
pub max_image_decoder_concurrency: Option<i64>,
pub driver_name: Option<String>,
pub directory: Option<String>,
pub enable_public_link: Option<bool>,
pub extract_content: Option<bool>,
pub archive_recursion: Option<bool>,
pub public_link_salt: Option<String>,
pub initial_font: Option<String>,
pub amazon_s3_access_key_id: Option<String>,
pub amazon_s3_secret_access_key: Option<String>,
pub amazon_s3_bucket: Option<String>,
pub amazon_s3_path_prefix: Option<String>,
pub amazon_s3_region: Option<String>,
pub amazon_s3_endpoint: Option<String>,
pub amazon_s3_ssl: Option<bool>,
pub amazon_s3_sign_v2: Option<bool>,
pub amazon_s3_sse: Option<bool>,
pub amazon_s3_trace: Option<bool>,
pub amazon_s3_request_timeout_milliseconds: Option<i64>,
pub amazon_s3_upload_part_size_bytes: Option<i64>,
pub amazon_s3_storage_class: Option<String>,
}Fields§
§enable_file_attachments: Option<bool>§enable_mobile_upload: Option<bool>§enable_mobile_download: Option<bool>§max_file_size: Option<i64>§max_image_resolution: Option<i64>§max_image_decoder_concurrency: Option<i64>§driver_name: Option<String>§directory: Option<String>§enable_public_link: Option<bool>§extract_content: Option<bool>§archive_recursion: Option<bool>§public_link_salt: Option<String>§initial_font: Option<String>§amazon_s3_access_key_id: Option<String>§amazon_s3_secret_access_key: Option<String>§amazon_s3_bucket: Option<String>§amazon_s3_path_prefix: Option<String>§amazon_s3_region: Option<String>§amazon_s3_endpoint: Option<String>§amazon_s3_ssl: Option<bool>§amazon_s3_sign_v2: Option<bool>§amazon_s3_sse: Option<bool>§amazon_s3_trace: Option<bool>§amazon_s3_request_timeout_milliseconds: Option<i64>§amazon_s3_upload_part_size_bytes: Option<i64>§amazon_s3_storage_class: Option<String>Implementations§
Source§impl ConfigFile
impl ConfigFile
Sourcepub fn enable_file_attachments(&self) -> bool
pub fn enable_file_attachments(&self) -> bool
Returns the value of enable_file_attachments, or the default value if enable_file_attachments is unset.
Sourcepub fn enable_mobile_upload(&self) -> bool
pub fn enable_mobile_upload(&self) -> bool
Returns the value of enable_mobile_upload, or the default value if enable_mobile_upload is unset.
Sourcepub fn enable_mobile_download(&self) -> bool
pub fn enable_mobile_download(&self) -> bool
Returns the value of enable_mobile_download, or the default value if enable_mobile_download is unset.
Sourcepub fn max_file_size(&self) -> i64
pub fn max_file_size(&self) -> i64
Returns the value of max_file_size, or the default value if max_file_size is unset.
Sourcepub fn max_image_resolution(&self) -> i64
pub fn max_image_resolution(&self) -> i64
Returns the value of max_image_resolution, or the default value if max_image_resolution is unset.
Sourcepub fn max_image_decoder_concurrency(&self) -> i64
pub fn max_image_decoder_concurrency(&self) -> i64
Returns the value of max_image_decoder_concurrency, or the default value if max_image_decoder_concurrency is unset.
Sourcepub fn driver_name(&self) -> &str
pub fn driver_name(&self) -> &str
Returns the value of driver_name, or the default value if driver_name is unset.
Sourcepub fn directory(&self) -> &str
pub fn directory(&self) -> &str
Returns the value of directory, or the default value if directory is unset.
Sourcepub fn enable_public_link(&self) -> bool
pub fn enable_public_link(&self) -> bool
Returns the value of enable_public_link, or the default value if enable_public_link is unset.
Sourcepub fn extract_content(&self) -> bool
pub fn extract_content(&self) -> bool
Returns the value of extract_content, or the default value if extract_content is unset.
Sourcepub fn archive_recursion(&self) -> bool
pub fn archive_recursion(&self) -> bool
Returns the value of archive_recursion, or the default value if archive_recursion is unset.
Sourcepub fn public_link_salt(&self) -> &str
pub fn public_link_salt(&self) -> &str
Returns the value of public_link_salt, or the default value if public_link_salt is unset.
Sourcepub fn initial_font(&self) -> &str
pub fn initial_font(&self) -> &str
Returns the value of initial_font, or the default value if initial_font is unset.
Sourcepub fn amazon_s3_access_key_id(&self) -> &str
pub fn amazon_s3_access_key_id(&self) -> &str
Returns the value of amazon_s3_access_key_id, or the default value if amazon_s3_access_key_id is unset.
Sourcepub fn amazon_s3_secret_access_key(&self) -> &str
pub fn amazon_s3_secret_access_key(&self) -> &str
Returns the value of amazon_s3_secret_access_key, or the default value if amazon_s3_secret_access_key is unset.
Sourcepub fn amazon_s3_bucket(&self) -> &str
pub fn amazon_s3_bucket(&self) -> &str
Returns the value of amazon_s3_bucket, or the default value if amazon_s3_bucket is unset.
Sourcepub fn amazon_s3_path_prefix(&self) -> &str
pub fn amazon_s3_path_prefix(&self) -> &str
Returns the value of amazon_s3_path_prefix, or the default value if amazon_s3_path_prefix is unset.
Sourcepub fn amazon_s3_region(&self) -> &str
pub fn amazon_s3_region(&self) -> &str
Returns the value of amazon_s3_region, or the default value if amazon_s3_region is unset.
Sourcepub fn amazon_s3_endpoint(&self) -> &str
pub fn amazon_s3_endpoint(&self) -> &str
Returns the value of amazon_s3_endpoint, or the default value if amazon_s3_endpoint is unset.
Sourcepub fn amazon_s3_ssl(&self) -> bool
pub fn amazon_s3_ssl(&self) -> bool
Returns the value of amazon_s3_ssl, or the default value if amazon_s3_ssl is unset.
Sourcepub fn amazon_s3_sign_v2(&self) -> bool
pub fn amazon_s3_sign_v2(&self) -> bool
Returns the value of amazon_s3_sign_v2, or the default value if amazon_s3_sign_v2 is unset.
Sourcepub fn amazon_s3_sse(&self) -> bool
pub fn amazon_s3_sse(&self) -> bool
Returns the value of amazon_s3_sse, or the default value if amazon_s3_sse is unset.
Sourcepub fn amazon_s3_trace(&self) -> bool
pub fn amazon_s3_trace(&self) -> bool
Returns the value of amazon_s3_trace, or the default value if amazon_s3_trace is unset.
Sourcepub fn amazon_s3_request_timeout_milliseconds(&self) -> i64
pub fn amazon_s3_request_timeout_milliseconds(&self) -> i64
Returns the value of amazon_s3_request_timeout_milliseconds, or the default value if amazon_s3_request_timeout_milliseconds is unset.
Sourcepub fn amazon_s3_upload_part_size_bytes(&self) -> i64
pub fn amazon_s3_upload_part_size_bytes(&self) -> i64
Returns the value of amazon_s3_upload_part_size_bytes, or the default value if amazon_s3_upload_part_size_bytes is unset.
Sourcepub fn amazon_s3_storage_class(&self) -> &str
pub fn amazon_s3_storage_class(&self) -> &str
Returns the value of amazon_s3_storage_class, or the default value if amazon_s3_storage_class is unset.
Trait Implementations§
Source§impl Clone for ConfigFile
impl Clone for ConfigFile
Source§fn clone(&self) -> ConfigFile
fn clone(&self) -> ConfigFile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigFile
impl Debug for ConfigFile
Source§impl Default for ConfigFile
impl Default for ConfigFile
Source§impl Message for ConfigFile
impl Message for ConfigFile
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigFile
impl PartialEq for ConfigFile
impl StructuralPartialEq for ConfigFile
Auto Trait Implementations§
impl Freeze for ConfigFile
impl RefUnwindSafe for ConfigFile
impl Send for ConfigFile
impl Sync for ConfigFile
impl Unpin for ConfigFile
impl UnsafeUnpin for ConfigFile
impl UnwindSafe for ConfigFile
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request