Struct imageflow_types::Response001
[−]
[src]
pub struct Response001 {
pub code: i64,
pub success: bool,
pub message: Option<String>,
pub data: ResponsePayload,
}Fields
code: i64
success: bool
message: Option<String>
data: ResponsePayload
Methods
impl Response001[src]
fn example_error() -> Response001
fn example_ok() -> Response001
fn example_job_result_encoded(io_id: i32,
w: i32,
h: i32,
mime: &'static str,
ext: &'static str)
-> Response001
w: i32,
h: i32,
mime: &'static str,
ext: &'static str)
-> Response001
fn example_image_info() -> Response001
Trait Implementations
impl Clone for Response001[src]
fn clone(&self) -> Response001
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for Response001[src]
fn eq(&self, __arg_0: &Response001) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Response001) -> bool
This method tests for !=.