pub struct GeneralAttachmentSettings {
pub allowed_types: Option<String>,
pub enabled: Option<bool>,
pub max_files: Option<i64>,
pub max_size: Option<i64>,
}Expand description
GeneralAttachmentSettings contains global Attachment settings exposed by API
Fields§
§allowed_types: Option<String>§enabled: Option<bool>§max_files: Option<i64>§max_size: Option<i64>Trait Implementations§
Source§impl Clone for GeneralAttachmentSettings
impl Clone for GeneralAttachmentSettings
Source§fn clone(&self) -> GeneralAttachmentSettings
fn clone(&self) -> GeneralAttachmentSettings
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 GeneralAttachmentSettings
impl Debug for GeneralAttachmentSettings
Source§impl<'de> Deserialize<'de> for GeneralAttachmentSettings
impl<'de> Deserialize<'de> for GeneralAttachmentSettings
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 FromResponse for GeneralAttachmentSettings
impl FromResponse for GeneralAttachmentSettings
fn from_response( response: ApiResponse, has_body: bool, ) -> Result<Self, StructureError>
impl StructuralPartialEq for GeneralAttachmentSettings
Auto Trait Implementations§
impl Freeze for GeneralAttachmentSettings
impl RefUnwindSafe for GeneralAttachmentSettings
impl Send for GeneralAttachmentSettings
impl Sync for GeneralAttachmentSettings
impl Unpin for GeneralAttachmentSettings
impl UnwindSafe for GeneralAttachmentSettings
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