pub struct HttpSection {
pub ports: Vec<u16>,
pub allow: Vec<String>,
pub deny: Vec<String>,
}Fields§
§ports: Vec<u16>§allow: Vec<String>§deny: Vec<String>Trait Implementations§
Source§impl Clone for HttpSection
impl Clone for HttpSection
Source§fn clone(&self) -> HttpSection
fn clone(&self) -> HttpSection
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 HttpSection
impl Debug for HttpSection
Source§impl Default for HttpSection
impl Default for HttpSection
Source§fn default() -> HttpSection
fn default() -> HttpSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpSectionwhere
HttpSection: Default,
impl<'de> Deserialize<'de> for HttpSectionwhere
HttpSection: Default,
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 HttpSection
impl PartialEq for HttpSection
Source§fn eq(&self, other: &HttpSection) -> bool
fn eq(&self, other: &HttpSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HttpSection
Auto Trait Implementations§
impl Freeze for HttpSection
impl RefUnwindSafe for HttpSection
impl Send for HttpSection
impl Sync for HttpSection
impl Unpin for HttpSection
impl UnsafeUnpin for HttpSection
impl UnwindSafe for HttpSection
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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