pub struct CliCodeResponse {
pub code: String,
}Expand description
A short, human-typeable code the user re-types into the CLI.
JSON schema
{
"title": "CliCodeResponse",
"description": "A short, human-typeable code the user re-types into the
CLI.",
"examples": [
{
"code": "K7P2QR9MX3WZ4NTV"
}
],
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"description": "The single-use paste code. Valid for five
minutes.",
"type": "string"
}
}
}Fields§
§code: StringThe single-use paste code. Valid for five minutes.
Trait Implementations§
Source§impl Clone for CliCodeResponse
impl Clone for CliCodeResponse
Source§fn clone(&self) -> CliCodeResponse
fn clone(&self) -> CliCodeResponse
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 CliCodeResponse
impl Debug for CliCodeResponse
Source§impl<'de> Deserialize<'de> for CliCodeResponse
impl<'de> Deserialize<'de> for CliCodeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CliCodeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CliCodeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CliCodeResponse
impl Serialize for CliCodeResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CliCodeResponse
impl RefUnwindSafe for CliCodeResponse
impl Send for CliCodeResponse
impl Sync for CliCodeResponse
impl Unpin for CliCodeResponse
impl UnsafeUnpin for CliCodeResponse
impl UnwindSafe for CliCodeResponse
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