ElasticMeta

Struct ElasticMeta 

Source
pub struct ElasticMeta {
    pub index: Option<bool>,
    pub store: Option<bool>,
    pub copyto: Option<&'static str>,
    pub mapping: Option<&'static str>,
    pub analyzer: Option<&'static str>,
    pub normalizer: Option<&'static str>,
}
Expand description

Metadata fields required for converting the structs to elasticsearch mappings

Fields§

§index: Option<bool>§store: Option<bool>§copyto: Option<&'static str>§mapping: Option<&'static str>§analyzer: Option<&'static str>§normalizer: Option<&'static str>

Trait Implementations§

Source§

impl Clone for ElasticMeta

Source§

fn clone(&self) -> ElasticMeta

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ElasticMeta

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ElasticMeta

Source§

fn default() -> ElasticMeta

Returns the “default value” for a type. Read more
Source§

impl Described<ElasticMeta> for ALResults

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for AccessMode

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for AclCatagory

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Alert

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ApiKey

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Apps

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Attack

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Attack

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Attribution

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for BadhashTypes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Badlist

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for BodyFormat

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ChannelKinds

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ClassificationString

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Comment

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DependencyConfig

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DependencyConfigDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DetailedItem

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DetailedResults

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DockerConfig

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for DockerConfigDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for EmptyResult

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for EntityType

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for EnvironmentVariable

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Error

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ErrorTypes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Event

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl<const USER: bool> Described<ElasticMeta> for ExpandingClassification<USER>

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ExtendedScanValues

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for FetchMethods

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for File

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for FileScore

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Hashes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Hashes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Heuristic

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Heuristic

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Heuristic

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for IndexCatagory

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for IpAddr

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ItemVerdict

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for JA4

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Keyword

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for LabelCategories

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for MD5

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Milestone

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for NonZeroInteger

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ParamKinds

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for PersistentVolume

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for PersistentVolumeDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Priorities

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for PromoteTo

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Reaction

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ReactionsTypes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for RegistryType

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Relationship

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Response

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ResponseBody

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Result

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ResultBody

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Retrohunt

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for RetrohuntHit

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SSDeepHash

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SafehashTypes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Safelist

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Scope

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Screenshot

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Section

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Seen

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Service

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ServiceDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for ServiceSelection

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Sha1

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Sha256

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Sid

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Signature

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Signature

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SignatureDelimiter

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Source

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Source

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SourceTypes

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Statistics

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Status

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Statuses

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Submission

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SubmissionParams

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SubmissionParams

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SubmissionParamsDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for SubmissionState

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Subtype

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Tag

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Tag

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Tagging

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Text

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Times

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for TraceEvent

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for URIInfo

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UpdateConfig

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UpdateConfigDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UpdateSource

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UpdateSourceDelta

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UpperString

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for User

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UserRole

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for UserType

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Uuid

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl<Validator> Described<ElasticMeta> for ValidatedString<Validator>

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Verdict

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Verdict

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Wildcard

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl Described<ElasticMeta> for Workflow

Source§

fn metadata() -> Descriptor<ElasticMeta>

Get self description of this type
Source§

impl MetadataKind for ElasticMeta

Source§

fn forward_propagate_context(&mut self, context: &Self)

Update metadata values on nested contexts generally
Source§

fn forward_propagate_child_defaults(&mut self, kind: &ElasticMeta)

Update metadata values on a type entry based on its child type
Source§

fn forward_propagate_entry_defaults( &mut self, context: &ElasticMeta, kind: &ElasticMeta, )

Update metadata values on an entry based on the outer context and inner type data
Source§

fn backward_propagate_entry_defaults(&mut self, _context: &Self, _kind: &Self)

Update metadata values on an entry based on the outer context and inner type data
Source§

fn backward_propagate_child_defaults(&mut self, _kind: &Self)

Update metadata values on a type entry based on its child type
Source§

impl PartialEq for ElasticMeta

Source§

fn eq(&self, other: &ElasticMeta) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for ElasticMeta

Source§

impl StructuralPartialEq for ElasticMeta

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> ErasedDestructor for T
where T: 'static,