pub struct RawSignInput {
pub params: RawSignInputParams,
}Expand description
Provide either hash (to sign a pre-computed hash) OR bytes,
encoding, and hash_function (to hash and then sign). These options
are mutually exclusive.
JSON schema
{
"title": "RawSignInput",
"description": "Provide either `hash` (to sign a pre-computed hash) OR
`bytes`, `encoding`, and `hash_function` (to hash and then sign). These
options are mutually exclusive.",
"type": "object",
"required": [
"params"
],
"properties": {
"params": {
"$ref": "#/components/schemas/RawSignInputParams"
}
},
"x-stainless-model": "wallets.raw_sign_input"
}Fields§
§params: RawSignInputParamsTrait Implementations§
Source§impl Clone for RawSignInput
impl Clone for RawSignInput
Source§fn clone(&self) -> RawSignInput
fn clone(&self) -> RawSignInput
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 RawSignInput
impl Debug for RawSignInput
Source§impl<'de> Deserialize<'de> for RawSignInput
impl<'de> Deserialize<'de> for RawSignInput
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<&RawSignInput> for RawSignInput
impl From<&RawSignInput> for RawSignInput
Source§fn from(value: &RawSignInput) -> Self
fn from(value: &RawSignInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawSignInput
impl RefUnwindSafe for RawSignInput
impl Send for RawSignInput
impl Sync for RawSignInput
impl Unpin for RawSignInput
impl UnsafeUnpin for RawSignInput
impl UnwindSafe for RawSignInput
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