pub struct AddAnnotationRequest {
pub key: String,
pub value: String,
}Expand description
AddAnnotationRequest
JSON schema
{
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
}
}Fields§
§key: String§value: StringImplementations§
Source§impl AddAnnotationRequest
impl AddAnnotationRequest
pub fn builder() -> AddAnnotationRequest
Trait Implementations§
Source§impl Clone for AddAnnotationRequest
impl Clone for AddAnnotationRequest
Source§fn clone(&self) -> AddAnnotationRequest
fn clone(&self) -> AddAnnotationRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddAnnotationRequest
impl Debug for AddAnnotationRequest
Source§impl<'de> Deserialize<'de> for AddAnnotationRequest
impl<'de> Deserialize<'de> for AddAnnotationRequest
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<AddAnnotationRequest> for AddAnnotationRequest
impl From<AddAnnotationRequest> for AddAnnotationRequest
Source§fn from(value: AddAnnotationRequest) -> Self
fn from(value: AddAnnotationRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for AddAnnotationRequest
impl Serialize for AddAnnotationRequest
Source§impl TryFrom<AddAnnotationRequest> for AddAnnotationRequest
impl TryFrom<AddAnnotationRequest> for AddAnnotationRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AddAnnotationRequest) -> Result<Self, ConversionError>
fn try_from(value: AddAnnotationRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AddAnnotationRequest
impl RefUnwindSafe for AddAnnotationRequest
impl Send for AddAnnotationRequest
impl Sync for AddAnnotationRequest
impl Unpin for AddAnnotationRequest
impl UnsafeUnpin for AddAnnotationRequest
impl UnwindSafe for AddAnnotationRequest
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