pub struct OutputQueueData {
pub account_hashes: Vec<Hash>,
pub first_queue_index: u64,
pub leaf_indices: Vec<u64>,
pub leaves: Vec<Hash>,
pub leaves_hash_chains: Vec<Hash>,
pub next_index: u64,
}Expand description
OutputQueueData
JSON schema
{
"type": "object",
"required": [
"accountHashes",
"firstQueueIndex",
"leafIndices",
"leaves",
"leavesHashChains",
"nextIndex"
],
"properties": {
"accountHashes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"firstQueueIndex": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"leafIndices": {
"type": "array",
"items": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"leaves": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"leavesHashChains": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Hash"
}
},
"nextIndex": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}Fields§
§account_hashes: Vec<Hash>§first_queue_index: u64§leaf_indices: Vec<u64>§leaves: Vec<Hash>§leaves_hash_chains: Vec<Hash>§next_index: u64Implementations§
Source§impl OutputQueueData
impl OutputQueueData
pub fn builder() -> OutputQueueData
Trait Implementations§
Source§impl Clone for OutputQueueData
impl Clone for OutputQueueData
Source§fn clone(&self) -> OutputQueueData
fn clone(&self) -> OutputQueueData
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 OutputQueueData
impl Debug for OutputQueueData
Source§impl<'de> Deserialize<'de> for OutputQueueData
impl<'de> Deserialize<'de> for OutputQueueData
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<OutputQueueData> for OutputQueueData
impl From<OutputQueueData> for OutputQueueData
Source§fn from(value: OutputQueueData) -> Self
fn from(value: OutputQueueData) -> Self
Converts to this type from the input type.
Source§impl Serialize for OutputQueueData
impl Serialize for OutputQueueData
Source§impl TryFrom<OutputQueueData> for OutputQueueData
impl TryFrom<OutputQueueData> for OutputQueueData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OutputQueueData) -> Result<Self, ConversionError>
fn try_from(value: OutputQueueData) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OutputQueueData
impl RefUnwindSafe for OutputQueueData
impl Send for OutputQueueData
impl Sync for OutputQueueData
impl Unpin for OutputQueueData
impl UnsafeUnpin for OutputQueueData
impl UnwindSafe for OutputQueueData
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