pub struct PostMetadataPriority {
pub priority: Option<String>,
pub requested_ack: Option<bool>,
}Expand description
PostMetadataPriority : Post priority set for this post. This field will be null if no priority metadata has been set.
Fields§
§priority: Option<String>The priority label of a post, could be either empty, important, or urgent.
requested_ack: Option<bool>Whether the post author has requested for acknowledgements or not.
Implementations§
Source§impl PostMetadataPriority
impl PostMetadataPriority
Sourcepub fn new() -> PostMetadataPriority
pub fn new() -> PostMetadataPriority
Post priority set for this post. This field will be null if no priority metadata has been set.
Trait Implementations§
Source§impl Clone for PostMetadataPriority
impl Clone for PostMetadataPriority
Source§fn clone(&self) -> PostMetadataPriority
fn clone(&self) -> PostMetadataPriority
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 PostMetadataPriority
impl Debug for PostMetadataPriority
Source§impl Default for PostMetadataPriority
impl Default for PostMetadataPriority
Source§fn default() -> PostMetadataPriority
fn default() -> PostMetadataPriority
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostMetadataPriority
impl<'de> Deserialize<'de> for PostMetadataPriority
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 PostMetadataPriority
impl PartialEq for PostMetadataPriority
Source§impl Serialize for PostMetadataPriority
impl Serialize for PostMetadataPriority
impl StructuralPartialEq for PostMetadataPriority
Auto Trait Implementations§
impl Freeze for PostMetadataPriority
impl RefUnwindSafe for PostMetadataPriority
impl Send for PostMetadataPriority
impl Sync for PostMetadataPriority
impl Unpin for PostMetadataPriority
impl UnwindSafe for PostMetadataPriority
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