Struct Callability
pub struct Callability {
pub date: NaiveDate,
pub price: CallPrice,
pub kind: CallKind,
}Expand description
One exercise right: a date, a price, and whose option it is.
Fields§
§date: NaiveDateThe exercise date.
price: CallPriceThe redemption price.
kind: CallKindWhose option it is.
Implementations§
Trait Implementations§
§impl Clone for Callability
impl Clone for Callability
§fn clone(&self) -> Callability
fn clone(&self) -> Callability
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 more§impl Debug for Callability
impl Debug for Callability
§impl PartialEq for Callability
impl PartialEq for Callability
impl StructuralPartialEq for Callability
Auto Trait Implementations§
impl Freeze for Callability
impl RefUnwindSafe for Callability
impl Send for Callability
impl Sync for Callability
impl Unpin for Callability
impl UnsafeUnpin for Callability
impl UnwindSafe for Callability
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