#[non_exhaustive]pub struct NetworkSettings {
pub ingress_traffic_allowed: IngressTrafficAllowed,
/* private fields */
}Expand description
A NetworkSettings resource is a container for ingress settings for a version or service.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ingress_traffic_allowed: IngressTrafficAllowedThe ingress settings for version or service.
Implementations§
Source§impl NetworkSettings
impl NetworkSettings
pub fn new() -> Self
Sourcepub fn set_ingress_traffic_allowed<T: Into<IngressTrafficAllowed>>(
self,
v: T,
) -> Self
pub fn set_ingress_traffic_allowed<T: Into<IngressTrafficAllowed>>( self, v: T, ) -> Self
Sets the value of ingress_traffic_allowed.
Trait Implementations§
Source§impl Clone for NetworkSettings
impl Clone for NetworkSettings
Source§fn clone(&self) -> NetworkSettings
fn clone(&self) -> NetworkSettings
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 NetworkSettings
impl Debug for NetworkSettings
Source§impl Default for NetworkSettings
impl Default for NetworkSettings
Source§fn default() -> NetworkSettings
fn default() -> NetworkSettings
Returns the “default value” for a type. Read more
Source§impl Message for NetworkSettings
impl Message for NetworkSettings
Source§impl PartialEq for NetworkSettings
impl PartialEq for NetworkSettings
impl StructuralPartialEq for NetworkSettings
Auto Trait Implementations§
impl Freeze for NetworkSettings
impl RefUnwindSafe for NetworkSettings
impl Send for NetworkSettings
impl Sync for NetworkSettings
impl Unpin for NetworkSettings
impl UnwindSafe for NetworkSettings
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