Struct prc::param::ParamStruct [−][src]
A list of key-value pairs of params. Acts essentially like a hash-map, but is presented in list form to preserve key order, as well as to handle rare cases where a key may be duplicated. Keys are hashed strings, represented by the Hash40 type.
Trait Implementations
impl Clone for ParamStruct
[src]
fn clone(&self) -> ParamStruct
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ParamStruct
[src]
impl Default for ParamStruct
[src]
fn default() -> ParamStruct
[src]
impl<'de> Deserialize<'de> for ParamStruct
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<ParamStruct> for ParamKind
[src]
fn from(v: ParamStruct) -> ParamKind
[src]
impl PartialEq<ParamStruct> for ParamStruct
[src]
fn eq(&self, other: &ParamStruct) -> bool
[src]
fn ne(&self, other: &ParamStruct) -> bool
[src]
impl Serialize for ParamStruct
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ParamStruct
[src]
impl<'a> TryFrom<&'a ParamKind> for &'a ParamStruct
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(param: &'a ParamKind) -> Result<Self, Self::Error>
[src]
impl<'a> TryFrom<&'a mut ParamKind> for &'a mut ParamStruct
[src]
type Error = &'static str
The type returned in the event of a conversion error.
fn try_from(param: &'a mut ParamKind) -> Result<Self, Self::Error>
[src]
impl TryFrom<ParamKind> for ParamStruct
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParamStruct
[src]
impl Send for ParamStruct
[src]
impl Sync for ParamStruct
[src]
impl Unpin for ParamStruct
[src]
impl UnwindSafe for ParamStruct
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,