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