#[non_exhaustive]pub struct UrlMapsScopedList {
pub url_maps: Vec<UrlMap>,
pub warning: Option<Warning>,
/* private fields */
}Available on crate feature
url-maps only.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.url_maps: Vec<UrlMap>A list of UrlMaps contained in this scope.
warning: Option<Warning>Informational warning which replaces the list of backend services when the list is empty.
Implementations§
Source§impl UrlMapsScopedList
impl UrlMapsScopedList
pub fn new() -> Self
Sourcepub fn set_url_maps<T, V>(self, v: T) -> Self
pub fn set_url_maps<T, V>(self, v: T) -> Self
Sourcepub fn set_warning<T>(self, v: T) -> Self
pub fn set_warning<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_warning<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_warning<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for UrlMapsScopedList
impl Clone for UrlMapsScopedList
Source§fn clone(&self) -> UrlMapsScopedList
fn clone(&self) -> UrlMapsScopedList
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 UrlMapsScopedList
impl Debug for UrlMapsScopedList
Source§impl Default for UrlMapsScopedList
impl Default for UrlMapsScopedList
Source§fn default() -> UrlMapsScopedList
fn default() -> UrlMapsScopedList
Returns the “default value” for a type. Read more
Source§impl Message for UrlMapsScopedList
impl Message for UrlMapsScopedList
Source§impl PartialEq for UrlMapsScopedList
impl PartialEq for UrlMapsScopedList
impl StructuralPartialEq for UrlMapsScopedList
Auto Trait Implementations§
impl Freeze for UrlMapsScopedList
impl RefUnwindSafe for UrlMapsScopedList
impl Send for UrlMapsScopedList
impl Sync for UrlMapsScopedList
impl Unpin for UrlMapsScopedList
impl UnwindSafe for UrlMapsScopedList
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