pub struct EditClientBuilder {
client_id: Option<Uuid>,
description: Option<Option<String>>,
version: Option<u32>,
/* private fields */
}
Expand description
Builder for EditClient
.
Fields§
§client_id: Option<Uuid>
§description: Option<Option<String>>
§version: Option<u32>
Implementations§
Source§impl EditClientBuilder
impl EditClientBuilder
pub fn client_id<VALUE: Into<Uuid>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn version<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<EditClient, BuilderError>
pub fn build(&self) -> Result<EditClient, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl EditClientBuilder
impl EditClientBuilder
pub async fn send(&self) -> ApiClientResponse
Trait Implementations§
Source§impl Clone for EditClientBuilder
impl Clone for EditClientBuilder
Source§fn clone(&self) -> EditClientBuilder
fn clone(&self) -> EditClientBuilder
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 moreAuto Trait Implementations§
impl Freeze for EditClientBuilder
impl !RefUnwindSafe for EditClientBuilder
impl !Send for EditClientBuilder
impl !Sync for EditClientBuilder
impl Unpin for EditClientBuilder
impl !UnwindSafe for EditClientBuilder
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