pub struct CreateClientRequest {
pub expires_at: Option<TimestampMs>,
pub label: Option<String>,
}Expand description
A request to create a new client and client credentials that can authenticate with a Lexe node.
Fields§
§expires_at: Option<TimestampMs>An optional expiration for the client.
None indicates that the client should never expire. Use carefully!
label: Option<String>An optional label for the client.
Must be at most 64 UTF-8 bytes if provided.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CreateClientRequest
impl<'de> Deserialize<'de> for CreateClientRequest
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 From<CreateClientRequest> for CreateRevocableClientRequest
impl From<CreateClientRequest> for CreateRevocableClientRequest
Source§fn from(req: CreateClientRequest) -> Self
fn from(req: CreateClientRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateClientRequest
impl RefUnwindSafe for CreateClientRequest
impl Send for CreateClientRequest
impl Sync for CreateClientRequest
impl Unpin for CreateClientRequest
impl UnwindSafe for CreateClientRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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