pub struct ContentLink {
pub uri: Option<String>,
pub content_hash: Option<ContentHash>,
pub version: Option<String>,
}Expand description
Definition of the content link.
Fields§
§uri: Option<String>Gets or sets the uri of content.
content_hash: Option<ContentHash>Definition of the runbook property type.
version: Option<String>Gets or sets the version of the content.
Implementations§
Source§impl ContentLink
impl ContentLink
Trait Implementations§
Source§impl Clone for ContentLink
impl Clone for ContentLink
Source§fn clone(&self) -> ContentLink
fn clone(&self) -> ContentLink
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 ContentLink
impl Debug for ContentLink
Source§impl Default for ContentLink
impl Default for ContentLink
Source§fn default() -> ContentLink
fn default() -> ContentLink
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentLink
impl<'de> Deserialize<'de> for ContentLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContentLink
impl PartialEq for ContentLink
Source§impl Serialize for ContentLink
impl Serialize for ContentLink
impl StructuralPartialEq for ContentLink
Auto Trait Implementations§
impl Freeze for ContentLink
impl RefUnwindSafe for ContentLink
impl Send for ContentLink
impl Sync for ContentLink
impl Unpin for ContentLink
impl UnwindSafe for ContentLink
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