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