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