pub struct NewAttachment {
pub filename: String,
pub data: String,
pub mime_type: String,
}Expand description
Attachment payload for outbound articles. data is base64-encoded.
Fields§
§filename: StringFile name to show in Zammad.
data: StringBase64-encoded file content.
mime_type: StringMIME type, e.g. text/plain, application/pdf.
Implementations§
Source§impl NewAttachment
impl NewAttachment
Trait Implementations§
Source§impl Clone for NewAttachment
impl Clone for NewAttachment
Source§impl Debug for NewAttachment
impl Debug for NewAttachment
Auto Trait Implementations§
impl Freeze for NewAttachment
impl RefUnwindSafe for NewAttachment
impl Send for NewAttachment
impl Sync for NewAttachment
impl Unpin for NewAttachment
impl UnsafeUnpin for NewAttachment
impl UnwindSafe for NewAttachment
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