[−][src]Struct pt::models::RatingSection
Implementations
impl RatingSection
[src]
pub fn new(current: f32, month1: f32, month2: f32, month3: f32) -> RatingSection
[src]
pub fn set_current(&mut self, current: f32)
[src]
pub fn with_current(self, current: f32) -> RatingSection
[src]
pub fn current(&self) -> &f32
[src]
pub fn set_month1(&mut self, month1: f32)
[src]
pub fn with_month1(self, month1: f32) -> RatingSection
[src]
pub fn month1(&self) -> &f32
[src]
pub fn set_month2(&mut self, month2: f32)
[src]
pub fn with_month2(self, month2: f32) -> RatingSection
[src]
pub fn month2(&self) -> &f32
[src]
pub fn set_month3(&mut self, month3: f32)
[src]
pub fn with_month3(self, month3: f32) -> RatingSection
[src]
pub fn month3(&self) -> &f32
[src]
pub fn set_month4(&mut self, month4: f32)
[src]
pub fn with_month4(self, month4: f32) -> RatingSection
[src]
pub fn month4(&self) -> Option<&f32>
[src]
pub fn reset_month4(&mut self)
[src]
pub fn set_month5(&mut self, month5: f32)
[src]
pub fn with_month5(self, month5: f32) -> RatingSection
[src]
pub fn month5(&self) -> Option<&f32>
[src]
pub fn reset_month5(&mut self)
[src]
Trait Implementations
impl Clone for RatingSection
[src]
fn clone(&self) -> RatingSection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RatingSection
[src]
impl<'de> Deserialize<'de> for RatingSection
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for RatingSection
[src]
Auto Trait Implementations
impl RefUnwindSafe for RatingSection
impl Send for RatingSection
impl Sync for RatingSection
impl Unpin for RatingSection
impl UnwindSafe for RatingSection
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>,