pub struct UploadFile<'a> { /* private fields */ }
Expand description
endpoint to upload a file for use in either project files or issue attachments
the token it returns needs to be passed to one of those endpoints for the file to actually be visible anywhere in Redmine
Implementations§
Source§impl<'a> UploadFile<'a>
impl<'a> UploadFile<'a>
Sourcepub fn builder() -> UploadFileBuilder<'a>
pub fn builder() -> UploadFileBuilder<'a>
Create a builder for the endpoint.
Trait Implementations§
Source§impl<'a> Clone for UploadFile<'a>
impl<'a> Clone for UploadFile<'a>
Source§fn clone(&self) -> UploadFile<'a>
fn clone(&self) -> UploadFile<'a>
Returns a duplicate 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<'a> Debug for UploadFile<'a>
impl<'a> Debug for UploadFile<'a>
Source§impl Endpoint for UploadFile<'_>
impl Endpoint for UploadFile<'_>
Source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
impl NoPagination for UploadFile<'_>
impl ReturnsJsonResponse for UploadFile<'_>
Auto Trait Implementations§
impl<'a> Freeze for UploadFile<'a>
impl<'a> RefUnwindSafe for UploadFile<'a>
impl<'a> Send for UploadFile<'a>
impl<'a> Sync for UploadFile<'a>
impl<'a> Unpin for UploadFile<'a>
impl<'a> UnwindSafe for UploadFile<'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