pub struct VoteResponse {
pub error_code: i16,
pub topics: Vec<TopicData>,
pub node_endpoints: Vec<NodeEndpoint>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Expand description
VoteResponse, version 1.
Fields§
§error_code: i16The top level error code.
topics: Vec<TopicData>The results for each topic.
node_endpoints: Vec<NodeEndpoint>Endpoints for all current-leaders enumerated in PartitionData.
_unknown_tagged_fields: Vec<RawTaggedField>Unknown tagged fields.
Implementations§
Source§impl VoteResponse
impl VoteResponse
Trait Implementations§
Source§impl ApiMessage for VoteResponse
impl ApiMessage for VoteResponse
Source§impl Clone for VoteResponse
impl Clone for VoteResponse
Source§fn clone(&self) -> VoteResponse
fn clone(&self) -> VoteResponse
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 VoteResponse
impl Debug for VoteResponse
Source§impl Default for VoteResponse
impl Default 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
Source§impl PartialEq for VoteResponse
impl PartialEq for VoteResponse
Source§impl Readable for VoteResponse
impl Readable for VoteResponse
Source§impl Serialize for VoteResponse
impl Serialize for VoteResponse
Source§impl Writable for VoteResponse
impl Writable for VoteResponse
impl Response for VoteResponse
impl StructuralPartialEq for VoteResponse
Auto Trait Implementations§
impl Freeze for VoteResponse
impl RefUnwindSafe for VoteResponse
impl Send for VoteResponse
impl Sync for VoteResponse
impl Unpin 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