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