Struct hersir::config::ExplorerTemplate
source · pub struct ExplorerTemplate {
pub connect_to: NodeAlias,
pub persistence_mode: PersistenceMode,
pub address_bech32_prefix: Option<String>,
pub query_depth_limit: Option<u64>,
pub query_complexity_limit: Option<u64>,
}
Fields§
§connect_to: NodeAlias
§persistence_mode: PersistenceMode
§address_bech32_prefix: Option<String>
§query_depth_limit: Option<u64>
§query_complexity_limit: Option<u64>
Implementations§
source§impl ExplorerTemplate
impl ExplorerTemplate
pub fn to_explorer_params(&self) -> ExplorerParams
Trait Implementations§
source§impl Clone for ExplorerTemplate
impl Clone for ExplorerTemplate
source§fn clone(&self) -> ExplorerTemplate
fn clone(&self) -> ExplorerTemplate
Returns a copy 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 ExplorerTemplate
impl Debug for ExplorerTemplate
source§impl<'de> Deserialize<'de> for ExplorerTemplate
impl<'de> Deserialize<'de> for ExplorerTemplate
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 ExplorerTemplate
impl Send for ExplorerTemplate
impl Sync for ExplorerTemplate
impl Unpin for ExplorerTemplate
impl UnwindSafe for ExplorerTemplate
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request