pub struct UpdateBom {
pub name: Option<String>,
pub description: Option<String>,
pub revision: Option<String>,
pub status: Option<BomStatus>,
pub updated_by: Option<Uuid>,
}Expand description
Input for updating a BOM
Fields§
§name: Option<String>§description: Option<String>§revision: Option<String>§status: Option<BomStatus>§updated_by: Option<Uuid>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpdateBom
impl<'de> Deserialize<'de> for UpdateBom
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBom, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateBom, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateBom
impl Serialize for UpdateBom
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 UpdateBom
impl RefUnwindSafe for UpdateBom
impl Send for UpdateBom
impl Sync for UpdateBom
impl Unpin for UpdateBom
impl UnsafeUnpin for UpdateBom
impl UnwindSafe for UpdateBom
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