pub struct FeeJuiceBridgeResult {
pub claim_amount: u128,
pub claim_secret: Fr,
pub message_leaf_index: u64,
pub message_hash: Fr,
}Expand description
Result of preparing Fee Juice on L1 for an L2 claim.
Fields§
§claim_amount: u128Amount bridged.
claim_secret: FrSecret to claim with.
message_leaf_index: u64Index in the L1→L2 message tree.
message_hash: FrMessage hash (the key from the portal event) used to check sync status.
Trait Implementations§
Source§impl Clone for FeeJuiceBridgeResult
impl Clone for FeeJuiceBridgeResult
Source§fn clone(&self) -> FeeJuiceBridgeResult
fn clone(&self) -> FeeJuiceBridgeResult
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 moreAuto Trait Implementations§
impl Freeze for FeeJuiceBridgeResult
impl RefUnwindSafe for FeeJuiceBridgeResult
impl Send for FeeJuiceBridgeResult
impl Sync for FeeJuiceBridgeResult
impl Unpin for FeeJuiceBridgeResult
impl UnwindSafe for FeeJuiceBridgeResult
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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