pub struct NegotiateProtocolVersion {
pub newest: ProtocolVersion,
pub unsupported_options: Vec<Bytes>,
}Expand description
Backend response negotiating a requested protocol minor version and options.
Fields§
§newest: ProtocolVersionNewest protocol version supported by the server.
unsupported_options: Vec<Bytes>Startup option names the server does not support.
Implementations§
Trait Implementations§
Source§impl Clone for NegotiateProtocolVersion
impl Clone for NegotiateProtocolVersion
Source§fn clone(&self) -> NegotiateProtocolVersion
fn clone(&self) -> NegotiateProtocolVersion
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 NegotiateProtocolVersion
impl Debug for NegotiateProtocolVersion
impl Eq for NegotiateProtocolVersion
Source§impl PartialEq for NegotiateProtocolVersion
impl PartialEq for NegotiateProtocolVersion
impl StructuralPartialEq for NegotiateProtocolVersion
Auto Trait Implementations§
impl Freeze for NegotiateProtocolVersion
impl RefUnwindSafe for NegotiateProtocolVersion
impl Send for NegotiateProtocolVersion
impl Sync for NegotiateProtocolVersion
impl Unpin for NegotiateProtocolVersion
impl UnsafeUnpin for NegotiateProtocolVersion
impl UnwindSafe for NegotiateProtocolVersion
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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