pub struct HeaderInputConfig {
pub kind: String,
pub mode: HeaderMode,
pub direction: ChainDirection,
pub param: Option<String>,
pub use_only_if_not_in_trusted_peers: bool,
}Fields§
§kind: String§mode: HeaderMode§direction: ChainDirection§param: Option<String>§use_only_if_not_in_trusted_peers: boolTrait Implementations§
Source§impl Clone for HeaderInputConfig
impl Clone for HeaderInputConfig
Source§fn clone(&self) -> HeaderInputConfig
fn clone(&self) -> HeaderInputConfig
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 HeaderInputConfig
impl Debug for HeaderInputConfig
Source§impl<'de> Deserialize<'de> for HeaderInputConfig
impl<'de> Deserialize<'de> for HeaderInputConfig
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 Freeze for HeaderInputConfig
impl RefUnwindSafe for HeaderInputConfig
impl Send for HeaderInputConfig
impl Sync for HeaderInputConfig
impl Unpin for HeaderInputConfig
impl UnsafeUnpin for HeaderInputConfig
impl UnwindSafe for HeaderInputConfig
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