pub struct SupplierPart {
pub supplier_name: String,
pub supplier_part_reference: String,
}Fields§
§supplier_name: StringThe name of the supplier, e.g. ‘Mouser’, ‘Digikey’, ‘LCSC’, etc.
supplier_part_reference: StringThe spec says ‘supplier part name’ but using ‘reference’ is more accurate, as that is what they use to look up the part
Trait Implementations§
Source§impl Clone for SupplierPart
impl Clone for SupplierPart
Source§fn clone(&self) -> SupplierPart
fn clone(&self) -> SupplierPart
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SupplierPart
impl Debug for SupplierPart
Source§impl Hash for SupplierPart
impl Hash for SupplierPart
Source§impl PartialEq for SupplierPart
impl PartialEq for SupplierPart
impl Eq for SupplierPart
impl StructuralPartialEq for SupplierPart
Auto Trait Implementations§
impl Freeze for SupplierPart
impl RefUnwindSafe for SupplierPart
impl Send for SupplierPart
impl Sync for SupplierPart
impl Unpin for SupplierPart
impl UnwindSafe for SupplierPart
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)