Struct opcua_server::prelude::CreateSubscriptionRequest [−][src]
pub struct CreateSubscriptionRequest {
pub request_header: RequestHeader,
pub requested_publishing_interval: f64,
pub requested_lifetime_count: u32,
pub requested_max_keep_alive_count: u32,
pub max_notifications_per_publish: u32,
pub publishing_enabled: bool,
pub priority: u8,
}Fields
request_header: RequestHeaderrequested_publishing_interval: f64requested_lifetime_count: u32requested_max_keep_alive_count: u32max_notifications_per_publish: u32publishing_enabled: boolpriority: u8Trait Implementations
Returns the exact byte length of the structure as it would be if encode were called.
This may be called prior to writing to ensure the correct amount of space is available. Read more
Encodes the instance to the write stream.
pub fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<CreateSubscriptionRequest, StatusCode> where
S: Read,
pub fn decode<S>(
stream: &mut S,
decoding_limits: &DecodingLimits
) -> Result<CreateSubscriptionRequest, StatusCode> where
S: Read,
Decodes an instance from the read stream. The decoding limits are restrictions set by the server / client
on the length of strings, arrays etc. If these limits are exceeded the implementation should
return with a BadDecodingError as soon as possible. Read more
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CreateSubscriptionRequest
impl Send for CreateSubscriptionRequest
impl Sync for CreateSubscriptionRequest
impl Unpin for CreateSubscriptionRequest
impl UnwindSafe for CreateSubscriptionRequest
Blanket Implementations
Mutably borrows from an owned value. Read more