pub struct ProtocolStateRequestBody {
pub protocol_ids: Option<Vec<String>>,
pub protocol_system: String,
pub chain: Chain,
pub include_balances: bool,
pub version: VersionParam,
pub pagination: PaginationParams,
}Expand description
Max page size supported is 100
Fields§
§protocol_ids: Option<Vec<String>>Filters response by protocol components ids
protocol_system: StringFilters by protocol, required to correctly apply unconfirmed state from ReorgBuffers
chain: Chain§include_balances: boolWhether to include account balances in the response. Defaults to true.
version: VersionParam§pagination: PaginationParamsImplementations§
Source§impl ProtocolStateRequestBody
impl ProtocolStateRequestBody
pub fn id_filtered<I, T>(ids: I) -> Self
Trait Implementations§
Source§impl Clone for ProtocolStateRequestBody
impl Clone for ProtocolStateRequestBody
Source§fn clone(&self) -> ProtocolStateRequestBody
fn clone(&self) -> ProtocolStateRequestBody
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 ProtocolStateRequestBody
impl Debug for ProtocolStateRequestBody
Source§impl DeepSizeOf for ProtocolStateRequestBody
impl DeepSizeOf for ProtocolStateRequestBody
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl Default for ProtocolStateRequestBody
impl Default for ProtocolStateRequestBody
Source§fn default() -> ProtocolStateRequestBody
fn default() -> ProtocolStateRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtocolStateRequestBody
Custom deserializer for ProtocolStateRequestBody to support backwards compatibility with the old
ProtocolIds format.
To be removed when the old format is no longer supported.
impl<'de> Deserialize<'de> for ProtocolStateRequestBody
Custom deserializer for ProtocolStateRequestBody to support backwards compatibility with the old ProtocolIds format. To be removed when the old format is no longer supported.
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 Hash for ProtocolStateRequestBody
impl Hash for ProtocolStateRequestBody
Source§impl PartialEq for ProtocolStateRequestBody
impl PartialEq for ProtocolStateRequestBody
Source§impl Serialize for ProtocolStateRequestBody
impl Serialize for ProtocolStateRequestBody
Source§impl<'__s> ToSchema<'__s> for ProtocolStateRequestBody
impl<'__s> ToSchema<'__s> for ProtocolStateRequestBody
impl Eq for ProtocolStateRequestBody
impl StructuralPartialEq for ProtocolStateRequestBody
Auto Trait Implementations§
impl !Freeze for ProtocolStateRequestBody
impl RefUnwindSafe for ProtocolStateRequestBody
impl Send for ProtocolStateRequestBody
impl Sync for ProtocolStateRequestBody
impl Unpin for ProtocolStateRequestBody
impl UnwindSafe for ProtocolStateRequestBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.