pub enum OperationHttpPath {
Default,
}Expand description
Enum representing possible HTTP paths that can be used in API operations.
This enum provides a type - safe way to specify the HTTP path for an API request.
Currently, it only includes the Default path, which maps to the root path (“/”).
The Debug derive allows for easy debugging by providing a default implementation
of the fmt::Debug trait, which enables printing the enum variants in a readable format.
The Clone derive allows for creating copies of the enum values when needed.
Variants§
Default
Represents the default HTTP path, which is the root path (“/”). This is typically used when no specific path is required for an API request.
Trait Implementations§
Source§impl Clone for OperationHttpPath
impl Clone for OperationHttpPath
Source§fn clone(&self) -> OperationHttpPath
fn clone(&self) -> OperationHttpPath
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OperationHttpPath
impl Debug for OperationHttpPath
Source§impl Default for OperationHttpPath
Implementation of the Default trait for the OperationHttpPath enum.
This provides a default value for the OperationHttpPath type.
impl Default for OperationHttpPath
Implementation of the Default trait for the OperationHttpPath enum.
This provides a default value for the OperationHttpPath type.
Source§impl ToString for OperationHttpPath
Implementation of the ToString trait for the OperationHttpPath enum.
This allows converting an instance of OperationHttpPath into a string representation.
impl ToString for OperationHttpPath
Implementation of the ToString trait for the OperationHttpPath enum.
This allows converting an instance of OperationHttpPath into a string representation.
Auto Trait Implementations§
impl Freeze for OperationHttpPath
impl RefUnwindSafe for OperationHttpPath
impl Send for OperationHttpPath
impl Sync for OperationHttpPath
impl Unpin for OperationHttpPath
impl UnwindSafe for OperationHttpPath
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request