pub struct CreatePostRequestMetadataPriority {
pub priority: Option<String>,
pub requested_ack: Option<bool>,
}Expand description
CreatePostRequestMetadataPriority : An object containing the post’s priority properties
Fields§
§priority: Option<String>The priority label of the post, could empty, important, or urgent
requested_ack: Option<bool>Set to true to request for acknowledgements
Implementations§
Source§impl CreatePostRequestMetadataPriority
impl CreatePostRequestMetadataPriority
Sourcepub fn new() -> CreatePostRequestMetadataPriority
pub fn new() -> CreatePostRequestMetadataPriority
An object containing the post’s priority properties
Trait Implementations§
Source§impl Clone for CreatePostRequestMetadataPriority
impl Clone for CreatePostRequestMetadataPriority
Source§fn clone(&self) -> CreatePostRequestMetadataPriority
fn clone(&self) -> CreatePostRequestMetadataPriority
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 Default for CreatePostRequestMetadataPriority
impl Default for CreatePostRequestMetadataPriority
Source§fn default() -> CreatePostRequestMetadataPriority
fn default() -> CreatePostRequestMetadataPriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePostRequestMetadataPriority
impl<'de> Deserialize<'de> for CreatePostRequestMetadataPriority
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreatePostRequestMetadataPriority
impl PartialEq for CreatePostRequestMetadataPriority
Source§fn eq(&self, other: &CreatePostRequestMetadataPriority) -> bool
fn eq(&self, other: &CreatePostRequestMetadataPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreatePostRequestMetadataPriority
Auto Trait Implementations§
impl Freeze for CreatePostRequestMetadataPriority
impl RefUnwindSafe for CreatePostRequestMetadataPriority
impl Send for CreatePostRequestMetadataPriority
impl Sync for CreatePostRequestMetadataPriority
impl Unpin for CreatePostRequestMetadataPriority
impl UnwindSafe for CreatePostRequestMetadataPriority
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