pub struct SerialLookupResult {
pub serial: SerialNumber,
pub product_name: Option<String>,
pub lot: Option<Lot>,
pub warranty_status: Option<WarrantyLookupStatus>,
pub recent_history: Vec<SerialHistory>,
}Expand description
Result of scanning/looking up a serial number
Fields§
§serial: SerialNumber§product_name: Option<String>§lot: Option<Lot>§warranty_status: Option<WarrantyLookupStatus>§recent_history: Vec<SerialHistory>Trait Implementations§
Source§impl Clone for SerialLookupResult
impl Clone for SerialLookupResult
Source§fn clone(&self) -> SerialLookupResult
fn clone(&self) -> SerialLookupResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerialLookupResult
impl Debug for SerialLookupResult
Source§impl<'de> Deserialize<'de> for SerialLookupResult
impl<'de> Deserialize<'de> for SerialLookupResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SerialLookupResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SerialLookupResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SerialLookupResult
impl Serialize for SerialLookupResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SerialLookupResult
impl RefUnwindSafe for SerialLookupResult
impl Send for SerialLookupResult
impl Sync for SerialLookupResult
impl Unpin for SerialLookupResult
impl UnsafeUnpin for SerialLookupResult
impl UnwindSafe for SerialLookupResult
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