Struct warg_api::v1::proof::InclusionRequest
source · pub struct InclusionRequest {
pub log_length: RegistryLen,
pub leafs: Vec<RegistryIndex>,
}
Expand description
Represents an inclusion proof request.
Fields§
§log_length: RegistryLen
The log length to check for inclusion.
leafs: Vec<RegistryIndex>
The log leaf indexes in the registry log to check for inclusion.
Trait Implementations§
source§impl<'de> Deserialize<'de> for InclusionRequest
impl<'de> Deserialize<'de> for InclusionRequest
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
Auto Trait Implementations§
impl RefUnwindSafe for InclusionRequest
impl Send for InclusionRequest
impl Sync for InclusionRequest
impl Unpin for InclusionRequest
impl UnwindSafe for InclusionRequest
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