pub struct RepositionRequest {
pub guid: String,
pub position: i64,
}Expand description
RepositionRequest
JSON schema
{
"required": [
"guid",
"position"
],
"properties": {
"guid": {
"description": "The unique identifier for the goal. Defined by
MX.",
"examples": [
"GOL-97665947-235c-b213-ca25-8cf0174774f5"
],
"type": "string"
},
"position": {
"description": "The priority of the goal in relation to multiple
goals.",
"examples": [
1
],
"type": "integer"
}
}
}Fields§
§guid: StringThe unique identifier for the goal. Defined by MX.
position: i64The priority of the goal in relation to multiple goals.
Trait Implementations§
Source§impl Clone for RepositionRequest
impl Clone for RepositionRequest
Source§fn clone(&self) -> RepositionRequest
fn clone(&self) -> RepositionRequest
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 RepositionRequest
impl Debug for RepositionRequest
Source§impl<'de> Deserialize<'de> for RepositionRequest
impl<'de> Deserialize<'de> for RepositionRequest
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<&RepositionRequest> for RepositionRequest
impl From<&RepositionRequest> for RepositionRequest
Source§fn from(value: &RepositionRequest) -> Self
fn from(value: &RepositionRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RepositionRequest
impl RefUnwindSafe for RepositionRequest
impl Send for RepositionRequest
impl Sync for RepositionRequest
impl Unpin for RepositionRequest
impl UnwindSafe for RepositionRequest
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