pub struct AdapterCallContract {
pub retry_policy: RetryPolicy,
pub timeout_ms: u64,
}Fields§
§retry_policy: RetryPolicy§timeout_ms: u64Implementations§
Source§impl AdapterCallContract
impl AdapterCallContract
pub fn low_latency() -> Self
pub fn default_query() -> Self
pub fn with_retry_policy(self, retry_policy: RetryPolicy) -> Self
pub fn with_timeout_ms(self, timeout_ms: u64) -> Self
Trait Implementations§
Source§impl Clone for AdapterCallContract
impl Clone for AdapterCallContract
Source§fn clone(&self) -> AdapterCallContract
fn clone(&self) -> AdapterCallContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AdapterCallContract
impl Debug for AdapterCallContract
Source§impl Default for AdapterCallContract
impl Default for AdapterCallContract
Source§impl<'de> Deserialize<'de> for AdapterCallContract
impl<'de> Deserialize<'de> for AdapterCallContract
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 PartialEq for AdapterCallContract
impl PartialEq for AdapterCallContract
Source§fn eq(&self, other: &AdapterCallContract) -> bool
fn eq(&self, other: &AdapterCallContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AdapterCallContract
impl Serialize for AdapterCallContract
impl Copy for AdapterCallContract
impl Eq for AdapterCallContract
impl StructuralPartialEq for AdapterCallContract
Auto Trait Implementations§
impl Freeze for AdapterCallContract
impl RefUnwindSafe for AdapterCallContract
impl Send for AdapterCallContract
impl Sync for AdapterCallContract
impl Unpin for AdapterCallContract
impl UnsafeUnpin for AdapterCallContract
impl UnwindSafe for AdapterCallContract
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