pub struct ImageOptionResponse {
pub data_uri: Option<String>,
pub guid: Option<String>,
pub label: Option<String>,
pub value: Option<String>,
}Expand description
ImageOptionResponse
JSON schema
{
"type": "object",
"properties": {
"data_uri": {
"examples": [
"data:image/png;base64,iVBORw0KGgoAAAANSUh ... more image data
..."
],
"type": [
"string",
"null"
]
},
"guid": {
"examples": [
"CRD-ce76d2e3-86bd-ec4a-ec52-eb53b5194bf5"
],
"type": [
"string",
"null"
]
},
"label": {
"examples": [
"IMAGE_1"
],
"type": [
"string",
"null"
]
},
"value": {
"examples": [
"image_data"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§data_uri: Option<String>§guid: Option<String>§label: Option<String>§value: Option<String>Trait Implementations§
Source§impl Clone for ImageOptionResponse
impl Clone for ImageOptionResponse
Source§fn clone(&self) -> ImageOptionResponse
fn clone(&self) -> ImageOptionResponse
Returns a duplicate 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 ImageOptionResponse
impl Debug for ImageOptionResponse
Source§impl Default for ImageOptionResponse
impl Default for ImageOptionResponse
Source§impl<'de> Deserialize<'de> for ImageOptionResponse
impl<'de> Deserialize<'de> for ImageOptionResponse
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
Source§impl From<&ImageOptionResponse> for ImageOptionResponse
impl From<&ImageOptionResponse> for ImageOptionResponse
Source§fn from(value: &ImageOptionResponse) -> Self
fn from(value: &ImageOptionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ImageOptionResponse
impl RefUnwindSafe for ImageOptionResponse
impl Send for ImageOptionResponse
impl Sync for ImageOptionResponse
impl Unpin for ImageOptionResponse
impl UnwindSafe for ImageOptionResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more