pub struct AllowedOffers { /* private fields */ }Expand description
The wire type corresponding to AllowedOffers.
Implementations§
Source§impl AllowedOffers
 
impl AllowedOffers
pub const STATIC_ONLY: AllowedOffers
pub const STATIC_AND_DYNAMIC: AllowedOffers
Trait Implementations§
Source§impl Clone for AllowedOffers
 
impl Clone for AllowedOffers
Source§fn clone(&self) -> AllowedOffers
 
fn clone(&self) -> AllowedOffers
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 AllowedOffers
 
impl Debug for AllowedOffers
Source§impl<___D> Decode<___D> for AllowedOfferswhere
    ___D: ?Sized,
 
impl<___D> Decode<___D> for AllowedOfferswhere
    ___D: ?Sized,
Source§impl<'a, ___E> Encode<AllowedOffers, ___E> for &'a AllowedOfferswhere
    ___E: ?Sized,
 
impl<'a, ___E> Encode<AllowedOffers, ___E> for &'a AllowedOfferswhere
    ___E: ?Sized,
Source§fn encode(
    self,
    encoder: &mut ___E,
    out: &mut MaybeUninit<AllowedOffers>,
    _: (),
) -> Result<(), EncodeError>
 
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<AllowedOffers>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
 
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<AllowedOffers, ___E> for AllowedOfferswhere
    ___E: ?Sized,
 
impl<___E> Encode<AllowedOffers, ___E> for AllowedOfferswhere
    ___E: ?Sized,
Source§fn encode(
    self,
    encoder: &mut ___E,
    out: &mut MaybeUninit<AllowedOffers>,
    _: (),
) -> Result<(), EncodeError>
 
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<AllowedOffers>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
 
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl From<AllowedOffers> for AllowedOffers
 
impl From<AllowedOffers> for AllowedOffers
Source§fn from(wire: AllowedOffers) -> AllowedOffers
 
fn from(wire: AllowedOffers) -> AllowedOffers
Converts to this type from the input type.
Source§impl From<AllowedOffers> for AllowedOffers
 
impl From<AllowedOffers> for AllowedOffers
Source§fn from(natural: AllowedOffers) -> AllowedOffers
 
fn from(natural: AllowedOffers) -> AllowedOffers
Converts to this type from the input type.
Source§impl FromWire<AllowedOffers> for AllowedOffers
 
impl FromWire<AllowedOffers> for AllowedOffers
Source§fn from_wire(wire: AllowedOffers) -> AllowedOffers
 
fn from_wire(wire: AllowedOffers) -> AllowedOffers
Converts the given 
wire to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
 
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<AllowedOffers> for AllowedOffers
 
impl FromWireRef<AllowedOffers> for AllowedOffers
Source§fn from_wire_ref(wire: &AllowedOffers) -> AllowedOffers
 
fn from_wire_ref(wire: &AllowedOffers) -> AllowedOffers
Converts the given 
wire reference to this type.Source§impl IntoNatural for AllowedOffers
 
impl IntoNatural for AllowedOffers
Source§type Natural = AllowedOffers
 
type Natural = AllowedOffers
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
 
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl PartialEq for AllowedOffers
 
impl PartialEq for AllowedOffers
Source§impl Wire for AllowedOffers
 
impl Wire for AllowedOffers
Source§type Owned<'de> = AllowedOffers
 
type Owned<'de> = AllowedOffers
The owned wire type, restricted to the 
'de lifetime.Source§fn zero_padding(_: &mut MaybeUninit<AllowedOffers>)
 
fn zero_padding(_: &mut MaybeUninit<AllowedOffers>)
Writes zeroes to the padding for this type, if any.
impl Copy for AllowedOffers
impl Eq for AllowedOffers
impl StructuralPartialEq for AllowedOffers
impl Unconstrained for AllowedOffers
Auto Trait Implementations§
impl Freeze for AllowedOffers
impl RefUnwindSafe for AllowedOffers
impl Send for AllowedOffers
impl Sync for AllowedOffers
impl Unpin for AllowedOffers
impl UnwindSafe for AllowedOffers
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> Constrained for Twhere
    T: Unconstrained,
 
impl<T> Constrained for Twhere
    T: Unconstrained,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous1, D> for Twhere
    D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
 
impl<T, D> Encode<Ambiguous2, D> for Twhere
    D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
 
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
 
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type 
T to [Self]