pub struct SendUserOperationBody {
pub signature: String,
}
Expand description
SendUserOperationBody
JSON schema
{
"type": "object",
"required": [
"signature"
],
"properties": {
"signature": {
"description": "The hex-encoded signature of the user operation. This should be a 65-byte signature consisting of the `r`, `s`, and `v` values of the ECDSA signature. Note that the `v` value should conform to the `personal_sign` standard, which means it should be 27 or 28.",
"examples": [
"0x1b0c9cf8cd4554c6c6d9e7311e88f1be075d7f25b418a044f4bf2c0a42a93e212ad0a8b54de9e0b5f7e3812de3f2c6cc79aa8c3e1c02e7ad14b4a8f42012c2c01b"
],
"type": "string"
}
}
}
Fields§
§signature: String
The hex-encoded signature of the user operation. This should be a 65-byte signature consisting of the r
, s
, and v
values of the ECDSA signature. Note that the v
value should conform to the personal_sign
standard, which means it should be 27 or 28.
Implementations§
Source§impl SendUserOperationBody
impl SendUserOperationBody
pub fn builder() -> SendUserOperationBody
Trait Implementations§
Source§impl Clone for SendUserOperationBody
impl Clone for SendUserOperationBody
Source§fn clone(&self) -> SendUserOperationBody
fn clone(&self) -> SendUserOperationBody
Returns a duplicate of the value. Read more
1.0.0 · 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 SendUserOperationBody
impl Debug for SendUserOperationBody
Source§impl<'de> Deserialize<'de> for SendUserOperationBody
impl<'de> Deserialize<'de> for SendUserOperationBody
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<&SendUserOperationBody> for SendUserOperationBody
impl From<&SendUserOperationBody> for SendUserOperationBody
Source§fn from(value: &SendUserOperationBody) -> Self
fn from(value: &SendUserOperationBody) -> Self
Converts to this type from the input type.
Source§impl From<SendUserOperationBody> for SendUserOperationBody
impl From<SendUserOperationBody> for SendUserOperationBody
Source§fn from(value: SendUserOperationBody) -> Self
fn from(value: SendUserOperationBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SendUserOperationBody
impl Serialize for SendUserOperationBody
Source§impl TryFrom<SendUserOperationBody> for SendUserOperationBody
impl TryFrom<SendUserOperationBody> for SendUserOperationBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SendUserOperationBody) -> Result<Self, ConversionError>
fn try_from(value: SendUserOperationBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SendUserOperationBody
impl RefUnwindSafe for SendUserOperationBody
impl Send for SendUserOperationBody
impl Sync for SendUserOperationBody
impl Unpin for SendUserOperationBody
impl UnwindSafe for SendUserOperationBody
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