pub struct ExtendResult {
pub charge: ChargeResult,
pub bottom: i64,
pub top: i64,
pub added: i64,
}Expand description
What an extension did: the charge, and the shaft’s span afterwards.
Fields§
§charge: ChargeResultThe money moved, or the refusal.
bottom: i64The shaft’s lowest floor afterwards.
top: i64The shaft’s highest floor afterwards.
added: i64How many floors this call billed.
Trait Implementations§
Source§impl Clone for ExtendResult
impl Clone for ExtendResult
Source§fn clone(&self) -> ExtendResult
fn clone(&self) -> ExtendResult
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 ExtendResult
impl Debug for ExtendResult
Source§impl PartialEq for ExtendResult
impl PartialEq for ExtendResult
Source§fn eq(&self, other: &ExtendResult) -> bool
fn eq(&self, other: &ExtendResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExtendResult
Auto Trait Implementations§
impl Freeze for ExtendResult
impl RefUnwindSafe for ExtendResult
impl Send for ExtendResult
impl Sync for ExtendResult
impl Unpin for ExtendResult
impl UnsafeUnpin for ExtendResult
impl UnwindSafe for ExtendResult
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