pub struct AttachmentRequestModel {
pub key: Option<String>,
pub file_name: Option<String>,
pub file_size: Option<i64>,
pub admin_request: Option<bool>,
}
Fields§
§key: Option<String>
§file_name: Option<String>
§file_size: Option<i64>
§admin_request: Option<bool>
Implementations§
Source§impl AttachmentRequestModel
impl AttachmentRequestModel
pub fn new() -> AttachmentRequestModel
Trait Implementations§
Source§impl Clone for AttachmentRequestModel
impl Clone for AttachmentRequestModel
Source§fn clone(&self) -> AttachmentRequestModel
fn clone(&self) -> AttachmentRequestModel
Returns a copy 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 AttachmentRequestModel
impl Debug for AttachmentRequestModel
Source§impl Default for AttachmentRequestModel
impl Default for AttachmentRequestModel
Source§fn default() -> AttachmentRequestModel
fn default() -> AttachmentRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentRequestModel
impl<'de> Deserialize<'de> for AttachmentRequestModel
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 AttachmentRequestModel
impl PartialEq for AttachmentRequestModel
Source§impl Serialize for AttachmentRequestModel
impl Serialize for AttachmentRequestModel
impl StructuralPartialEq for AttachmentRequestModel
Auto Trait Implementations§
impl Freeze for AttachmentRequestModel
impl RefUnwindSafe for AttachmentRequestModel
impl Send for AttachmentRequestModel
impl Sync for AttachmentRequestModel
impl Unpin for AttachmentRequestModel
impl UnwindSafe for AttachmentRequestModel
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