pub struct ShutdownProcess {}
Expand description
REST API Endpoint for the shutdown-process call
Implementations§
Source§impl ShutdownProcess
impl ShutdownProcess
Sourcepub fn builder() -> ShutdownProcessBuilder
pub fn builder() -> ShutdownProcessBuilder
create a new builder for this endpoint
this is usually the first step to calling this REST API endpoint
Trait Implementations§
Source§impl Clone for ShutdownProcess
impl Clone for ShutdownProcess
Source§fn clone(&self) -> ShutdownProcess
fn clone(&self) -> ShutdownProcess
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 ShutdownProcess
impl Debug for ShutdownProcess
Source§impl<'de> Deserialize<'de> for ShutdownProcess
impl<'de> Deserialize<'de> for ShutdownProcess
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 RestApiEndpoint for ShutdownProcess
impl RestApiEndpoint for ShutdownProcess
Source§type RequestBody = ShutdownProcess
type RequestBody = ShutdownProcess
the type of the request body
Source§fn url(&self, base_url: &Url) -> Result<Url, Error>
fn url(&self, base_url: &Url) -> Result<Url, Error>
returns the URL to use for the request based on the base URL passed in
as a parameter Read more
Source§fn request_body(&self) -> Result<Option<Cow<'_, Self::RequestBody>>, Error>
fn request_body(&self) -> Result<Option<Cow<'_, Self::RequestBody>>, Error>
the request body which must be a JSON serializable type Read more
Source§impl Serialize for ShutdownProcess
impl Serialize for ShutdownProcess
impl RestApiResponse<ShutdownProcess> for ResultsWrapper<StatusResponse>
Auto Trait Implementations§
impl Freeze for ShutdownProcess
impl RefUnwindSafe for ShutdownProcess
impl Send for ShutdownProcess
impl Sync for ShutdownProcess
impl Unpin for ShutdownProcess
impl UnwindSafe for ShutdownProcess
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