[−][src]Struct pt::models::Quote
Implementations
impl Quote
[src]
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
[src]
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)
[src]
pub fn with_c(self, c: i64) -> Quote
[src]
pub fn c(&self) -> &i64
[src]
pub fn set_b_e(&mut self, b_e: String)
[src]
pub fn with_b_e(self, b_e: String) -> Quote
[src]
pub fn b_e(&self) -> &String
[src]
pub fn set_a_e(&mut self, a_e: String)
[src]
pub fn with_a_e(self, a_e: String) -> Quote
[src]
pub fn a_e(&self) -> &String
[src]
pub fn set_a_p(&mut self, a_p: f32)
[src]
pub fn with_a_p(self, a_p: f32) -> Quote
[src]
pub fn a_p(&self) -> &f32
[src]
pub fn set_b_p(&mut self, b_p: f32)
[src]
pub fn with_b_p(self, b_p: f32) -> Quote
[src]
pub fn b_p(&self) -> &f32
[src]
pub fn set_b_s(&mut self, b_s: i64)
[src]
pub fn with_b_s(self, b_s: i64) -> Quote
[src]
pub fn b_s(&self) -> &i64
[src]
pub fn set_a_s(&mut self, a_s: i64)
[src]
pub fn with_a_s(self, a_s: i64) -> Quote
[src]
pub fn a_s(&self) -> &i64
[src]
pub fn set_t(&mut self, t: i64)
[src]
pub fn with_t(self, t: i64) -> Quote
[src]
pub fn t(&self) -> &i64
[src]
Trait Implementations
impl Clone for Quote
[src]
impl Debug for Quote
[src]
impl<'de> Deserialize<'de> for Quote
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Quote
[src]
Auto Trait Implementations
impl RefUnwindSafe for Quote
impl Send for Quote
impl Sync for Quote
impl Unpin for Quote
impl UnwindSafe for Quote
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,