Struct balena_cdsl::dsl::schema::Annotations
source · pub struct Annotations {
pub title: Option<String>,
pub help: Option<String>,
pub warning: Option<String>,
pub description: Option<String>,
}
Expand description
Represents SchemaAnnotations
from the spec minus the default
keyword, that lives in the object bounds information
Fields§
§title: Option<String>
§help: Option<String>
§warning: Option<String>
§description: Option<String>
Trait Implementations§
source§impl Clone for Annotations
impl Clone for Annotations
source§fn clone(&self) -> Annotations
fn clone(&self) -> Annotations
Returns a copy 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 Annotations
impl Debug for Annotations
source§impl Default for Annotations
impl Default for Annotations
source§fn default() -> Annotations
fn default() -> Annotations
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Annotations
impl<'de> Deserialize<'de> for Annotations
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