pub struct CreateClientRequest<'a> {
pub dataset_id: Uuid,
pub name: Cow<'a, str>,
pub description: Cow<'a, str>,
}Fields§
§dataset_id: Uuid§name: Cow<'a, str>§description: Cow<'a, str>Trait Implementations§
source§impl<'a> Debug for CreateClientRequest<'a>
impl<'a> Debug for CreateClientRequest<'a>
source§impl<'de, 'a> Deserialize<'de> for CreateClientRequest<'a>
impl<'de, 'a> Deserialize<'de> for CreateClientRequest<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Dummy<Dataset> for CreateClientRequest<'_>
impl Dummy<Dataset> for CreateClientRequest<'_>
Generate a random CreateClientRequest for the given Dataset.
The name and description are random.
source§impl<'a> Serialize for CreateClientRequest<'a>
impl<'a> Serialize for CreateClientRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateClientRequest<'a>
impl<'a> RefUnwindSafe for CreateClientRequest<'a>
impl<'a> Send for CreateClientRequest<'a>
impl<'a> Sync for CreateClientRequest<'a>
impl<'a> Unpin for CreateClientRequest<'a>
impl<'a> UnwindSafe for CreateClientRequest<'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