[][src]Struct lib_tcstring::VendorSet

pub struct VendorSet {
    pub is_blocklist: bool,
    pub list: Vec<u16>,
}

VendorSet contains a list of vendors which are either allowed or blocked based on the is_blocklist field

Fields

is_blocklist: bool

is_blocklist defines if list is an blocklist or an allowlist

list: Vec<u16>

List of vendors which are either allowed or blocked based on the is_blocklist

Trait Implementations

impl Clone for VendorSet[src]

impl Debug for VendorSet[src]

impl Default for VendorSet[src]

impl Hash for VendorSet[src]

impl PartialEq<VendorSet> for VendorSet[src]

impl PartialOrd<VendorSet> for VendorSet[src]

impl StructuralPartialEq for VendorSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.