pub struct StorageLimits {
pub max_storage: u64,
pub max_app_storage: u64,
pub assets: AssetsLimits,
pub artifact: ArtifactLimits,
pub cache: CacheLimits,
pub content: ContentLimits,
pub model: ModelLimits,
}Fields§
§max_storage: u64Maximum total storage for all apps and admin.
Unit: bytes.
Default: 10 GB
max_app_storage: u64Maximum per-app storage.
Unit: bytes.
Default: 50 MB
assets: AssetsLimits§artifact: ArtifactLimits§cache: CacheLimits§content: ContentLimits§model: ModelLimitsTrait Implementations§
Source§impl Clone for StorageLimits
impl Clone for StorageLimits
Source§fn clone(&self) -> StorageLimits
fn clone(&self) -> StorageLimits
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 StorageLimits
impl Debug for StorageLimits
Source§impl Default for StorageLimits
impl Default for StorageLimits
Source§impl<'de> Deserialize<'de> for StorageLimits
impl<'de> Deserialize<'de> for StorageLimits
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 StorageLimits
impl RefUnwindSafe for StorageLimits
impl Send for StorageLimits
impl Sync for StorageLimits
impl Unpin for StorageLimits
impl UnwindSafe for StorageLimits
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