pub struct CreateRevocableClientRequest {
pub expires_at: Option<TimestampMs>,
pub label: Option<String>,
pub scope: Scope,
}Expand description
A request to create a new revocable client.
Fields§
§expires_at: Option<TimestampMs>The expiration after which the node should reject this client.
None indicates that the client will never expire (use carefully!).
label: Option<String>Optional user-provided label for this client.
scope: ScopeThe authorization scopes allowed for this client.
Trait Implementations§
Source§impl Clone for CreateRevocableClientRequest
impl Clone for CreateRevocableClientRequest
Source§fn clone(&self) -> CreateRevocableClientRequest
fn clone(&self) -> CreateRevocableClientRequest
Returns a duplicate 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 CreateRevocableClientRequest
impl Debug for CreateRevocableClientRequest
Source§impl<'de> Deserialize<'de> for CreateRevocableClientRequest
impl<'de> Deserialize<'de> for CreateRevocableClientRequest
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
Auto Trait Implementations§
impl Freeze for CreateRevocableClientRequest
impl RefUnwindSafe for CreateRevocableClientRequest
impl Send for CreateRevocableClientRequest
impl Sync for CreateRevocableClientRequest
impl Unpin for CreateRevocableClientRequest
impl UnsafeUnpin for CreateRevocableClientRequest
impl UnwindSafe for CreateRevocableClientRequest
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