pub struct LimitsUpdate {
pub attachments_upload_max_bytes: Option<NonNegativeNumber>,
pub attachments_upload_blocked: Option<bool>,
pub avatars_upload_blocked: Option<bool>,
pub attachments_download_max_bytes: Option<NonNegativeNumber>,
pub attachments_download_blocked: Option<bool>,
pub api_upload_max_bytes: Option<NonNegativeNumber>,
pub api_upload_blocked: Option<bool>,
pub api_download_max_bytes: Option<NonNegativeNumber>,
pub api_download_blocked: Option<bool>,
}Fields§
§attachments_upload_max_bytes: Option<NonNegativeNumber>§attachments_upload_blocked: Option<bool>§avatars_upload_blocked: Option<bool>§attachments_download_max_bytes: Option<NonNegativeNumber>§attachments_download_blocked: Option<bool>§api_upload_max_bytes: Option<NonNegativeNumber>§api_upload_blocked: Option<bool>§api_download_max_bytes: Option<NonNegativeNumber>§api_download_blocked: Option<bool>Trait Implementations§
Source§impl Clone for LimitsUpdate
impl Clone for LimitsUpdate
Source§impl Debug for LimitsUpdate
impl Debug for LimitsUpdate
Source§impl Default for LimitsUpdate
impl Default for LimitsUpdate
Source§impl<'de> Deserialize<'de> for LimitsUpdate
impl<'de> Deserialize<'de> for LimitsUpdate
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 LimitsUpdate
impl RefUnwindSafe for LimitsUpdate
impl Send for LimitsUpdate
impl Sync for LimitsUpdate
impl Unpin for LimitsUpdate
impl UnsafeUnpin for LimitsUpdate
impl UnwindSafe for LimitsUpdate
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