pub struct InputStorePaymentPremiumSubscription {
pub restore: bool,
pub upgrade: bool,
}Expand description
inputStorePaymentPremiumSubscription
Generated from:
inputStorePaymentPremiumSubscription#a6751e66 flags:# restore:flags.0?true upgrade:flags.1?true = InputStorePaymentPurposeFields§
§restore: bool§upgrade: boolTrait Implementations§
Source§impl Clone for InputStorePaymentPremiumSubscription
impl Clone for InputStorePaymentPremiumSubscription
Source§fn clone(&self) -> InputStorePaymentPremiumSubscription
fn clone(&self) -> InputStorePaymentPremiumSubscription
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 Deserializable for InputStorePaymentPremiumSubscription
impl Deserializable for InputStorePaymentPremiumSubscription
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputStorePaymentPremiumSubscription> for InputStorePaymentPurpose
impl From<InputStorePaymentPremiumSubscription> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentPremiumSubscription) -> Self
fn from(x: InputStorePaymentPremiumSubscription) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentPremiumSubscription
impl Identifiable for InputStorePaymentPremiumSubscription
Source§const CONSTRUCTOR_ID: u32 = 0xa6751e66
const CONSTRUCTOR_ID: u32 = 0xa6751e66
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputStorePaymentPremiumSubscription
impl PartialEq for InputStorePaymentPremiumSubscription
Source§fn eq(&self, other: &InputStorePaymentPremiumSubscription) -> bool
fn eq(&self, other: &InputStorePaymentPremiumSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumSubscription
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentPremiumSubscription
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStorePaymentPremiumSubscription
Auto Trait Implementations§
impl Freeze for InputStorePaymentPremiumSubscription
impl RefUnwindSafe for InputStorePaymentPremiumSubscription
impl Send for InputStorePaymentPremiumSubscription
impl Sync for InputStorePaymentPremiumSubscription
impl Unpin for InputStorePaymentPremiumSubscription
impl UnsafeUnpin for InputStorePaymentPremiumSubscription
impl UnwindSafe for InputStorePaymentPremiumSubscription
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