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 FromWire<WireAllowedOffers> for AllowedOffers
impl FromWire<WireAllowedOffers> for AllowedOffers
Source§fn from_wire(wire: WireAllowedOffers) -> Self
fn from_wire(wire: WireAllowedOffers) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireAllowedOffers> for AllowedOffers
impl FromWireRef<WireAllowedOffers> for AllowedOffers
Source§fn from_wire_ref(wire: &WireAllowedOffers) -> Self
fn from_wire_ref(wire: &WireAllowedOffers) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireAllowedOffers
impl PartialEq for WireAllowedOffers
Source§impl Wire for WireAllowedOffers
impl Wire for WireAllowedOffers
Source§type Decoded<'de> = WireAllowedOffers
type Decoded<'de> = WireAllowedOffers
The decoded wire type, restricted to the
'de
lifetime.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