Struct etwin_core::forum::UpdatePostOptions
source · pub struct UpdatePostOptions {
pub post: ForumPostId,
pub revision: ForumPostRevisionId,
pub content: Option<Option<MarktwinText>>,
pub moderation: Option<Option<MarktwinText>>,
pub comment: Option<ForumPostRevisionComment>,
}
Fields§
§post: ForumPostId
§revision: ForumPostRevisionId
§content: Option<Option<MarktwinText>>
§moderation: Option<Option<MarktwinText>>
§comment: Option<ForumPostRevisionComment>
Trait Implementations§
source§impl Clone for UpdatePostOptions
impl Clone for UpdatePostOptions
source§fn clone(&self) -> UpdatePostOptions
fn clone(&self) -> UpdatePostOptions
Returns a copy 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 UpdatePostOptions
impl Debug for UpdatePostOptions
source§impl Hash for UpdatePostOptions
impl Hash for UpdatePostOptions
source§impl Ord for UpdatePostOptions
impl Ord for UpdatePostOptions
source§fn cmp(&self, other: &UpdatePostOptions) -> Ordering
fn cmp(&self, other: &UpdatePostOptions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<UpdatePostOptions> for UpdatePostOptions
impl PartialEq<UpdatePostOptions> for UpdatePostOptions
source§fn eq(&self, other: &UpdatePostOptions) -> bool
fn eq(&self, other: &UpdatePostOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UpdatePostOptions> for UpdatePostOptions
impl PartialOrd<UpdatePostOptions> for UpdatePostOptions
source§fn partial_cmp(&self, other: &UpdatePostOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &UpdatePostOptions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more