Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

MagicBackupEnabled

pub struct MagicBackupEnabled(pub bool);

Tuple Fields

0: bool

Trait Implementations

impl AsScalar<1> for MagicBackupEnabled

fn as_scalar(&self) -> [u32; 1]

impl Clone for MagicBackupEnabled

fn clone(&self) -> MagicBackupEnabled

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for MagicBackupEnabled

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for MagicBackupEnabled

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

impl From<MagicBackupEnabled> for bool

fn from(value: MagicBackupEnabled) -> Self

Converts to this type from the input type.

impl From<bool> for MagicBackupEnabled

fn from(value: bool) -> Self

Converts to this type from the input type.

impl FromScalar<1> for MagicBackupEnabled

fn from_scalar(value: [u32; 1]) -> Self

impl Hash for MagicBackupEnabled

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given [Hasher]. Read more
1.3.0

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for MagicBackupEnabled

fn eq(&self, other: &MagicBackupEnabled) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

impl Serialize for MagicBackupEnabled

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

impl Copy for MagicBackupEnabled

impl Eq for MagicBackupEnabled

impl StructuralPartialEq for MagicBackupEnabled

Auto Trait Implementations

impl Freeze for MagicBackupEnabled

impl RefUnwindSafe for MagicBackupEnabled

impl Send for MagicBackupEnabled

impl Sync for MagicBackupEnabled

impl Unpin for MagicBackupEnabled

impl UnsafeUnpin for MagicBackupEnabled

impl UnwindSafe for MagicBackupEnabled