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