pub struct ApiClientEndpoint {
http_client: HttpClientRef,
}
Fields§
§http_client: HttpClientRef
Implementations§
Source§impl ApiClientEndpoint
impl ApiClientEndpoint
pub fn new(http_client: HttpClientRef) -> Self
pub fn get(&self) -> ListClientsBuilder
pub fn post(&self) -> CreateClientBuilder
pub fn id(&self, id: Uuid) -> IdEndpoint
Trait Implementations§
Source§impl ApiClientEndpointMethods for ApiClientEndpoint
impl ApiClientEndpointMethods for ApiClientEndpoint
fn get(&self) -> ListClientsBuilder
fn post(&self) -> CreateClientBuilder
fn id(&self, id: Uuid) -> IdEndpoint
Source§impl Debug for ApiClientEndpoint
impl Debug for ApiClientEndpoint
Source§impl From<&ApiClientEndpoint> for HttpClientRef
impl From<&ApiClientEndpoint> for HttpClientRef
Source§fn from(value: &ApiClientEndpoint) -> Self
fn from(value: &ApiClientEndpoint) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ApiClientEndpoint
impl !RefUnwindSafe for ApiClientEndpoint
impl !Send for ApiClientEndpoint
impl !Sync for ApiClientEndpoint
impl Unpin for ApiClientEndpoint
impl !UnwindSafe for ApiClientEndpoint
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