pub struct AnnotationQueuesCreateQueue<'a> { /* private fields */ }Expand description
Builder for Client::annotation_queues_create_queue
Implementations§
Source§impl<'a> AnnotationQueuesCreateQueue<'a>
impl<'a> AnnotationQueuesCreateQueue<'a>
pub fn new(client: &'a Client) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<CreateAnnotationQueueRequest>,
<V as TryInto<CreateAnnotationQueueRequest>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<AnnotationQueue>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<AnnotationQueue>, Error<()>>
Sends a POST request to /api/public/annotation-queues
Trait Implementations§
Source§impl<'a> Clone for AnnotationQueuesCreateQueue<'a>
impl<'a> Clone for AnnotationQueuesCreateQueue<'a>
Source§fn clone(&self) -> AnnotationQueuesCreateQueue<'a>
fn clone(&self) -> AnnotationQueuesCreateQueue<'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 moreAuto Trait Implementations§
impl<'a> Freeze for AnnotationQueuesCreateQueue<'a>
impl<'a> !RefUnwindSafe for AnnotationQueuesCreateQueue<'a>
impl<'a> Send for AnnotationQueuesCreateQueue<'a>
impl<'a> Sync for AnnotationQueuesCreateQueue<'a>
impl<'a> Unpin for AnnotationQueuesCreateQueue<'a>
impl<'a> UnsafeUnpin for AnnotationQueuesCreateQueue<'a>
impl<'a> !UnwindSafe for AnnotationQueuesCreateQueue<'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