pub struct AttachmentManager<'a> { /* private fields */ }
Implementations§
source§impl<'a> AttachmentManager<'a>
impl<'a> AttachmentManager<'a>
pub const fn new() -> Self
pub fn build_form(&self, fields: &'a [u8]) -> Form
pub fn get_partial_attachments(&self) -> Vec<PartialAttachment<'a>>
pub fn is_empty(&self) -> bool
pub fn set_files(self, files: Vec<&'a Attachment>) -> Self
pub fn set_ids(self, ids: Vec<Id<AttachmentMarker>>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AttachmentManager<'a>
impl<'a> RefUnwindSafe for AttachmentManager<'a>
impl<'a> Send for AttachmentManager<'a>
impl<'a> Sync for AttachmentManager<'a>
impl<'a> Unpin for AttachmentManager<'a>
impl<'a> UnwindSafe for AttachmentManager<'a>
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