pub struct ScaleQuestion {
pub low: i32,
pub high: i32,
pub low_label: Option<String>,
pub high_label: Option<String>,
}Expand description
A linear-scale question.
Fields§
§low: i32The lowest value on the scale.
high: i32The highest value on the scale.
low_label: Option<String>Optional label displayed at the low end.
high_label: Option<String>Optional label displayed at the high end.
Trait Implementations§
Source§impl Clone for ScaleQuestion
impl Clone for ScaleQuestion
Source§fn clone(&self) -> ScaleQuestion
fn clone(&self) -> ScaleQuestion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScaleQuestion
impl Debug for ScaleQuestion
Source§impl<'de> Deserialize<'de> for ScaleQuestion
impl<'de> Deserialize<'de> for ScaleQuestion
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 ScaleQuestion
impl RefUnwindSafe for ScaleQuestion
impl Send for ScaleQuestion
impl Sync for ScaleQuestion
impl Unpin for ScaleQuestion
impl UnsafeUnpin for ScaleQuestion
impl UnwindSafe for ScaleQuestion
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