pub struct AttachmentUploadResponse {
pub success: bool,
pub attachment_id: String,
pub file_name: String,
pub file_size: u64,
pub storage_backend: String,
pub message: String,
}Fields§
§success: bool§attachment_id: String§file_name: String§file_size: u64§storage_backend: String§message: StringTrait Implementations§
Source§impl Clone for AttachmentUploadResponse
impl Clone for AttachmentUploadResponse
Source§impl Debug for AttachmentUploadResponse
impl Debug for AttachmentUploadResponse
Source§impl<'de> Deserialize<'de> for AttachmentUploadResponse
impl<'de> Deserialize<'de> for AttachmentUploadResponse
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
impl Eq for AttachmentUploadResponse
Source§impl From<AttachmentUploadResponse> for AttachmentUploadSuccess
impl From<AttachmentUploadResponse> for AttachmentUploadSuccess
Source§fn from(response: AttachmentUploadResponse) -> Self
fn from(response: AttachmentUploadResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AttachmentUploadResponse
impl PartialEq for AttachmentUploadResponse
Source§impl Serialize for AttachmentUploadResponse
impl Serialize for AttachmentUploadResponse
impl StructuralPartialEq for AttachmentUploadResponse
Auto Trait Implementations§
impl Freeze for AttachmentUploadResponse
impl RefUnwindSafe for AttachmentUploadResponse
impl Send for AttachmentUploadResponse
impl Sync for AttachmentUploadResponse
impl Unpin for AttachmentUploadResponse
impl UnsafeUnpin for AttachmentUploadResponse
impl UnwindSafe for AttachmentUploadResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.