#[non_exhaustive]pub struct Subsetting {
pub policy: Option<Policy>,
/* private fields */
}Available on crate features
backend-services or region-backend-services only.Expand description
Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director.
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.policy: Option<Policy>Implementations§
Source§impl Subsetting
impl Subsetting
pub fn new() -> Self
Sourcepub fn set_policy<T>(self, v: T) -> Self
pub fn set_policy<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_policy<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_policy<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for Subsetting
impl Clone for Subsetting
Source§fn clone(&self) -> Subsetting
fn clone(&self) -> Subsetting
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 Subsetting
impl Debug for Subsetting
Source§impl Default for Subsetting
impl Default for Subsetting
Source§fn default() -> Subsetting
fn default() -> Subsetting
Returns the “default value” for a type. Read more
Source§impl PartialEq for Subsetting
impl PartialEq for Subsetting
impl StructuralPartialEq for Subsetting
Auto Trait Implementations§
impl Freeze for Subsetting
impl RefUnwindSafe for Subsetting
impl Send for Subsetting
impl Sync for Subsetting
impl Unpin for Subsetting
impl UnwindSafe for Subsetting
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