pub struct DesignationCreated {
pub ack: WriteAck<ProposalDesignationId>,
pub post_id: PostId,
pub category: ProposalCategory,
pub kind: DesignationKind,
pub disclosure_comment_id: CommentId,
pub note: String,
}Expand description
What designate_proposal answers: the WriteAck of the new
designation, and what it did
Fields§
§ack: WriteAck<ProposalDesignationId>§post_id: PostIdThe post, now a proposal; the post itself is unchanged
category: ProposalCategory§kind: DesignationKind§disclosure_comment_id: CommentIdThe system comment that discloses the designation on the thread
note: StringWhat happened, in a sentence
Trait Implementations§
Source§impl Clone for DesignationCreated
impl Clone for DesignationCreated
Source§impl Debug for DesignationCreated
impl Debug for DesignationCreated
Source§impl<'de> Deserialize<'de> for DesignationCreated
impl<'de> Deserialize<'de> for DesignationCreated
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
Auto Trait Implementations§
impl Freeze for DesignationCreated
impl RefUnwindSafe for DesignationCreated
impl Send for DesignationCreated
impl Sync for DesignationCreated
impl Unpin for DesignationCreated
impl UnsafeUnpin for DesignationCreated
impl UnwindSafe for DesignationCreated
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