pub struct TaskAttachmentApiClient { /* private fields */ }Implementations§
Source§impl TaskAttachmentApiClient
impl TaskAttachmentApiClient
pub fn new(configuration: Rc<Configuration>) -> TaskAttachmentApiClient
Trait Implementations§
Source§impl TaskAttachmentApi for TaskAttachmentApiClient
impl TaskAttachmentApi for TaskAttachmentApiClient
fn add_attachment( &self, id: &str, attachment_name: Option<&str>, attachment_description: Option<&str>, attachment_type: Option<&str>, url: Option<&str>, content: Option<PathBuf>, ) -> Result<AttachmentDto, Error>
fn delete_attachment(&self, id: &str, attachment_id: &str) -> Result<(), Error>
fn get_attachment( &self, id: &str, attachment_id: &str, ) -> Result<AttachmentDto, Error>
fn get_attachment_data( &self, id: &str, attachment_id: &str, ) -> Result<PathBuf, Error>
fn get_attachments(&self, id: &str) -> Result<Vec<AttachmentDto>, Error>
Auto Trait Implementations§
impl Freeze for TaskAttachmentApiClient
impl !RefUnwindSafe for TaskAttachmentApiClient
impl !Send for TaskAttachmentApiClient
impl !Sync for TaskAttachmentApiClient
impl Unpin for TaskAttachmentApiClient
impl !UnwindSafe for TaskAttachmentApiClient
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more