pub struct PairApiKeyResponse {
pub id: Uuid,
pub callback_handler: Option<CallbackHandlerRequest>,
}
Fields§
§id: Uuid
The unique identifier of the API key
callback_handler: Option<CallbackHandlerRequest>
Implementations§
Source§impl PairApiKeyResponse
impl PairApiKeyResponse
pub fn new(id: Uuid) -> PairApiKeyResponse
Trait Implementations§
Source§impl Clone for PairApiKeyResponse
impl Clone for PairApiKeyResponse
Source§fn clone(&self) -> PairApiKeyResponse
fn clone(&self) -> PairApiKeyResponse
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 PairApiKeyResponse
impl Debug for PairApiKeyResponse
Source§impl Default for PairApiKeyResponse
impl Default for PairApiKeyResponse
Source§fn default() -> PairApiKeyResponse
fn default() -> PairApiKeyResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PairApiKeyResponse
impl<'de> Deserialize<'de> for PairApiKeyResponse
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 PairApiKeyResponse
impl PartialEq for PairApiKeyResponse
Source§impl Serialize for PairApiKeyResponse
impl Serialize for PairApiKeyResponse
impl StructuralPartialEq for PairApiKeyResponse
Auto Trait Implementations§
impl Freeze for PairApiKeyResponse
impl RefUnwindSafe for PairApiKeyResponse
impl Send for PairApiKeyResponse
impl Sync for PairApiKeyResponse
impl Unpin for PairApiKeyResponse
impl UnwindSafe for PairApiKeyResponse
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