pub struct PostCampaignInSchema {
pub search_params: Option<Box<FilterPayload>>,
pub judge_id: Uuid,
pub name: String,
pub description: String,
pub max_nb_events: i32,
}Fields§
§search_params: Option<Box<FilterPayload>>§judge_id: Uuid§name: String§description: String§max_nb_events: i32Implementations§
Source§impl PostCampaignInSchema
impl PostCampaignInSchema
pub fn new( search_params: Option<FilterPayload>, judge_id: Uuid, name: String, description: String, max_nb_events: i32, ) -> PostCampaignInSchema
Trait Implementations§
Source§impl Clone for PostCampaignInSchema
impl Clone for PostCampaignInSchema
Source§fn clone(&self) -> PostCampaignInSchema
fn clone(&self) -> PostCampaignInSchema
Returns a duplicate 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 PostCampaignInSchema
impl Debug for PostCampaignInSchema
Source§impl Default for PostCampaignInSchema
impl Default for PostCampaignInSchema
Source§fn default() -> PostCampaignInSchema
fn default() -> PostCampaignInSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostCampaignInSchema
impl<'de> Deserialize<'de> for PostCampaignInSchema
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
Source§impl PartialEq for PostCampaignInSchema
impl PartialEq for PostCampaignInSchema
Source§impl Serialize for PostCampaignInSchema
impl Serialize for PostCampaignInSchema
impl StructuralPartialEq for PostCampaignInSchema
Auto Trait Implementations§
impl Freeze for PostCampaignInSchema
impl RefUnwindSafe for PostCampaignInSchema
impl Send for PostCampaignInSchema
impl Sync for PostCampaignInSchema
impl Unpin for PostCampaignInSchema
impl UnsafeUnpin for PostCampaignInSchema
impl UnwindSafe for PostCampaignInSchema
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