pub struct VoteResponse {
pub agent_id: AgentId,
pub target_type: TargetType,
pub target_id: Uuid,
pub value: i32,
}Expand description
Vote confirmation response.
Fields§
§agent_id: AgentId§target_type: TargetType§target_id: Uuid§value: i32Trait Implementations§
Source§impl Debug for VoteResponse
impl Debug for VoteResponse
Source§impl<'de> Deserialize<'de> for VoteResponse
impl<'de> Deserialize<'de> for VoteResponse
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 VoteResponse
impl RefUnwindSafe for VoteResponse
impl Send for VoteResponse
impl Sync for VoteResponse
impl Unpin for VoteResponse
impl UnsafeUnpin for VoteResponse
impl UnwindSafe for VoteResponse
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