pub struct VisualizeImageResponse
pub width: f64,
pub height: f64,
pub bg_color: i64,
pub image_data: ByteBuf,
pub info: HashMap<String, String>,
The response from the /visualize/image endpoint.
Fields
width: f64Value of width.
height: f64Value of height.
bg_color: i64Value of bg_color.
image_data: ByteBufGenerated image data.
info: HashMap<String, String>Additional information.
Trait Implementations
Source
impl Clone for VisualizeImageResponse
Source
fn clone(&self) -> VisualizeImageResponse
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 moreSource
impl Debug for VisualizeImageResponse
Source
impl Default for VisualizeImageResponse
Source
fn default() -> VisualizeImageResponse
Returns the “default value” for a type. Read more
Source
impl<‘de> Deserialize<‘de> for VisualizeImageResponse
Sourcefn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
fn deserialize<__D>(__deserializer: __D) ->Result<Self, __D::Error>
where __D: Deserializer<‘de>,
Deserialize this value from the given Serde deserializer. Read more
Source