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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq 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 (const: unstable) · 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 for UpdatePostOptions
impl PartialEq for UpdatePostOptions
Source§impl PartialOrd for UpdatePostOptions
impl PartialOrd for UpdatePostOptions
impl StructuralPartialEq for UpdatePostOptions
Auto Trait Implementations§
impl Freeze for UpdatePostOptions
impl RefUnwindSafe for UpdatePostOptions
impl Send for UpdatePostOptions
impl Sync for UpdatePostOptions
impl Unpin for UpdatePostOptions
impl UnsafeUnpin for UpdatePostOptions
impl UnwindSafe for UpdatePostOptions
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