pub struct EditClient {
pub client_id: Uuid,
pub description: Option<String>,
pub version: u32,
/* private fields */
}
Expand description
Create a new api client.
This requires authentication.
Makes a request to POST /client
Fields§
§client_id: Uuid
§description: Option<String>
§version: u32
Implementations§
Source§impl EditClient
impl EditClient
Sourcepub async fn send(&self) -> ApiClientResponse
pub async fn send(&self) -> ApiClientResponse
Send the request.
Trait Implementations§
Source§impl Clone for EditClient
impl Clone for EditClient
Source§fn clone(&self) -> EditClient
fn clone(&self) -> EditClient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EditClient
impl Debug for EditClient
Source§impl Default for EditClient
impl Default for EditClient
Source§fn default() -> EditClient
fn default() -> EditClient
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EditClient
impl !RefUnwindSafe for EditClient
impl !Send for EditClient
impl !Sync for EditClient
impl Unpin for EditClient
impl !UnwindSafe for EditClient
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