Struct lpc55::protected_flash::WrappedCustomerSettings
source · [−]pub struct WrappedCustomerSettings<CustomerData = RawCustomerData, VendorUsage = RawVendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,{
pub customer_settings: CustomerSettings<CustomerData, VendorUsage>,
}
Expand description
Type enabling lpc55 configure customer-settings
to share config file with the secure/signed
firmware generation commands. Serializes CustomerSettings
with a [customer-settings]
header.
Fields
customer_settings: CustomerSettings<CustomerData, VendorUsage>
Trait Implementations
sourceimpl<CustomerData: Clone, VendorUsage: Clone> Clone for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Clone, VendorUsage: Clone> Clone for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourcefn clone(&self) -> WrappedCustomerSettings<CustomerData, VendorUsage>
fn clone(&self) -> WrappedCustomerSettings<CustomerData, VendorUsage>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<CustomerData: Debug, VendorUsage: Debug> Debug for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Debug, VendorUsage: Debug> Debug for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourceimpl<CustomerData: Default, VendorUsage: Default> Default for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Default, VendorUsage: Default> Default for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourcefn default() -> WrappedCustomerSettings<CustomerData, VendorUsage>
fn default() -> WrappedCustomerSettings<CustomerData, VendorUsage>
Returns the “default value” for a type. Read more
sourceimpl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
CustomerData: Deserialize<'de>,
VendorUsage: Deserialize<'de>,
impl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
CustomerData: Deserialize<'de>,
VendorUsage: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<CustomerData: Hash, VendorUsage: Hash> Hash for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Hash, VendorUsage: Hash> Hash for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourceimpl<CustomerData: Ord, VendorUsage: Ord> Ord for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Ord, VendorUsage: Ord> Ord for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourcefn cmp(
&self,
other: &WrappedCustomerSettings<CustomerData, VendorUsage>
) -> Ordering
fn cmp(
&self,
other: &WrappedCustomerSettings<CustomerData, VendorUsage>
) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<CustomerData: PartialEq, VendorUsage: PartialEq> PartialEq<WrappedCustomerSettings<CustomerData, VendorUsage>> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: PartialEq, VendorUsage: PartialEq> PartialEq<WrappedCustomerSettings<CustomerData, VendorUsage>> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourcefn eq(&self, other: &WrappedCustomerSettings<CustomerData, VendorUsage>) -> bool
fn eq(&self, other: &WrappedCustomerSettings<CustomerData, VendorUsage>) -> bool
sourceimpl<CustomerData: PartialOrd, VendorUsage: PartialOrd> PartialOrd<WrappedCustomerSettings<CustomerData, VendorUsage>> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: PartialOrd, VendorUsage: PartialOrd> PartialOrd<WrappedCustomerSettings<CustomerData, VendorUsage>> for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
sourcefn partial_cmp(
&self,
other: &WrappedCustomerSettings<CustomerData, VendorUsage>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &WrappedCustomerSettings<CustomerData, VendorUsage>
) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl<CustomerData, VendorUsage> Serialize for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
CustomerData: Serialize,
VendorUsage: Serialize,
impl<CustomerData, VendorUsage> Serialize for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
CustomerData: Serialize,
VendorUsage: Serialize,
impl<CustomerData: Copy, VendorUsage: Copy> Copy for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData: Eq, VendorUsage: Eq> Eq for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData, VendorUsage> StructuralEq for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
impl<CustomerData, VendorUsage> StructuralPartialEq for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: CustomerSettingsCustomerData,
VendorUsage: CustomerSettingsVendorUsage,
Auto Trait Implementations
impl<CustomerData, VendorUsage> RefUnwindSafe for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: RefUnwindSafe,
VendorUsage: RefUnwindSafe,
impl<CustomerData, VendorUsage> Send for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: Send,
VendorUsage: Send,
impl<CustomerData, VendorUsage> Sync for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: Sync,
VendorUsage: Sync,
impl<CustomerData, VendorUsage> Unpin for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: Unpin,
VendorUsage: Unpin,
impl<CustomerData, VendorUsage> UnwindSafe for WrappedCustomerSettings<CustomerData, VendorUsage>where
CustomerData: UnwindSafe,
VendorUsage: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.