pub struct AddRaftVoterResponse {
pub throttle_time_ms: i32,
pub error_code: i16,
pub error_message: Option<String>,
}Expand description
AddRaftVoter response shared by v0 and v1.
Fields§
§throttle_time_ms: i32§error_code: i16§error_message: Option<String>Implementations§
Source§impl AddRaftVoterResponse
impl AddRaftVoterResponse
Sourcepub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Decodes a flexible AddRaftVoter response body.
Trait Implementations§
Source§impl Clone for AddRaftVoterResponse
impl Clone for AddRaftVoterResponse
Source§fn clone(&self) -> AddRaftVoterResponse
fn clone(&self) -> AddRaftVoterResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddRaftVoterResponse
impl Debug for AddRaftVoterResponse
impl Eq for AddRaftVoterResponse
Source§impl PartialEq for AddRaftVoterResponse
impl PartialEq for AddRaftVoterResponse
impl StructuralPartialEq for AddRaftVoterResponse
Auto Trait Implementations§
impl Freeze for AddRaftVoterResponse
impl RefUnwindSafe for AddRaftVoterResponse
impl Send for AddRaftVoterResponse
impl Sync for AddRaftVoterResponse
impl Unpin for AddRaftVoterResponse
impl UnsafeUnpin for AddRaftVoterResponse
impl UnwindSafe for AddRaftVoterResponse
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