pub struct NetworkAllowlist {
pub allowed_domains: Vec<String>,
pub type_: NetworkAllowlistType,
pub domain_secrets: Option<Vec<DomainSecret>>,
pub rest: Rest,
}Fields§
§allowed_domains: Vec<String>§type_: NetworkAllowlistType§domain_secrets: Option<Vec<DomainSecret>>§rest: RestImplementations§
Source§impl NetworkAllowlist
impl NetworkAllowlist
Sourcepub fn builder(
allowed_domains: Vec<String>,
type_: NetworkAllowlistType,
) -> NetworkAllowlistBuilder
pub fn builder( allowed_domains: Vec<String>, type_: NetworkAllowlistType, ) -> NetworkAllowlistBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for NetworkAllowlist
impl Clone for NetworkAllowlist
Source§impl Debug for NetworkAllowlist
impl Debug for NetworkAllowlist
Source§impl DeclaredFields for NetworkAllowlist
impl DeclaredFields for NetworkAllowlist
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for NetworkAllowlist
impl<'de> Deserialize<'de> for NetworkAllowlist
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
impl Eq for NetworkAllowlist
Source§impl PartialEq for NetworkAllowlist
impl PartialEq for NetworkAllowlist
Source§impl Serialize for NetworkAllowlist
impl Serialize for NetworkAllowlist
impl StructuralPartialEq for NetworkAllowlist
Auto Trait Implementations§
impl Freeze for NetworkAllowlist
impl RefUnwindSafe for NetworkAllowlist
impl Send for NetworkAllowlist
impl Sync for NetworkAllowlist
impl Unpin for NetworkAllowlist
impl UnsafeUnpin for NetworkAllowlist
impl UnwindSafe for NetworkAllowlist
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