pub struct Resolve<'a> { /* private fields */ }Expand description
Builder for Client::resolve
Implementations§
Source§impl<'a> Resolve<'a>
impl<'a> Resolve<'a>
pub fn new(client: &'a Client) -> Self
pub fn platform<V>(self, value: V) -> Selfwhere
V: TryInto<ResolvePlatform>,
pub fn project<V>(self, value: V) -> Selfwhere
V: TryInto<ResolveProject>,
pub fn workspace<V>(self, value: V) -> Selfwhere
V: TryInto<ResolveWorkspace>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ResolveResponse>, Error<ApiError>>
pub async fn send( self, ) -> Result<ResponseValue<ResolveResponse>, Error<ApiError>>
Sends a GET request to /v1/resolve
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Resolve<'a>
impl<'a> !UnwindSafe for Resolve<'a>
impl<'a> Freeze for Resolve<'a>
impl<'a> Send for Resolve<'a>
impl<'a> Sync for Resolve<'a>
impl<'a> Unpin for Resolve<'a>
impl<'a> UnsafeUnpin for Resolve<'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