pub struct TrampolineHopPayload(/* private fields */);Implementations§
Source§impl TrampolineHopPayload
impl TrampolineHopPayload
pub const ITEMS_COUNT: usize = 2
pub fn item_id(&self) -> Number
pub fn to_enum(&self) -> TrampolineHopPayloadUnion
pub fn as_reader<'r>(&'r self) -> TrampolineHopPayloadReader<'r>
Trait Implementations§
Source§impl Clone for TrampolineHopPayload
impl Clone for TrampolineHopPayload
Source§fn clone(&self) -> TrampolineHopPayload
fn clone(&self) -> TrampolineHopPayload
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 TrampolineHopPayload
impl Debug for TrampolineHopPayload
Source§impl Default for TrampolineHopPayload
impl Default for TrampolineHopPayload
Source§impl Display for TrampolineHopPayload
impl Display for TrampolineHopPayload
Source§impl Entity for TrampolineHopPayload
impl Entity for TrampolineHopPayload
const NAME: &'static str = "TrampolineHopPayload"
type Builder = TrampolineHopPayloadBuilder
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<TrampolineFinalPayload> for TrampolineHopPayload
impl From<TrampolineFinalPayload> for TrampolineHopPayload
Source§fn from(value: TrampolineFinalPayload) -> Self
fn from(value: TrampolineFinalPayload) -> Self
Converts to this type from the input type.
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.
Auto Trait Implementations§
impl !Freeze for TrampolineHopPayload
impl RefUnwindSafe for TrampolineHopPayload
impl Send for TrampolineHopPayload
impl Sync for TrampolineHopPayload
impl Unpin for TrampolineHopPayload
impl UnsafeUnpin for TrampolineHopPayload
impl UnwindSafe for TrampolineHopPayload
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