pub struct SimpleIdRequest {
pub id: u64,
}
Fields§
§id: u64
Implementations§
Source§impl SimpleIdRequest
impl SimpleIdRequest
pub fn new(id: u64) -> SimpleIdRequest
Trait Implementations§
Source§impl Clone for SimpleIdRequest
impl Clone for SimpleIdRequest
Source§fn clone(&self) -> SimpleIdRequest
fn clone(&self) -> SimpleIdRequest
Returns a copy 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 SimpleIdRequest
impl Debug for SimpleIdRequest
Source§impl<'de> Deserialize<'de> for SimpleIdRequest
impl<'de> Deserialize<'de> for SimpleIdRequest
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 FromStr for SimpleIdRequest
Converts Query Parameters representation (style=form, explode=false) to a SimpleIdRequest value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for SimpleIdRequest
Converts Query Parameters representation (style=form, explode=false) to a SimpleIdRequest value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for SimpleIdRequest
impl PartialEq for SimpleIdRequest
Source§impl Serialize for SimpleIdRequest
impl Serialize for SimpleIdRequest
Source§impl ToString for SimpleIdRequest
Converts the SimpleIdRequest value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for SimpleIdRequest
Converts the SimpleIdRequest value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
impl StructuralPartialEq for SimpleIdRequest
Auto Trait Implementations§
impl Freeze for SimpleIdRequest
impl RefUnwindSafe for SimpleIdRequest
impl Send for SimpleIdRequest
impl Sync for SimpleIdRequest
impl Unpin for SimpleIdRequest
impl UnwindSafe for SimpleIdRequest
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