pub struct HeightDependentAddress {
pub before: Address,
pub after: Address,
pub fork_height: u64,
}Expand description
高さによって替わるアドレス。V1 は fork の高さより前に使う。
Fields§
§before: Address§after: Address§fork_height: u64Implementations§
Trait Implementations§
Source§impl Clone for HeightDependentAddress
impl Clone for HeightDependentAddress
Source§fn clone(&self) -> HeightDependentAddress
fn clone(&self) -> HeightDependentAddress
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 moreimpl Copy for HeightDependentAddress
Auto Trait Implementations§
impl Freeze for HeightDependentAddress
impl RefUnwindSafe for HeightDependentAddress
impl Send for HeightDependentAddress
impl Sync for HeightDependentAddress
impl Unpin for HeightDependentAddress
impl UnsafeUnpin for HeightDependentAddress
impl UnwindSafe for HeightDependentAddress
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> 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