Struct iscp::message::UpstreamOpenRequest
source · pub struct UpstreamOpenRequest {
pub request_id: RequestId,
pub session_id: String,
pub ack_interval: Duration,
pub expiry_interval: Duration,
pub data_ids: Vec<DataId>,
pub qos: QoS,
pub persist: Option<bool>,
}Expand description
アップストリーム開始要求です。
Fields§
§request_id: RequestIdリクエストID
session_id: StringセッションID
ack_interval: DurationAckの返却間隔
expiry_interval: Duration有効期限
data_ids: Vec<DataId>データIDリスト
qos: QoSQoS
persist: Option<bool>拡張フィールドに含まれている永続化フラグ
Trait Implementations§
source§impl Clone for UpstreamOpenRequest
impl Clone for UpstreamOpenRequest
source§fn clone(&self) -> UpstreamOpenRequest
fn clone(&self) -> UpstreamOpenRequest
Returns a copy 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 UpstreamOpenRequest
impl Debug for UpstreamOpenRequest
source§impl Default for UpstreamOpenRequest
impl Default for UpstreamOpenRequest
source§impl From<UpstreamOpenRequest> for Message
impl From<UpstreamOpenRequest> for Message
source§fn from(m: UpstreamOpenRequest) -> Self
fn from(m: UpstreamOpenRequest) -> Self
Converts to this type from the input type.
source§impl From<UpstreamOpenRequest> for UpstreamOpenRequest
impl From<UpstreamOpenRequest> for UpstreamOpenRequest
source§fn from(r: UpstreamOpenRequest) -> Self
fn from(r: UpstreamOpenRequest) -> Self
Converts to this type from the input type.
source§impl From<UpstreamOpenRequest> for UpstreamOpenRequest
impl From<UpstreamOpenRequest> for UpstreamOpenRequest
source§fn from(r: UpstreamOpenRequest) -> Self
fn from(r: UpstreamOpenRequest) -> Self
Converts to this type from the input type.
source§impl PartialEq for UpstreamOpenRequest
impl PartialEq for UpstreamOpenRequest
source§fn eq(&self, other: &UpstreamOpenRequest) -> bool
fn eq(&self, other: &UpstreamOpenRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<Message> for UpstreamOpenRequest
impl TryFrom<Message> for UpstreamOpenRequest
impl StructuralPartialEq for UpstreamOpenRequest
Auto Trait Implementations§
impl RefUnwindSafe for UpstreamOpenRequest
impl Send for UpstreamOpenRequest
impl Sync for UpstreamOpenRequest
impl Unpin for UpstreamOpenRequest
impl UnwindSafe for UpstreamOpenRequest
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