pub struct FinalWill {
pub topic: String,
pub payload: Bytes,
pub qos: QoS,
pub should_retain: bool,
pub will_delay_interval: Option<WillDelayInterval>,
pub payload_format_indicator: Option<PayloadFormatIndicator>,
pub message_expiry_interval: Option<MessageExpiryInterval>,
pub content_type: Option<ContentType>,
pub response_topic: Option<ResponseTopic>,
pub correlation_data: Option<CorrelationData>,
pub user_properties: Vec<UserProperty>,
}
Fields§
§topic: String
§payload: Bytes
§qos: QoS
§should_retain: bool
§will_delay_interval: Option<WillDelayInterval>
§payload_format_indicator: Option<PayloadFormatIndicator>
§message_expiry_interval: Option<MessageExpiryInterval>
§content_type: Option<ContentType>
§response_topic: Option<ResponseTopic>
§correlation_data: Option<CorrelationData>
§user_properties: Vec<UserProperty>
Trait Implementations§
Source§impl PropertySize for FinalWill
impl PropertySize for FinalWill
fn property_size(&self, protocol_version: ProtocolVersion) -> u32
impl StructuralPartialEq for FinalWill
Auto Trait Implementations§
impl !Freeze for FinalWill
impl RefUnwindSafe for FinalWill
impl Send for FinalWill
impl Sync for FinalWill
impl Unpin for FinalWill
impl UnwindSafe for FinalWill
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