#[non_exhaustive]pub struct ForwardingRuleAttachedExtension {
pub reference: Option<String>,
/* private fields */
}Available on crate features
forwarding-rules or global-forwarding-rules only.Expand description
Reference to an extension resource that is attached to this ForwardingRule.
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.reference: Option<String>Output only. The resource name.
Implementations§
Source§impl ForwardingRuleAttachedExtension
impl ForwardingRuleAttachedExtension
Sourcepub fn set_reference<T>(self, v: T) -> Self
pub fn set_reference<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_reference<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_reference<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for ForwardingRuleAttachedExtension
impl Clone for ForwardingRuleAttachedExtension
Source§fn clone(&self) -> ForwardingRuleAttachedExtension
fn clone(&self) -> ForwardingRuleAttachedExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ForwardingRuleAttachedExtension
impl Default for ForwardingRuleAttachedExtension
Source§fn default() -> ForwardingRuleAttachedExtension
fn default() -> ForwardingRuleAttachedExtension
Returns the “default value” for a type. Read more
Source§impl PartialEq for ForwardingRuleAttachedExtension
impl PartialEq for ForwardingRuleAttachedExtension
Source§fn eq(&self, other: &ForwardingRuleAttachedExtension) -> bool
fn eq(&self, other: &ForwardingRuleAttachedExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ForwardingRuleAttachedExtension
Auto Trait Implementations§
impl Freeze for ForwardingRuleAttachedExtension
impl RefUnwindSafe for ForwardingRuleAttachedExtension
impl Send for ForwardingRuleAttachedExtension
impl Sync for ForwardingRuleAttachedExtension
impl Unpin for ForwardingRuleAttachedExtension
impl UnsafeUnpin for ForwardingRuleAttachedExtension
impl UnwindSafe for ForwardingRuleAttachedExtension
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