pub struct SubscribeResult {
pub name: String,
pub version: u32,
pub subscription_id: Option<String>,
pub error: Option<String>,
}Expand description
Result of a single event subscription attempt
Fields§
§name: StringEvent type name
version: u32Event version
subscription_id: Option<String>Subscription ID if successful
error: Option<String>Error message if subscription failed
Trait Implementations§
Source§impl Clone for SubscribeResult
impl Clone for SubscribeResult
Source§fn clone(&self) -> SubscribeResult
fn clone(&self) -> SubscribeResult
Returns a duplicate of the value. Read more
1.0.0 · 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 SubscribeResult
impl Debug for SubscribeResult
Source§impl<'de> Deserialize<'de> for SubscribeResult
impl<'de> Deserialize<'de> for SubscribeResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubscribeResult
impl RefUnwindSafe for SubscribeResult
impl Send for SubscribeResult
impl Sync for SubscribeResult
impl Unpin for SubscribeResult
impl UnwindSafe for SubscribeResult
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