pub struct CreateVoteResponse {
pub status: ApiStatus,
}Fields§
§status: ApiStatusImplementations§
Source§impl CreateVoteResponse
impl CreateVoteResponse
pub fn new(status: ApiStatus) -> CreateVoteResponse
Trait Implementations§
Source§impl Clone for CreateVoteResponse
impl Clone for CreateVoteResponse
Source§fn clone(&self) -> CreateVoteResponse
fn clone(&self) -> CreateVoteResponse
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 CreateVoteResponse
impl Debug for CreateVoteResponse
Source§impl Default for CreateVoteResponse
impl Default for CreateVoteResponse
Source§fn default() -> CreateVoteResponse
fn default() -> CreateVoteResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateVoteResponse
impl<'de> Deserialize<'de> for CreateVoteResponse
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
Source§impl PartialEq for CreateVoteResponse
impl PartialEq for CreateVoteResponse
Source§impl Serialize for CreateVoteResponse
impl Serialize for CreateVoteResponse
impl StructuralPartialEq for CreateVoteResponse
Auto Trait Implementations§
impl Freeze for CreateVoteResponse
impl RefUnwindSafe for CreateVoteResponse
impl Send for CreateVoteResponse
impl Sync for CreateVoteResponse
impl Unpin for CreateVoteResponse
impl UnwindSafe for CreateVoteResponse
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