pub struct InventoryActionSpec {
pub action: InventoryAction,
}
Fields§
§action: InventoryAction
Trait Implementations§
Source§impl Clone for InventoryActionSpec
impl Clone for InventoryActionSpec
Source§fn clone(&self) -> InventoryActionSpec
fn clone(&self) -> InventoryActionSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InventoryActionSpec
impl Debug for InventoryActionSpec
Source§impl Deserialize for InventoryActionSpec
impl Deserialize for InventoryActionSpec
Source§type Output = InventoryActionSpec
type Output = InventoryActionSpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<InventoryActionSpec> for ToServerCommand
impl From<InventoryActionSpec> for ToServerCommand
Source§fn from(value: InventoryActionSpec) -> Self
fn from(value: InventoryActionSpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InventoryActionSpec
impl PartialEq for InventoryActionSpec
Source§impl Serialize for InventoryActionSpec
impl Serialize for InventoryActionSpec
type Input = InventoryActionSpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for InventoryActionSpec
Auto Trait Implementations§
impl Freeze for InventoryActionSpec
impl RefUnwindSafe for InventoryActionSpec
impl Send for InventoryActionSpec
impl Sync for InventoryActionSpec
impl Unpin for InventoryActionSpec
impl UnwindSafe for InventoryActionSpec
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