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
sourceimpl<'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
sourceimpl<'a> Clone for UploadFile<'a>
impl<'a> Clone for UploadFile<'a>
sourcefn clone(&self) -> UploadFile<'a>
fn clone(&self) -> UploadFile<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for UploadFile<'a>
impl<'a> Debug for UploadFile<'a>
sourceimpl<'a> Endpoint for UploadFile<'a>
impl<'a> Endpoint for UploadFile<'a>
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more