pub struct IdResponse {
pub id: Uuid,
}Fields§
§id: UuidImplementations§
Source§impl IdResponse
impl IdResponse
pub fn new(id: Uuid) -> IdResponse
Trait Implementations§
Source§impl Clone for IdResponse
impl Clone for IdResponse
Source§fn clone(&self) -> IdResponse
fn clone(&self) -> IdResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IdResponse
impl Debug for IdResponse
Source§impl Default for IdResponse
impl Default for IdResponse
Source§fn default() -> IdResponse
fn default() -> IdResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdResponse
impl<'de> Deserialize<'de> for IdResponse
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 PartialEq for IdResponse
impl PartialEq for IdResponse
Source§fn eq(&self, other: &IdResponse) -> bool
fn eq(&self, other: &IdResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdResponse
impl Serialize for IdResponse
impl StructuralPartialEq for IdResponse
Auto Trait Implementations§
impl Freeze for IdResponse
impl RefUnwindSafe for IdResponse
impl Send for IdResponse
impl Sync for IdResponse
impl Unpin for IdResponse
impl UnsafeUnpin for IdResponse
impl UnwindSafe for IdResponse
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