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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more