pub struct TrampolineForwardPayload(/* private fields */);Implementations§
Source§impl TrampolineForwardPayload
impl TrampolineForwardPayload
pub const FIELD_COUNT: usize = 7
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn next_node_id(&self) -> Pubkey
pub fn amount_to_forward(&self) -> Uint128
pub fn hash_algorithm(&self) -> Byte
pub fn build_max_fee_amount(&self) -> Uint128
pub fn tlc_expiry_delta(&self) -> Uint64
pub fn tlc_expiry_limit(&self) -> Uint64
pub fn max_parts(&self) -> Uint64Opt
pub fn as_reader<'r>(&'r self) -> TrampolineForwardPayloadReader<'r>
Trait Implementations§
Source§impl Clone for TrampolineForwardPayload
impl Clone for TrampolineForwardPayload
Source§fn clone(&self) -> TrampolineForwardPayload
fn clone(&self) -> TrampolineForwardPayload
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 moreSource§impl Debug for TrampolineForwardPayload
impl Debug for TrampolineForwardPayload
Source§impl Default for TrampolineForwardPayload
impl Default for TrampolineForwardPayload
Source§impl Display for TrampolineForwardPayload
impl Display for TrampolineForwardPayload
Source§impl Entity for TrampolineForwardPayload
impl Entity for TrampolineForwardPayload
const NAME: &'static str = "TrampolineForwardPayload"
type Builder = TrampolineForwardPayloadBuilder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl From<TrampolineForwardPayload> for TrampolineHopPayload
impl From<TrampolineForwardPayload> for TrampolineHopPayload
Source§fn from(value: TrampolineForwardPayload) -> Self
fn from(value: TrampolineForwardPayload) -> Self
Converts to this type from the input type.
Source§impl From<TrampolineForwardPayload> for TrampolineHopPayloadUnion
impl From<TrampolineForwardPayload> for TrampolineHopPayloadUnion
Source§fn from(item: TrampolineForwardPayload) -> Self
fn from(item: TrampolineForwardPayload) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TrampolineForwardPayload
impl RefUnwindSafe for TrampolineForwardPayload
impl Send for TrampolineForwardPayload
impl Sync for TrampolineForwardPayload
impl Unpin for TrampolineForwardPayload
impl UnsafeUnpin for TrampolineForwardPayload
impl UnwindSafe for TrampolineForwardPayload
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