Struct metaculus::apis::questions_api::QuestionsBoostCreateParams
source · pub struct QuestionsBoostCreateParams {
pub id: i32,
pub boost: Boost,
}
Expand description
struct for passing parameters to the method questions_boost_create
Fields§
§id: i32
A unique integer value identifying this question.
boost: Boost
Trait Implementations§
source§impl Clone for QuestionsBoostCreateParams
impl Clone for QuestionsBoostCreateParams
source§fn clone(&self) -> QuestionsBoostCreateParams
fn clone(&self) -> QuestionsBoostCreateParams
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for QuestionsBoostCreateParams
impl Send for QuestionsBoostCreateParams
impl Sync for QuestionsBoostCreateParams
impl Unpin for QuestionsBoostCreateParams
impl UnwindSafe for QuestionsBoostCreateParams
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