pub struct LivestockDescription {
pub product: Option<String>,
pub interval: f32,
pub group: i32,
}Expand description
LivestockDescription (versioned): the raw material a pasture gathers from the animal (none for
cattle), every × 300 s, and from version 1 the stock slot.
Original: FUN_140129430.
Fields§
§product: Option<String>The raw material a pasture gathers from the animal (none for cattle).
interval: f32The time between products, in units of 300 seconds.
group: i32The stock slot (version 1).
Trait Implementations§
Source§impl Clone for LivestockDescription
impl Clone for LivestockDescription
Source§fn clone(&self) -> LivestockDescription
fn clone(&self) -> LivestockDescription
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 LivestockDescription
impl Debug for LivestockDescription
Source§impl Default for LivestockDescription
impl Default for LivestockDescription
Source§fn default() -> LivestockDescription
fn default() -> LivestockDescription
Returns the “default value” for a type. Read more
Source§impl PartialEq for LivestockDescription
impl PartialEq for LivestockDescription
impl StructuralPartialEq for LivestockDescription
Auto Trait Implementations§
impl Freeze for LivestockDescription
impl RefUnwindSafe for LivestockDescription
impl Send for LivestockDescription
impl Sync for LivestockDescription
impl Unpin for LivestockDescription
impl UnsafeUnpin for LivestockDescription
impl UnwindSafe for LivestockDescription
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