pub struct CliTransferRequest {
pub nonce: String,
}Expand description
The SPA hands a fresh session token to a locally-running CLI that
generated nonce and is polling the claim endpoint.
JSON schema
{
"title": "CliTransferRequest",
"description": "The SPA hands a fresh session token to a
locally-running CLI that generated `nonce` and is polling the claim
endpoint.",
"examples": [
{
"nonce": "a7Kp...random"
}
],
"type": "object",
"required": [
"nonce"
],
"properties": {
"nonce": {
"description": "The opaque nonce the CLI generated and is polling
claim with.",
"type": "string"
}
}
}Fields§
§nonce: StringThe opaque nonce the CLI generated and is polling claim with.
Trait Implementations§
Source§impl Clone for CliTransferRequest
impl Clone for CliTransferRequest
Source§fn clone(&self) -> CliTransferRequest
fn clone(&self) -> CliTransferRequest
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 CliTransferRequest
impl Debug for CliTransferRequest
Source§impl<'de> Deserialize<'de> for CliTransferRequest
impl<'de> Deserialize<'de> for CliTransferRequest
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 CliTransferRequest
impl RefUnwindSafe for CliTransferRequest
impl Send for CliTransferRequest
impl Sync for CliTransferRequest
impl Unpin for CliTransferRequest
impl UnsafeUnpin for CliTransferRequest
impl UnwindSafe for CliTransferRequest
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