Struct lpc55::protected_flash::WrappedFactorySettings
source · [−]pub struct WrappedFactorySettings<CustomerData = RawCustomerData, VendorUsage = RawVendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,{
pub factory_settings: FactorySettings<CustomerData, VendorUsage>,
}
Expand description
Type enabling lpc55 configure factory-settings
to share config file with the secure/signed
firmware generation commands. Serializes FactorySettings
with a [factory-settings]
header.
Fields
factory_settings: FactorySettings<CustomerData, VendorUsage>
Trait Implementations
sourceimpl<CustomerData: Clone, VendorUsage: Clone> Clone for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Clone, VendorUsage: Clone> Clone for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourcefn clone(&self) -> WrappedFactorySettings<CustomerData, VendorUsage>
fn clone(&self) -> WrappedFactorySettings<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 WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Debug, VendorUsage: Debug> Debug for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourceimpl<CustomerData: Default, VendorUsage: Default> Default for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Default, VendorUsage: Default> Default for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourcefn default() -> WrappedFactorySettings<CustomerData, VendorUsage>
fn default() -> WrappedFactorySettings<CustomerData, VendorUsage>
Returns the “default value” for a type. Read more
sourceimpl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
CustomerData: Deserialize<'de>,
VendorUsage: Deserialize<'de>,
impl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
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 WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Hash, VendorUsage: Hash> Hash for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourceimpl<CustomerData: Ord, VendorUsage: Ord> Ord for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Ord, VendorUsage: Ord> Ord for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourcefn cmp(
&self,
other: &WrappedFactorySettings<CustomerData, VendorUsage>
) -> Ordering
fn cmp(
&self,
other: &WrappedFactorySettings<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<WrappedFactorySettings<CustomerData, VendorUsage>> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: PartialEq, VendorUsage: PartialEq> PartialEq<WrappedFactorySettings<CustomerData, VendorUsage>> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourcefn eq(&self, other: &WrappedFactorySettings<CustomerData, VendorUsage>) -> bool
fn eq(&self, other: &WrappedFactorySettings<CustomerData, VendorUsage>) -> bool
sourceimpl<CustomerData: PartialOrd, VendorUsage: PartialOrd> PartialOrd<WrappedFactorySettings<CustomerData, VendorUsage>> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: PartialOrd, VendorUsage: PartialOrd> PartialOrd<WrappedFactorySettings<CustomerData, VendorUsage>> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
sourcefn partial_cmp(
&self,
other: &WrappedFactorySettings<CustomerData, VendorUsage>
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &WrappedFactorySettings<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 WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
CustomerData: Serialize,
VendorUsage: Serialize,
impl<CustomerData, VendorUsage> Serialize for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
CustomerData: Serialize,
VendorUsage: Serialize,
impl<CustomerData: Copy, VendorUsage: Copy> Copy for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData: Eq, VendorUsage: Eq> Eq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData, VendorUsage> StructuralEq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
impl<CustomerData, VendorUsage> StructuralPartialEq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
Auto Trait Implementations
impl<CustomerData, VendorUsage> RefUnwindSafe for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: RefUnwindSafe,
VendorUsage: RefUnwindSafe,
impl<CustomerData, VendorUsage> Send for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: Send,
VendorUsage: Send,
impl<CustomerData, VendorUsage> Sync for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: Sync,
VendorUsage: Sync,
impl<CustomerData, VendorUsage> Unpin for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: Unpin,
VendorUsage: Unpin,
impl<CustomerData, VendorUsage> UnwindSafe for WrappedFactorySettings<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.