pub struct Microscope {
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub lot_number: Option<String>,
pub type: Option<MicroscopeType>,
}Fields§
§manufacturer: Option<String>§model: Option<String>§serial_number: Option<String>§lot_number: Option<String>§type: Option<MicroscopeType>Trait Implementations§
Source§impl Clone for Microscope
impl Clone for Microscope
Source§fn clone(&self) -> Microscope
fn clone(&self) -> Microscope
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 Debug for Microscope
impl Debug for Microscope
Source§impl<'de> Deserialize<'de> for Microscope
impl<'de> Deserialize<'de> for Microscope
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
Auto Trait Implementations§
impl Freeze for Microscope
impl RefUnwindSafe for Microscope
impl Send for Microscope
impl Sync for Microscope
impl Unpin for Microscope
impl UnwindSafe for Microscope
Blanket Implementations§
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