pub struct ScheduleTask {
pub id: Option<i32>,
pub vendor_type: Option<String>,
pub vendor_id: Option<i32>,
pub cron: Option<String>,
pub update_time: Option<String>,
}Expand description
ScheduleTask : the schedule task info
Fields§
§id: Option<i32>the id of the Schedule task
vendor_type: Option<String>the vendor type of the current schedule task
vendor_id: Option<i32>the vendor id of the current task
cron: Option<String>the cron of the current schedule task
update_time: Option<String>the update time of the schedule task
Implementations§
Source§impl ScheduleTask
impl ScheduleTask
Sourcepub fn new() -> ScheduleTask
pub fn new() -> ScheduleTask
the schedule task info
Trait Implementations§
Source§impl Clone for ScheduleTask
impl Clone for ScheduleTask
Source§fn clone(&self) -> ScheduleTask
fn clone(&self) -> ScheduleTask
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 ScheduleTask
impl Debug for ScheduleTask
Source§impl Default for ScheduleTask
impl Default for ScheduleTask
Source§fn default() -> ScheduleTask
fn default() -> ScheduleTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScheduleTask
impl<'de> Deserialize<'de> for ScheduleTask
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 ScheduleTask
impl PartialEq for ScheduleTask
Source§impl Serialize for ScheduleTask
impl Serialize for ScheduleTask
impl StructuralPartialEq for ScheduleTask
Auto Trait Implementations§
impl Freeze for ScheduleTask
impl RefUnwindSafe for ScheduleTask
impl Send for ScheduleTask
impl Sync for ScheduleTask
impl Unpin for ScheduleTask
impl UnwindSafe for ScheduleTask
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