pub struct Quote { /* private fields */ }Implementations§
Source§impl Quote
impl Quote
pub fn new( c: i64, b_e: String, a_e: String, a_p: f32, b_p: f32, b_s: i64, a_s: i64, t: i64, ) -> Quote
pub fn set_c(&mut self, c: i64)
pub fn with_c(self, c: i64) -> Quote
pub fn c(&self) -> &i64
pub fn set_b_e(&mut self, b_e: String)
pub fn with_b_e(self, b_e: String) -> Quote
pub fn b_e(&self) -> &String
pub fn set_a_e(&mut self, a_e: String)
pub fn with_a_e(self, a_e: String) -> Quote
pub fn a_e(&self) -> &String
pub fn set_a_p(&mut self, a_p: f32)
pub fn with_a_p(self, a_p: f32) -> Quote
pub fn a_p(&self) -> &f32
pub fn set_b_p(&mut self, b_p: f32)
pub fn with_b_p(self, b_p: f32) -> Quote
pub fn b_p(&self) -> &f32
pub fn set_b_s(&mut self, b_s: i64)
pub fn with_b_s(self, b_s: i64) -> Quote
pub fn b_s(&self) -> &i64
pub fn set_a_s(&mut self, a_s: i64)
pub fn with_a_s(self, a_s: i64) -> Quote
pub fn a_s(&self) -> &i64
pub fn set_t(&mut self, t: i64)
pub fn with_t(self, t: i64) -> Quote
pub fn t(&self) -> &i64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Quote
impl<'de> Deserialize<'de> for Quote
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Quote
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnsafeUnpin for Quote
impl UnwindSafe for Quote
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