pub struct GetSettingsTemplateByVersionId {
pub version: Uuid,
/* private fields */
}
Expand description
Get a Settings template by version ID.
This requires authentication.
Makes a request to GET /settings/template/{version}
.
Fields§
§version: Uuid
Implementations§
Source§impl GetSettingsTemplateByVersionId
impl GetSettingsTemplateByVersionId
Sourcepub async fn send(&self) -> UserSettingsTemplateResponse
pub async fn send(&self) -> UserSettingsTemplateResponse
Send the request.
Trait Implementations§
Source§impl Clone for GetSettingsTemplateByVersionId
impl Clone for GetSettingsTemplateByVersionId
Source§fn clone(&self) -> GetSettingsTemplateByVersionId
fn clone(&self) -> GetSettingsTemplateByVersionId
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 Endpoint for GetSettingsTemplateByVersionId
impl Endpoint for GetSettingsTemplateByVersionId
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 GetSettingsTemplateByVersionId
impl !RefUnwindSafe for GetSettingsTemplateByVersionId
impl !Send for GetSettingsTemplateByVersionId
impl !Sync for GetSettingsTemplateByVersionId
impl Unpin for GetSettingsTemplateByVersionId
impl !UnwindSafe for GetSettingsTemplateByVersionId
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