pub struct CreateVoteParams {
pub tenant_id: String,
pub comment_id: String,
pub direction: String,
pub user_id: Option<String>,
pub anon_user_id: Option<String>,
}Expand description
struct for passing parameters to the method create_vote
Fields§
§tenant_id: String§comment_id: String§direction: String§user_id: Option<String>§anon_user_id: Option<String>Trait Implementations§
Source§impl Clone for CreateVoteParams
impl Clone for CreateVoteParams
Auto Trait Implementations§
impl Forget for CreateVoteParams
impl Freeze for CreateVoteParams
impl Move for CreateVoteParams
impl RefUnwindSafe for CreateVoteParams
impl Send for CreateVoteParams
impl Sync for CreateVoteParams
impl Unpin for CreateVoteParams
impl UnsafeUnpin for CreateVoteParams
impl UnwindSafe for CreateVoteParams
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