Struct ipv4_heatmap::annotations::Annotation
source · [−]pub struct Annotation {
cidr: String,
border_color: Option<String>,
fill_color: Option<String>,
label: Option<String>,
label_color: Option<String>,
label_font: Option<String>,
display_prefix: Option<bool>,
prefix_color: Option<String>,
}
Expand description
Deserialization structure for the annotation JSON object
Fields
cidr: String
border_color: Option<String>
fill_color: Option<String>
label: Option<String>
label_color: Option<String>
label_font: Option<String>
display_prefix: Option<bool>
prefix_color: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more