Struct redmine_api::api::uploads::UploadFile
source · 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 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<'a> Debug for UploadFile<'a>
impl<'a> Debug for UploadFile<'a>
source§impl<'a> Endpoint for UploadFile<'a>
impl<'a> Endpoint for UploadFile<'a>
source§fn parameters(&self) -> QueryParams<'_>
fn parameters(&self) -> QueryParams<'_>
Query parameters for the endpoint.
impl<'a> ReturnsJsonResponse for UploadFile<'a>
Auto Trait Implementations§
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