pub enum EndpointPath {
Plain(String),
Structured {
path: String,
extra: HashMap<String, Value>,
},
}Expand description
Endpoint path can be a plain string or an object carrying a path field.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EndpointPath
impl Clone for EndpointPath
Source§fn clone(&self) -> EndpointPath
fn clone(&self) -> EndpointPath
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 EndpointPath
impl Debug for EndpointPath
Source§impl<'de> Deserialize<'de> for EndpointPath
impl<'de> Deserialize<'de> for EndpointPath
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
Auto Trait Implementations§
impl Freeze for EndpointPath
impl RefUnwindSafe for EndpointPath
impl Send for EndpointPath
impl Sync for EndpointPath
impl Unpin for EndpointPath
impl UnsafeUnpin for EndpointPath
impl UnwindSafe for EndpointPath
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