Enum CallabilityType
pub enum CallabilityType {
Call,
Put,
}Expand description
Whether an embedded option is exercisable by the issuer (a call) or the holder
(a put). The redemption right an entry in a Callability schedule confers.
Suffix retained under clause 3 of the enum naming rule: the bare noun
Callability is already taken by the schedule entry struct.
Variants§
Call
Issuer’s right to redeem early (a call).
Put
Holder’s right to demand early redemption (a put).
Implementations§
§impl CallabilityType
impl CallabilityType
Trait Implementations§
§impl Clone for CallabilityType
impl Clone for CallabilityType
§fn clone(&self) -> CallabilityType
fn clone(&self) -> CallabilityType
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 moreimpl Copy for CallabilityType
§impl Debug for CallabilityType
impl Debug for CallabilityType
impl Eq for CallabilityType
§impl FromStr for CallabilityType
impl FromStr for CallabilityType
§impl Hash for CallabilityType
impl Hash for CallabilityType
§impl PartialEq for CallabilityType
impl PartialEq for CallabilityType
impl StructuralPartialEq for CallabilityType
Auto Trait Implementations§
impl Freeze for CallabilityType
impl RefUnwindSafe for CallabilityType
impl Send for CallabilityType
impl Sync for CallabilityType
impl Unpin for CallabilityType
impl UnsafeUnpin for CallabilityType
impl UnwindSafe for CallabilityType
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