pub struct Pump {
pub name: Option<String>,
pub capacity: Option<String>,
pub unit: Option<String>,
}Fields§
§name: Option<String>§capacity: Option<String>§unit: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pump
impl<'de> Deserialize<'de> for Pump
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 Pump
impl RefUnwindSafe for Pump
impl Send for Pump
impl Sync for Pump
impl Unpin for Pump
impl UnwindSafe for Pump
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