pub struct ImageAttachmentConfig {
pub auto_resize: Option<bool>,
pub max_base64_bytes: Option<i64>,
pub max_height: Option<i64>,
pub max_width: Option<i64>,
}Fields§
§auto_resize: Option<bool>§max_base64_bytes: Option<i64>§max_height: Option<i64>§max_width: Option<i64>Trait Implementations§
Source§impl Clone for ImageAttachmentConfig
impl Clone for ImageAttachmentConfig
Source§fn clone(&self) -> ImageAttachmentConfig
fn clone(&self) -> ImageAttachmentConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImageAttachmentConfig
impl Debug for ImageAttachmentConfig
Source§impl<'de> Deserialize<'de> for ImageAttachmentConfig
impl<'de> Deserialize<'de> for ImageAttachmentConfig
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 ImageAttachmentConfig
impl PartialEq for ImageAttachmentConfig
Source§impl Serialize for ImageAttachmentConfig
impl Serialize for ImageAttachmentConfig
impl StructuralPartialEq for ImageAttachmentConfig
Auto Trait Implementations§
impl Freeze for ImageAttachmentConfig
impl RefUnwindSafe for ImageAttachmentConfig
impl Send for ImageAttachmentConfig
impl Sync for ImageAttachmentConfig
impl Unpin for ImageAttachmentConfig
impl UnsafeUnpin for ImageAttachmentConfig
impl UnwindSafe for ImageAttachmentConfig
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