pub struct AuthRefreshRequest {
pub refreshtoken: String,
}Fields§
§refreshtoken: StringImplementations§
Trait Implementations§
Source§impl ApiEndpoint for AuthRefreshRequest
impl ApiEndpoint for AuthRefreshRequest
const METHOD: ApiMethod = ApiMethod::POST
const INCLUDE: ApiInclude = ApiInclude::QUERY
const ENDPOINT: &'static str = "/v1/token/auth_refresh"
type Response = AuthRefreshResponse
type ResData = ()
fn extract(_response: Self::Response) -> Vec<Self::ResData>
fn parse_response(response: &str) -> Result<Self::Response, String>
Source§impl Clone for AuthRefreshRequest
impl Clone for AuthRefreshRequest
Source§fn clone(&self) -> AuthRefreshRequest
fn clone(&self) -> AuthRefreshRequest
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 Default for AuthRefreshRequest
impl Default for AuthRefreshRequest
Source§fn default() -> AuthRefreshRequest
fn default() -> AuthRefreshRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AuthRefreshRequest
impl RefUnwindSafe for AuthRefreshRequest
impl Send for AuthRefreshRequest
impl Sync for AuthRefreshRequest
impl Unpin for AuthRefreshRequest
impl UnwindSafe for AuthRefreshRequest
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