pub struct InputCustomEvent {
pub date: i64,
pub end_date: Option<Option<i64>>,
pub title: String,
pub description: Option<Option<String>>,
}Fields§
§date: i64§end_date: Option<Option<i64>>§title: String§description: Option<Option<String>>Implementations§
Source§impl InputCustomEvent
impl InputCustomEvent
pub fn new(date: i64, title: String) -> InputCustomEvent
Trait Implementations§
Source§impl Clone for InputCustomEvent
impl Clone for InputCustomEvent
Source§fn clone(&self) -> InputCustomEvent
fn clone(&self) -> InputCustomEvent
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 InputCustomEvent
impl Debug for InputCustomEvent
Source§impl Default for InputCustomEvent
impl Default for InputCustomEvent
Source§fn default() -> InputCustomEvent
fn default() -> InputCustomEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputCustomEvent
impl<'de> Deserialize<'de> for InputCustomEvent
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 InputCustomEvent
impl PartialEq for InputCustomEvent
Source§impl Serialize for InputCustomEvent
impl Serialize for InputCustomEvent
impl StructuralPartialEq for InputCustomEvent
Auto Trait Implementations§
impl Freeze for InputCustomEvent
impl RefUnwindSafe for InputCustomEvent
impl Send for InputCustomEvent
impl Sync for InputCustomEvent
impl Unpin for InputCustomEvent
impl UnwindSafe for InputCustomEvent
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