pub struct SqlSubscriptionDescriptor {
pub id: String,
pub sql: String,
pub options: Option<SubscriptionOptions>,
}Expand description
Nested subscription metadata returned by SUBSCRIBE TO over SQL HTTP.
Fields§
§id: String§sql: String§options: Option<SubscriptionOptions>Implementations§
Trait Implementations§
Source§impl Clone for SqlSubscriptionDescriptor
impl Clone for SqlSubscriptionDescriptor
Source§fn clone(&self) -> SqlSubscriptionDescriptor
fn clone(&self) -> SqlSubscriptionDescriptor
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 SqlSubscriptionDescriptor
impl Debug for SqlSubscriptionDescriptor
Source§impl<'de> Deserialize<'de> for SqlSubscriptionDescriptor
impl<'de> Deserialize<'de> for SqlSubscriptionDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SqlSubscriptionDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SqlSubscriptionDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SqlSubscriptionDescriptor
impl PartialEq for SqlSubscriptionDescriptor
Source§fn eq(&self, other: &SqlSubscriptionDescriptor) -> bool
fn eq(&self, other: &SqlSubscriptionDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SqlSubscriptionDescriptor
impl Serialize for SqlSubscriptionDescriptor
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 SqlSubscriptionDescriptor
Auto Trait Implementations§
impl Freeze for SqlSubscriptionDescriptor
impl RefUnwindSafe for SqlSubscriptionDescriptor
impl Send for SqlSubscriptionDescriptor
impl Sync for SqlSubscriptionDescriptor
impl Unpin for SqlSubscriptionDescriptor
impl UnsafeUnpin for SqlSubscriptionDescriptor
impl UnwindSafe for SqlSubscriptionDescriptor
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