pub struct PromoteManagerRelease<'a> { /* private fields */ }Expand description
Builder for Client::promote_manager_release
Implementations§
Source§impl<'a> PromoteManagerRelease<'a>
impl<'a> PromoteManagerRelease<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Self
pub fn body<V>(self, value: V) -> Self
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ReleaseChannelResponse>, Error<()>>
pub async fn send( self, ) -> Result<ResponseValue<ReleaseChannelResponse>, Error<()>>
Sends a POST request to /v1/releases/{id}/promote
Trait Implementations§
Source§impl<'a> Clone for PromoteManagerRelease<'a>
impl<'a> Clone for PromoteManagerRelease<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PromoteManagerRelease<'a>
impl<'a> !UnwindSafe for PromoteManagerRelease<'a>
impl<'a> Forget for PromoteManagerRelease<'a>
impl<'a> Freeze for PromoteManagerRelease<'a>
impl<'a> Move for PromoteManagerRelease<'a>
impl<'a> Send for PromoteManagerRelease<'a>
impl<'a> Sync for PromoteManagerRelease<'a>
impl<'a> Unpin for PromoteManagerRelease<'a>
impl<'a> UnsafeUnpin for PromoteManagerRelease<'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