pub struct IntentAuthorizeInput {
pub signature: String,
pub timestamp: f64,
}Expand description
Request body for authorizing an intent.
JSON schema
{
"title": "IntentAuthorizeInput",
"description": "Request body for authorizing an intent.",
"type": "object",
"required": [
"signature",
"timestamp"
],
"properties": {
"signature": {
"description": "Signature authorizing the intent.",
"type": "string"
},
"timestamp": {
"description": "Unix timestamp (in milliseconds) when the signature
was created. Used to verify the signature was created when the signing
key was valid.",
"type": "number"
}
},
"x-stainless-model": "intents.intent_authorize_input"
}Fields§
§signature: StringSignature authorizing the intent.
timestamp: f64Trait Implementations§
Source§impl Clone for IntentAuthorizeInput
impl Clone for IntentAuthorizeInput
Source§fn clone(&self) -> IntentAuthorizeInput
fn clone(&self) -> IntentAuthorizeInput
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 IntentAuthorizeInput
impl Debug for IntentAuthorizeInput
Source§impl<'de> Deserialize<'de> for IntentAuthorizeInput
impl<'de> Deserialize<'de> for IntentAuthorizeInput
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<&IntentAuthorizeInput> for IntentAuthorizeInput
impl From<&IntentAuthorizeInput> for IntentAuthorizeInput
Source§fn from(value: &IntentAuthorizeInput) -> Self
fn from(value: &IntentAuthorizeInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IntentAuthorizeInput
impl RefUnwindSafe for IntentAuthorizeInput
impl Send for IntentAuthorizeInput
impl Sync for IntentAuthorizeInput
impl Unpin for IntentAuthorizeInput
impl UnsafeUnpin for IntentAuthorizeInput
impl UnwindSafe for IntentAuthorizeInput
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