[−][src]Struct mcproto_rs::v1_16_3::TradeSpec
Fields
input_item_1: Slot
output_item: Slot
input_item_2: Slot
trade_disabled: bool
trade_uses: i32
max_trade_uses: i32
xp: i32
special_price: i32
price_multiplier: f32
demand: i32
Trait Implementations
impl Clone for TradeSpec
[src]
impl Debug for TradeSpec
[src]
impl Deserialize for TradeSpec
[src]
pub fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
[src]
impl From<(Option<ItemStack>, Option<ItemStack>, Option<ItemStack>, bool, i32, i32, i32, i32, f32, i32)> for TradeSpec
[src]
impl PartialEq<TradeSpec> for TradeSpec
[src]
impl Serialize for TradeSpec
[src]
pub fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
[src]
impl StructuralPartialEq for TradeSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for TradeSpec
[src]
impl Send for TradeSpec
[src]
impl Sync for TradeSpec
[src]
impl Unpin for TradeSpec
[src]
impl UnwindSafe for TradeSpec
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ProtocolType for T where
T: Deserialize + Serialize,
[src]
T: Deserialize + Serialize,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,