pub struct GetSubthemes<'s> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'s> BricksetRequest for GetSubthemes<'s>
impl<'s> BricksetRequest for GetSubthemes<'s>
Source§fn encode_query<T>(&self, query: &mut Serializer<'_, T>) -> Result<(), Error>where
T: Target,
fn encode_query<T>(&self, query: &mut Serializer<'_, T>) -> Result<(), Error>where
T: Target,
Encode method parameters via a URL serializer.
Source§fn method_name(&self) -> &'static str
fn method_name(&self) -> &'static str
The request’s method name.
Source§fn to_request_url(&self) -> Result<Url, Error>
fn to_request_url(&self) -> Result<Url, Error>
Create a URL representing the request. All request parameters will appear in the URL. Read more
Source§fn to_reqwest(&self, client: &Client) -> Result<Request, Error>
fn to_reqwest(&self, client: &Client) -> Result<Request, Error>
Build a
reqwest::Request from self. The resulting reqwest::Request will
always be a POST request with all method parameters encoded into the body, using
content type application/x-www-form-urlencoded.Source§impl<'s> Clone for GetSubthemes<'s>
impl<'s> Clone for GetSubthemes<'s>
Source§fn clone(&self) -> GetSubthemes<'s>
fn clone(&self) -> GetSubthemes<'s>
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 moreAuto Trait Implementations§
impl<'s> Freeze for GetSubthemes<'s>
impl<'s> RefUnwindSafe for GetSubthemes<'s>
impl<'s> Send for GetSubthemes<'s>
impl<'s> Sync for GetSubthemes<'s>
impl<'s> Unpin for GetSubthemes<'s>
impl<'s> UnsafeUnpin for GetSubthemes<'s>
impl<'s> UnwindSafe for GetSubthemes<'s>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more