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