Skip to main content
pub struct VisualizeImageHeatmapResponse 
    pub width: i32,
    pub height: i32,
    pub bg_color: i64,
    pub image_data: ByteBuf,
    pub info: HashMap<String, String>,

The response from the /visualize/image/heatmap endpoint.

The heatmap image is contained in the image_data field.

Fields

width: i32

Width of the image as provided in width.

height: i32

Height of the image as provided in height.

bg_color: i64

Background color of the image as provided in bg_color.

image_data: ByteBuf

Generated heatmap image data.

info: HashMap<String, String>

Additional information.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Source

fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,

Deserialize this value from the given Serde deserializer. Read more
Source

fn serialize<__S>(&self, __serializer: __S) ->Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more