pub struct VersionParameter {
pub location: HttpParameterLocation,
pub name: String,
}Expand description
The location and wire name declared by @version(in = ..., name = ...).
Fields§
§location: HttpParameterLocationWhere generated clients carry their module’s version value.
name: StringThe parameter’s name at that location.
Trait Implementations§
Source§impl Clone for VersionParameter
impl Clone for VersionParameter
Source§impl Debug for VersionParameter
impl Debug for VersionParameter
Source§impl<'de> Deserialize<'de> for VersionParameter
impl<'de> Deserialize<'de> for VersionParameter
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
impl Eq for VersionParameter
Source§impl PartialEq for VersionParameter
impl PartialEq for VersionParameter
Source§impl Serialize for VersionParameter
impl Serialize for VersionParameter
impl StructuralPartialEq for VersionParameter
Auto Trait Implementations§
impl Freeze for VersionParameter
impl RefUnwindSafe for VersionParameter
impl Send for VersionParameter
impl Sync for VersionParameter
impl Unpin for VersionParameter
impl UnsafeUnpin for VersionParameter
impl UnwindSafe for VersionParameter
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.