pub struct ContestPostRequest {
pub title: String,
pub text: String,
pub created_at: DateTime<Utc>,
}Expand description
Request for creating/updating a post in contest
Fields§
§title: StringPost’s title
text: StringPost’s text
created_at: DateTime<Utc>Created at
Trait Implementations§
Source§impl Clone for ContestPostRequest
impl Clone for ContestPostRequest
Source§fn clone(&self) -> ContestPostRequest
fn clone(&self) -> ContestPostRequest
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 ContestPostRequest
impl Debug for ContestPostRequest
Source§impl<'de> Deserialize<'de> for ContestPostRequest
impl<'de> Deserialize<'de> for ContestPostRequest
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 ContestPostRequest
impl RefUnwindSafe for ContestPostRequest
impl Send for ContestPostRequest
impl Sync for ContestPostRequest
impl Unpin for ContestPostRequest
impl UnsafeUnpin for ContestPostRequest
impl UnwindSafe for ContestPostRequest
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