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