pub struct SubscribeAck {
pub endpoint: Endpoint,
pub format: FormatPreference,
pub negotiated_columns: Option<Vec<String>>,
}Expand description
Successful subscription. Tells the consumer where to read from and what to expect.
Fields§
§endpoint: EndpointEndpoint to open for batches. May be the same connection the request was sent on, or a different one the publisher advertised.
format: FormatPreferenceFormat batches will be encoded in.
negotiated_columns: Option<Vec<String>>Final column set if projection was applied. None means the full
schema is delivered.
Trait Implementations§
Source§impl Clone for SubscribeAck
impl Clone for SubscribeAck
Source§fn clone(&self) -> SubscribeAck
fn clone(&self) -> SubscribeAck
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 SubscribeAck
impl Debug for SubscribeAck
Source§impl<'de> Deserialize<'de> for SubscribeAck
impl<'de> Deserialize<'de> for SubscribeAck
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscribeAck, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SubscribeAck, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SubscribeAck
impl PartialEq for SubscribeAck
Source§fn eq(&self, other: &SubscribeAck) -> bool
fn eq(&self, other: &SubscribeAck) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubscribeAck
impl Serialize for SubscribeAck
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SubscribeAck
Auto Trait Implementations§
impl Freeze for SubscribeAck
impl RefUnwindSafe for SubscribeAck
impl Send for SubscribeAck
impl Sync for SubscribeAck
impl Unpin for SubscribeAck
impl UnsafeUnpin for SubscribeAck
impl UnwindSafe for SubscribeAck
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