pub struct NegotiatedSubscription {
pub transport: TransportTag,
pub format: FormatPreference,
pub columns: Option<Vec<String>>,
}Expand description
Result of a successful subscription negotiation.
Fields§
§transport: TransportTag§format: FormatPreference§columns: Option<Vec<String>>Trait Implementations§
Source§impl Clone for NegotiatedSubscription
impl Clone for NegotiatedSubscription
Source§fn clone(&self) -> NegotiatedSubscription
fn clone(&self) -> NegotiatedSubscription
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 NegotiatedSubscription
impl Debug for NegotiatedSubscription
Source§impl PartialEq for NegotiatedSubscription
impl PartialEq for NegotiatedSubscription
Source§fn eq(&self, other: &NegotiatedSubscription) -> bool
fn eq(&self, other: &NegotiatedSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NegotiatedSubscription
impl StructuralPartialEq for NegotiatedSubscription
Auto Trait Implementations§
impl Freeze for NegotiatedSubscription
impl RefUnwindSafe for NegotiatedSubscription
impl Send for NegotiatedSubscription
impl Sync for NegotiatedSubscription
impl Unpin for NegotiatedSubscription
impl UnsafeUnpin for NegotiatedSubscription
impl UnwindSafe for NegotiatedSubscription
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