pub struct OptionResponse {
pub guid: Option<String>,
pub label: Option<String>,
pub value: Option<String>,
}Expand description
OptionResponse
JSON schema
{
"type": "object",
"properties": {
"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§
§guid: Option<String>§label: Option<String>§value: Option<String>Trait Implementations§
Source§impl Clone for OptionResponse
impl Clone for OptionResponse
Source§fn clone(&self) -> OptionResponse
fn clone(&self) -> OptionResponse
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 OptionResponse
impl Debug for OptionResponse
Source§impl Default for OptionResponse
impl Default for OptionResponse
Source§impl<'de> Deserialize<'de> for OptionResponse
impl<'de> Deserialize<'de> for OptionResponse
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<&OptionResponse> for OptionResponse
impl From<&OptionResponse> for OptionResponse
Source§fn from(value: &OptionResponse) -> Self
fn from(value: &OptionResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OptionResponse
impl RefUnwindSafe for OptionResponse
impl Send for OptionResponse
impl Sync for OptionResponse
impl Unpin for OptionResponse
impl UnwindSafe for OptionResponse
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