#[non_exhaustive]pub struct Link {
pub display_name: String,
pub url: String,
/* private fields */
}Expand description
Links to content such as playbooks, repositories, and other resources.
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.display_name: StringA short display name for the link. The display name must not be empty or exceed 63 characters. Example: “playbook”.
url: StringThe url of a webpage.
A url can be templatized by using variables
in the path or the query parameters. The total length of a URL should
not exceed 2083 characters before and after variable expansion.
Example: https://my_domain.com/playbook?name=${resource.name}
Implementations§
Trait Implementations§
impl StructuralPartialEq for Link
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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