Struct assemblyline_models::datastore::service::UpdateConfig
source · pub struct UpdateConfig {
pub generates_signatures: bool,
pub sources: Vec<UpdateSource>,
pub update_interval_seconds: u32,
pub wait_for_update: bool,
pub signature_delimiter: SignatureDelimiter,
pub custom_delimiter: Option<String>,
}
Expand description
Update Configuration for Signatures
Fields§
§generates_signatures: bool
Does the updater produce signatures?
sources: Vec<UpdateSource>
List of external sources
update_interval_seconds: u32
Update check interval, in seconds
wait_for_update: bool
Should the service wait for updates first?
signature_delimiter: SignatureDelimiter
Delimiter used when given a list of signatures
custom_delimiter: Option<String>
Custom delimiter definition
Trait Implementations§
source§impl Debug for UpdateConfig
impl Debug for UpdateConfig
source§impl Described<ElasticMeta> for UpdateConfig
impl Described<ElasticMeta> for UpdateConfig
source§fn metadata() -> Descriptor<ElasticMeta>
fn metadata() -> Descriptor<ElasticMeta>
Get self description of this type
source§impl<'de> Deserialize<'de> for UpdateConfig
impl<'de> Deserialize<'de> for UpdateConfig
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 UpdateConfig
impl PartialEq for UpdateConfig
source§fn eq(&self, other: &UpdateConfig) -> bool
fn eq(&self, other: &UpdateConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UpdateConfig
impl Serialize for UpdateConfig
impl Eq for UpdateConfig
impl StructuralEq for UpdateConfig
impl StructuralPartialEq for UpdateConfig
Auto Trait Implementations§
impl RefUnwindSafe for UpdateConfig
impl Send for UpdateConfig
impl Sync for UpdateConfig
impl Unpin for UpdateConfig
impl UnwindSafe for UpdateConfig
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