pub struct ChainOptions {
pub allow_emergency: bool,
}Expand description
Per-call options for verify_chain.
Fields§
§allow_emergency: boolIf true, accept emergency entries with empty signature (i.e. use
verify_or_emergency instead of strict verify). Commander code
that has out-of-band approval already should set this true; peer
code that is mirroring without approval should leave it false.
Trait Implementations§
Source§impl Clone for ChainOptions
impl Clone for ChainOptions
Source§fn clone(&self) -> ChainOptions
fn clone(&self) -> ChainOptions
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 ChainOptions
impl Debug for ChainOptions
Source§impl Default for ChainOptions
impl Default for ChainOptions
Source§fn default() -> ChainOptions
fn default() -> ChainOptions
Returns the “default value” for a type. Read more
impl Copy for ChainOptions
Auto Trait Implementations§
impl Freeze for ChainOptions
impl RefUnwindSafe for ChainOptions
impl Send for ChainOptions
impl Sync for ChainOptions
impl Unpin for ChainOptions
impl UnsafeUnpin for ChainOptions
impl UnwindSafe for ChainOptions
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