pub struct GateOptions {
pub spend_depth: Height,
pub own_change: bool,
}Expand description
The gate’s two settings.
Fields§
§spend_depth: HeightSPEND_DEPTH, floor 1 (R3 (b)).
own_change: boolSPEND_OWN_CHANGE (R1 (b)): offer our own made change whose
creator’s word is pending.
Implementations§
Source§impl GateOptions
impl GateOptions
Trait Implementations§
Source§impl Clone for GateOptions
impl Clone for GateOptions
Source§impl Debug for GateOptions
impl Debug for GateOptions
Auto Trait Implementations§
impl Freeze for GateOptions
impl RefUnwindSafe for GateOptions
impl Send for GateOptions
impl Sync for GateOptions
impl Unpin for GateOptions
impl UnsafeUnpin for GateOptions
impl UnwindSafe for GateOptions
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more