pub struct Apiv1WorkspaceStorageSetting {
pub storage_type: Option<Apiv1WorkspaceStorageSettingStorageType>,
pub filepath_template: Option<String>,
pub upload_size_limit_mb: Option<String>,
pub s3_config: Option<Box<WorkspaceStorageSettingS3Config>>,
}
Fields§
§storage_type: Option<Apiv1WorkspaceStorageSettingStorageType>
§filepath_template: Option<String>
§upload_size_limit_mb: Option<String>
The max upload size in megabytes.
s3_config: Option<Box<WorkspaceStorageSettingS3Config>>
Implementations§
Source§impl Apiv1WorkspaceStorageSetting
impl Apiv1WorkspaceStorageSetting
pub fn new() -> Apiv1WorkspaceStorageSetting
Trait Implementations§
Source§impl Clone for Apiv1WorkspaceStorageSetting
impl Clone for Apiv1WorkspaceStorageSetting
Source§fn clone(&self) -> Apiv1WorkspaceStorageSetting
fn clone(&self) -> Apiv1WorkspaceStorageSetting
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 Debug for Apiv1WorkspaceStorageSetting
impl Debug for Apiv1WorkspaceStorageSetting
Source§impl Default for Apiv1WorkspaceStorageSetting
impl Default for Apiv1WorkspaceStorageSetting
Source§fn default() -> Apiv1WorkspaceStorageSetting
fn default() -> Apiv1WorkspaceStorageSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Apiv1WorkspaceStorageSetting
impl<'de> Deserialize<'de> for Apiv1WorkspaceStorageSetting
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
Source§impl PartialEq for Apiv1WorkspaceStorageSetting
impl PartialEq for Apiv1WorkspaceStorageSetting
Source§fn eq(&self, other: &Apiv1WorkspaceStorageSetting) -> bool
fn eq(&self, other: &Apiv1WorkspaceStorageSetting) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for Apiv1WorkspaceStorageSetting
Auto Trait Implementations§
impl Freeze for Apiv1WorkspaceStorageSetting
impl RefUnwindSafe for Apiv1WorkspaceStorageSetting
impl Send for Apiv1WorkspaceStorageSetting
impl Sync for Apiv1WorkspaceStorageSetting
impl Unpin for Apiv1WorkspaceStorageSetting
impl UnwindSafe for Apiv1WorkspaceStorageSetting
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