pub struct CliClaimRequest {
pub nonce: String,
}Expand description
The CLI polls with its nonce to claim the session token the SPA transferred.
JSON schema
{
"title": "CliClaimRequest",
"description": "The CLI polls with its nonce to claim the session token
the SPA transferred.",
"examples": [
{
"nonce": "a7Kp...random"
}
],
"type": "object",
"required": [
"nonce"
],
"properties": {
"nonce": {
"description": "The nonce the CLI generated for this loopback
handoff.",
"type": "string"
}
}
}Fields§
§nonce: StringThe nonce the CLI generated for this loopback handoff.
Trait Implementations§
Source§impl Clone for CliClaimRequest
impl Clone for CliClaimRequest
Source§fn clone(&self) -> CliClaimRequest
fn clone(&self) -> CliClaimRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CliClaimRequest
impl Debug for CliClaimRequest
Source§impl<'de> Deserialize<'de> for CliClaimRequest
impl<'de> Deserialize<'de> for CliClaimRequest
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 CliClaimRequest
impl RefUnwindSafe for CliClaimRequest
impl Send for CliClaimRequest
impl Sync for CliClaimRequest
impl Unpin for CliClaimRequest
impl UnsafeUnpin for CliClaimRequest
impl UnwindSafe for CliClaimRequest
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