pub struct PublishOptions {
pub mandatory: bool,
pub immediate: bool,
pub expiration: Option<String>,
pub priority: Option<u8>,
}Expand description
Publish options builder
Fields§
§mandatory: bool§immediate: bool§expiration: Option<String>§priority: Option<u8>Implementations§
Trait Implementations§
Source§impl Clone for PublishOptions
impl Clone for PublishOptions
Source§fn clone(&self) -> PublishOptions
fn clone(&self) -> PublishOptions
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 PublishOptions
impl Debug for PublishOptions
Source§impl Default for PublishOptions
impl Default for PublishOptions
Source§fn default() -> PublishOptions
fn default() -> PublishOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PublishOptions
impl RefUnwindSafe for PublishOptions
impl Send for PublishOptions
impl Sync for PublishOptions
impl Unpin for PublishOptions
impl UnwindSafe for PublishOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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