#[non_exhaustive]pub struct HelpLink {
pub description: Option<String>,
pub url: Option<String>,
/* private fields */
}Available on crate features
images or instance-group-manager-resize-requests or instance-group-managers or instance-groups or instances or region-instance-group-managers or region-instance-groups or region-instance-templates or region-instances or region-operations or zone-operations only.Expand description
Describes a URL link.
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.description: Option<String>Describes what the link offers.
url: Option<String>The URL of the link.
Implementations§
Source§impl HelpLink
impl HelpLink
pub fn new() -> Self
Sourcepub fn set_description<T>(self, v: T) -> Self
pub fn set_description<T>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_or_clear_description<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_description<T>(self, v: Option<T>) -> Self
Sets or clears the value of description.
Trait Implementations§
impl StructuralPartialEq for HelpLink
Auto Trait Implementations§
impl Freeze for HelpLink
impl RefUnwindSafe for HelpLink
impl Send for HelpLink
impl Sync for HelpLink
impl Unpin for HelpLink
impl UnwindSafe for HelpLink
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