pub struct SubscribeResponse {
pub subscription_id: u32,
pub max_interval_s: u16,
pub revision: Option<u16>,
}Expand description
SubscribeResponseMessage.
Note the gap: the schema has SubscriptionID [0] and MaxInterval [2], with no tag 1.
That is the specification’s, not a transcription slip — tag 1 held a MinInterval that
was removed.
Fields§
§subscription_id: u32SubscriptionID [0].
max_interval_s: u16MaxInterval [2], in seconds — what the server actually settled on.
revision: Option<u16>InteractionModelRevision [0xFF].
Implementations§
Trait Implementations§
Source§impl Clone for SubscribeResponse
impl Clone for SubscribeResponse
impl Copy for SubscribeResponse
Source§impl Debug for SubscribeResponse
impl Debug for SubscribeResponse
impl Eq for SubscribeResponse
Source§impl PartialEq for SubscribeResponse
impl PartialEq for SubscribeResponse
impl StructuralPartialEq for SubscribeResponse
Auto Trait Implementations§
impl Forget for SubscribeResponse
impl Freeze for SubscribeResponse
impl Move for SubscribeResponse
impl RefUnwindSafe for SubscribeResponse
impl Send for SubscribeResponse
impl Sync for SubscribeResponse
impl Unpin for SubscribeResponse
impl UnsafeUnpin for SubscribeResponse
impl UnwindSafe for SubscribeResponse
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