pub struct NodeBlockActorConfig {
pub block_header: bool,
pub block_with_tx: bool,
pub block_logs: bool,
pub block_state_update: bool,
}
Fields§
§block_header: bool
§block_with_tx: bool
§block_logs: bool
§block_state_update: bool
Implementations§
Source§impl NodeBlockActorConfig
impl NodeBlockActorConfig
pub fn all_disabled() -> Self
pub fn all_enabled() -> Self
pub fn with_block_header(self) -> Self
pub fn with_block_with_tx(self) -> Self
pub fn with_block_logs(self) -> Self
pub fn with_block_state_update(self) -> Self
Trait Implementations§
Source§impl Clone for NodeBlockActorConfig
impl Clone for NodeBlockActorConfig
Source§fn clone(&self) -> NodeBlockActorConfig
fn clone(&self) -> NodeBlockActorConfig
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 moreAuto Trait Implementations§
impl Freeze for NodeBlockActorConfig
impl RefUnwindSafe for NodeBlockActorConfig
impl Send for NodeBlockActorConfig
impl Sync for NodeBlockActorConfig
impl Unpin for NodeBlockActorConfig
impl UnwindSafe for NodeBlockActorConfig
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 4 bytes