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§
Source§impl<CustomerData, VendorUsage> Clone for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Clone,
VendorUsage: FactorySettingsVendorUsage + Clone,
impl<CustomerData, VendorUsage> Clone for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Clone,
VendorUsage: FactorySettingsVendorUsage + Clone,
Source§fn clone(&self) -> WrappedFactorySettings<CustomerData, VendorUsage>
fn clone(&self) -> WrappedFactorySettings<CustomerData, VendorUsage>
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<CustomerData, VendorUsage> Debug for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Debug,
VendorUsage: FactorySettingsVendorUsage + Debug,
impl<CustomerData, VendorUsage> Debug for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Debug,
VendorUsage: FactorySettingsVendorUsage + Debug,
Source§impl<CustomerData, VendorUsage> Default for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Default,
VendorUsage: FactorySettingsVendorUsage + Default,
impl<CustomerData, VendorUsage> Default for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Default,
VendorUsage: FactorySettingsVendorUsage + Default,
Source§fn default() -> WrappedFactorySettings<CustomerData, VendorUsage>
fn default() -> WrappedFactorySettings<CustomerData, VendorUsage>
Returns the “default value” for a type. Read more
Source§impl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Deserialize<'de>,
VendorUsage: FactorySettingsVendorUsage + Deserialize<'de>,
impl<'de, CustomerData, VendorUsage> Deserialize<'de> for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Deserialize<'de>,
VendorUsage: FactorySettingsVendorUsage + Deserialize<'de>,
Source§fn 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
Source§impl<CustomerData, VendorUsage> Hash for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Hash,
VendorUsage: FactorySettingsVendorUsage + Hash,
impl<CustomerData, VendorUsage> Hash for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Hash,
VendorUsage: FactorySettingsVendorUsage + Hash,
Source§impl<CustomerData, VendorUsage> Ord for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Ord,
VendorUsage: FactorySettingsVendorUsage + Ord,
impl<CustomerData, VendorUsage> Ord for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Ord,
VendorUsage: FactorySettingsVendorUsage + Ord,
Source§fn cmp(
&self,
other: &WrappedFactorySettings<CustomerData, VendorUsage>,
) -> Ordering
fn cmp( &self, other: &WrappedFactorySettings<CustomerData, VendorUsage>, ) -> Ordering
1.21.0 · Source§fn 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
Source§impl<CustomerData, VendorUsage> PartialEq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + PartialEq,
VendorUsage: FactorySettingsVendorUsage + PartialEq,
impl<CustomerData, VendorUsage> PartialEq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + PartialEq,
VendorUsage: FactorySettingsVendorUsage + PartialEq,
Source§fn eq(&self, other: &WrappedFactorySettings<CustomerData, VendorUsage>) -> bool
fn eq(&self, other: &WrappedFactorySettings<CustomerData, VendorUsage>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<CustomerData, VendorUsage> PartialOrd for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + PartialOrd,
VendorUsage: FactorySettingsVendorUsage + PartialOrd,
impl<CustomerData, VendorUsage> PartialOrd for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + PartialOrd,
VendorUsage: FactorySettingsVendorUsage + PartialOrd,
Source§impl<CustomerData, VendorUsage> Serialize for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Serialize,
VendorUsage: FactorySettingsVendorUsage + Serialize,
impl<CustomerData, VendorUsage> Serialize for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Serialize,
VendorUsage: FactorySettingsVendorUsage + Serialize,
impl<CustomerData, VendorUsage> Copy for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData + Copy,
VendorUsage: FactorySettingsVendorUsage + Copy,
impl<CustomerData, VendorUsage> Eq for WrappedFactorySettings<CustomerData, VendorUsage>
impl<CustomerData, VendorUsage> StructuralPartialEq for WrappedFactorySettings<CustomerData, VendorUsage>where
CustomerData: FactorySettingsCustomerData,
VendorUsage: FactorySettingsVendorUsage,
Auto Trait Implementations§
impl<CustomerData, VendorUsage> Freeze for WrappedFactorySettings<CustomerData, VendorUsage>
impl<CustomerData, VendorUsage> RefUnwindSafe for WrappedFactorySettings<CustomerData, VendorUsage>where
VendorUsage: RefUnwindSafe,
CustomerData: RefUnwindSafe,
impl<CustomerData, VendorUsage> Send for WrappedFactorySettings<CustomerData, VendorUsage>
impl<CustomerData, VendorUsage> Sync for WrappedFactorySettings<CustomerData, VendorUsage>
impl<CustomerData, VendorUsage> Unpin for WrappedFactorySettings<CustomerData, VendorUsage>
impl<CustomerData, VendorUsage> UnwindSafe for WrappedFactorySettings<CustomerData, VendorUsage>where
VendorUsage: UnwindSafe,
CustomerData: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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