pub struct ApplicationObj {
pub name: String,
pub category: String,
pub transports: Vec<TransportService>,
pub dns_suffixes: Vec<String>,
pub tls_sni_suffixes: Vec<String>,
pub http_hosts: Vec<String>,
}Expand description
Owned application object suitable for serialization and CRUD operations.
Fields§
§name: String§category: String§transports: Vec<TransportService>§dns_suffixes: Vec<String>§tls_sni_suffixes: Vec<String>§http_hosts: Vec<String>Implementations§
Source§impl ApplicationObj
impl ApplicationObj
Sourcepub fn matches(&self, input: &ApplicationMatchInput<'_>) -> bool
pub fn matches(&self, input: &ApplicationMatchInput<'_>) -> bool
Evaluate indicators against observed metadata.
Trait Implementations§
Source§impl Clone for ApplicationObj
impl Clone for ApplicationObj
Source§fn clone(&self) -> ApplicationObj
fn clone(&self) -> ApplicationObj
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 ApplicationObj
impl Debug for ApplicationObj
Source§impl<'a> From<ApplicationDefinition<'a>> for ApplicationObj
impl<'a> From<ApplicationDefinition<'a>> for ApplicationObj
Source§fn from(def: ApplicationDefinition<'a>) -> Self
fn from(def: ApplicationDefinition<'a>) -> Self
Converts to this type from the input type.
Source§impl From<ApplicationObj> for BuilderEntry
impl From<ApplicationObj> for BuilderEntry
Source§fn from(app: ApplicationObj) -> Self
fn from(app: ApplicationObj) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ApplicationObj
impl PartialEq for ApplicationObj
impl StructuralPartialEq for ApplicationObj
Auto Trait Implementations§
impl Freeze for ApplicationObj
impl RefUnwindSafe for ApplicationObj
impl Send for ApplicationObj
impl Sync for ApplicationObj
impl Unpin for ApplicationObj
impl UnwindSafe for ApplicationObj
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