pub struct GetLatestSettingsTemplate { /* private fields */ }
Expand description
Get the latest Settings template.
This requires authentication.
Makes a request to GET /settings/template
.
Implementations§
Source§impl GetLatestSettingsTemplate
impl GetLatestSettingsTemplate
Sourcepub async fn send(&self) -> UserSettingsTemplateResponse
pub async fn send(&self) -> UserSettingsTemplateResponse
Send the request.
Trait Implementations§
Source§impl Clone for GetLatestSettingsTemplate
impl Clone for GetLatestSettingsTemplate
Source§fn clone(&self) -> GetLatestSettingsTemplate
fn clone(&self) -> GetLatestSettingsTemplate
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 GetLatestSettingsTemplate
impl Debug for GetLatestSettingsTemplate
Source§impl Endpoint for GetLatestSettingsTemplate
impl Endpoint for GetLatestSettingsTemplate
Source§type Response = Result<ApiData<ApiObject<UserSettingsTemplateAttributes>>, Error>
type Response = Result<ApiData<ApiObject<UserSettingsTemplateAttributes>>, Error>
The response type.
Source§fn require_auth(&self) -> bool
fn require_auth(&self) -> bool
Get whether auth is required for this request.
type Query = ()
type Body = ()
fn query(&self) -> Option<&Self::Query>
fn body(&self) -> Option<&Self::Body>
fn multipart(&self) -> Option<Form>
Auto Trait Implementations§
impl Freeze for GetLatestSettingsTemplate
impl !RefUnwindSafe for GetLatestSettingsTemplate
impl !Send for GetLatestSettingsTemplate
impl !Sync for GetLatestSettingsTemplate
impl Unpin for GetLatestSettingsTemplate
impl !UnwindSafe for GetLatestSettingsTemplate
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