pub struct CreateClientResponse {
pub id: Uuid,
pub dataset_id: Uuid,
pub name: String,
pub description: String,
pub client_key: ViturKeyMaterial,
}
Expand description
Response message to a CreateClientRequest.
Contains the client_id`` and the
client_key, the latter being a base64 encoded 32 byte key.
The client_key
should be considered sensitive and should be stored securely.
Fields§
§id: Uuid
§dataset_id: Uuid
§name: String
§description: String
§client_key: ViturKeyMaterial
Trait Implementations§
Source§impl Debug for CreateClientResponse
impl Debug for CreateClientResponse
Source§impl<'de> Deserialize<'de> for CreateClientResponse
impl<'de> Deserialize<'de> for CreateClientResponse
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 Serialize for CreateClientResponse
impl Serialize for CreateClientResponse
impl ViturResponse for CreateClientResponse
Auto Trait Implementations§
impl Freeze for CreateClientResponse
impl RefUnwindSafe for CreateClientResponse
impl Send for CreateClientResponse
impl Sync for CreateClientResponse
impl Unpin for CreateClientResponse
impl UnwindSafe for CreateClientResponse
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