pub struct SignatureInfoWithError {
pub block_time: UnixTimestamp,
pub error: Option<String>,
pub signature: SerializableSignature,
pub slot: UnsignedInteger,
}Expand description
SignatureInfoWithError
JSON schema
{
"type": "object",
"required": [
"blockTime",
"signature",
"slot"
],
"properties": {
"blockTime": {
"$ref": "#/components/schemas/UnixTimestamp"
},
"error": {
"type": [
"string",
"null"
]
},
"signature": {
"$ref": "#/components/schemas/SerializableSignature"
},
"slot": {
"$ref": "#/components/schemas/UnsignedInteger"
}
}
}Fields§
§block_time: UnixTimestamp§error: Option<String>§signature: SerializableSignature§slot: UnsignedIntegerImplementations§
Source§impl SignatureInfoWithError
impl SignatureInfoWithError
pub fn builder() -> SignatureInfoWithError
Trait Implementations§
Source§impl Clone for SignatureInfoWithError
impl Clone for SignatureInfoWithError
Source§fn clone(&self) -> SignatureInfoWithError
fn clone(&self) -> SignatureInfoWithError
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 SignatureInfoWithError
impl Debug for SignatureInfoWithError
Source§impl<'de> Deserialize<'de> for SignatureInfoWithError
impl<'de> Deserialize<'de> for SignatureInfoWithError
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<SignatureInfoWithError> for SignatureInfoWithError
impl From<SignatureInfoWithError> for SignatureInfoWithError
Source§fn from(value: SignatureInfoWithError) -> Self
fn from(value: SignatureInfoWithError) -> Self
Converts to this type from the input type.
Source§impl Serialize for SignatureInfoWithError
impl Serialize for SignatureInfoWithError
Source§impl TryFrom<SignatureInfoWithError> for SignatureInfoWithError
impl TryFrom<SignatureInfoWithError> for SignatureInfoWithError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SignatureInfoWithError) -> Result<Self, ConversionError>
fn try_from(value: SignatureInfoWithError) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SignatureInfoWithError
impl RefUnwindSafe for SignatureInfoWithError
impl Send for SignatureInfoWithError
impl Sync for SignatureInfoWithError
impl Unpin for SignatureInfoWithError
impl UnsafeUnpin for SignatureInfoWithError
impl UnwindSafe for SignatureInfoWithError
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