pub struct WireAllowedOffers { /* private fields */ }
Expand description
The wire type corresponding to AllowedOffers
.
Implementations§
Source§impl WireAllowedOffers
impl WireAllowedOffers
pub const STATIC_ONLY: WireAllowedOffers
pub const STATIC_AND_DYNAMIC: WireAllowedOffers
Trait Implementations§
Source§impl Clone for WireAllowedOffers
impl Clone for WireAllowedOffers
Source§fn clone(&self) -> WireAllowedOffers
fn clone(&self) -> WireAllowedOffers
Returns a copy 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 WireAllowedOffers
impl Debug for WireAllowedOffers
Source§impl<___D> Decode<___D> for WireAllowedOfferswhere
___D: ?Sized,
impl<___D> Decode<___D> for WireAllowedOfferswhere
___D: ?Sized,
Source§impl From<AllowedOffers> for WireAllowedOffers
impl From<AllowedOffers> for WireAllowedOffers
Source§fn from(natural: AllowedOffers) -> Self
fn from(natural: AllowedOffers) -> Self
Converts to this type from the input type.
Source§impl From<WireAllowedOffers> for AllowedOffers
impl From<WireAllowedOffers> for AllowedOffers
Source§fn from(wire: WireAllowedOffers) -> Self
fn from(wire: WireAllowedOffers) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireAllowedOffers
impl PartialEq for WireAllowedOffers
Source§impl TakeFrom<WireAllowedOffers> for AllowedOffers
impl TakeFrom<WireAllowedOffers> for AllowedOffers
Source§fn take_from(from: &WireAllowedOffers) -> Self
fn take_from(from: &WireAllowedOffers) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireAllowedOffers> for AllowedOffers
impl TakeFrom<WireAllowedOffers> for AllowedOffers
Source§fn take_from(from: &WireAllowedOffers) -> Self
fn take_from(from: &WireAllowedOffers) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireAllowedOffers
impl ZeroPadding for WireAllowedOffers
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireAllowedOffers
impl Eq for WireAllowedOffers
impl StructuralPartialEq for WireAllowedOffers
Auto Trait Implementations§
impl Freeze for WireAllowedOffers
impl RefUnwindSafe for WireAllowedOffers
impl Send for WireAllowedOffers
impl Sync for WireAllowedOffers
impl Unpin for WireAllowedOffers
impl UnwindSafe for WireAllowedOffers
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