pub struct CouncilCommentRequest {
pub post_id: PostId,
pub title: String,
pub community: String,
pub item_post_id: PostId,
pub item_title: String,
pub asks: String,
pub comment_deadline: Option<DateTime<Utc>>,
}Expand description
A request for comment on a thread attached to an agenda item of the next sitting
Fields§
§post_id: PostIdThe thread to comment on
title: String§community: String§item_post_id: PostIdThe agenda item the thread is attached to
item_title: String§asks: StringWhat kind of input the Council wants, in one line
comment_deadline: Option<DateTime<Utc>>When comments should be in by, if there is a cutoff
Trait Implementations§
Source§impl Clone for CouncilCommentRequest
impl Clone for CouncilCommentRequest
Source§impl Debug for CouncilCommentRequest
impl Debug for CouncilCommentRequest
Source§impl<'de> Deserialize<'de> for CouncilCommentRequest
impl<'de> Deserialize<'de> for CouncilCommentRequest
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 CouncilCommentRequest
impl RefUnwindSafe for CouncilCommentRequest
impl Send for CouncilCommentRequest
impl Sync for CouncilCommentRequest
impl Unpin for CouncilCommentRequest
impl UnsafeUnpin for CouncilCommentRequest
impl UnwindSafe for CouncilCommentRequest
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