pub struct KeyQuorumAuthorizationHeaders {
pub privy_app_id: String,
pub privy_authorization_signature: Option<String>,
pub privy_request_expiry: Option<String>,
}Expand description
Headers required to authorize modifications to key quorums.
JSON schema
{
"title": "KeyQuorumAuthorizationHeaders",
"description": "Headers required to authorize modifications to key
quorums.",
"type": "object",
"required": [
"privy-app-id"
],
"properties": {
"privy-app-id": {
"description": "ID of your Privy app.",
"type": "string"
},
"privy-authorization-signature": {
"description": "Request authorization signature. If multiple
signatures are required, they should be comma separated.",
"type": "string"
},
"privy-request-expiry": {
"description": "Request expiry. Value is a Unix timestamp in
milliseconds representing the deadline by which the request must be
processed.",
"type": "string"
}
},
"x-stainless-model": "key_quorums.key_quorum_authorization_headers"
}Fields§
§privy_app_id: StringID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
privy_request_expiry: Option<String>Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Trait Implementations§
Source§impl Clone for KeyQuorumAuthorizationHeaders
impl Clone for KeyQuorumAuthorizationHeaders
Source§fn clone(&self) -> KeyQuorumAuthorizationHeaders
fn clone(&self) -> KeyQuorumAuthorizationHeaders
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<'de> Deserialize<'de> for KeyQuorumAuthorizationHeaders
impl<'de> Deserialize<'de> for KeyQuorumAuthorizationHeaders
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<&KeyQuorumAuthorizationHeaders> for KeyQuorumAuthorizationHeaders
impl From<&KeyQuorumAuthorizationHeaders> for KeyQuorumAuthorizationHeaders
Source§fn from(value: &KeyQuorumAuthorizationHeaders) -> Self
fn from(value: &KeyQuorumAuthorizationHeaders) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KeyQuorumAuthorizationHeaders
impl RefUnwindSafe for KeyQuorumAuthorizationHeaders
impl Send for KeyQuorumAuthorizationHeaders
impl Sync for KeyQuorumAuthorizationHeaders
impl Unpin for KeyQuorumAuthorizationHeaders
impl UnsafeUnpin for KeyQuorumAuthorizationHeaders
impl UnwindSafe for KeyQuorumAuthorizationHeaders
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