pub struct ScanSchedule {
pub id: Uuid,
pub label: String,
pub repo_url: String,
pub branch: String,
pub kind: ScanScheduleKind,
pub provider: ScanScheduleProvider,
pub webhook_secret: Option<String>,
pub interval_secs: Option<u64>,
pub last_scan_sha: Option<String>,
pub last_scan_at: Option<DateTime<Utc>>,
pub last_run_id: Option<String>,
pub enabled: bool,
}Fields§
§id: Uuid§label: String§repo_url: String§branch: String§kind: ScanScheduleKind§provider: ScanScheduleProvider§webhook_secret: Option<String>§interval_secs: Option<u64>§last_scan_sha: Option<String>§last_scan_at: Option<DateTime<Utc>>§last_run_id: Option<String>§enabled: boolImplementations§
Source§impl ScanSchedule
impl ScanSchedule
Trait Implementations§
Source§impl Clone for ScanSchedule
impl Clone for ScanSchedule
Source§fn clone(&self) -> ScanSchedule
fn clone(&self) -> ScanSchedule
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 ScanSchedule
impl Debug for ScanSchedule
Source§impl<'de> Deserialize<'de> for ScanSchedule
impl<'de> Deserialize<'de> for ScanSchedule
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 ScanSchedule
impl RefUnwindSafe for ScanSchedule
impl Send for ScanSchedule
impl Sync for ScanSchedule
impl Unpin for ScanSchedule
impl UnsafeUnpin for ScanSchedule
impl UnwindSafe for ScanSchedule
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