Struct reflectapi::TypeParameter
source · pub struct TypeParameter {
pub name: String,
pub description: String,
}
Fields§
§name: String
§description: String
Implementations§
source§impl TypeParameter
impl TypeParameter
Trait Implementations§
source§impl Clone for TypeParameter
impl Clone for TypeParameter
source§fn clone(&self) -> TypeParameter
fn clone(&self) -> TypeParameter
Returns a copy 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 TypeParameter
impl Debug for TypeParameter
source§impl<'de> Deserialize<'de> for TypeParameter
impl<'de> Deserialize<'de> for TypeParameter
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TypeParameter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TypeParameter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&str> for TypeParameter
impl From<&str> for TypeParameter
source§fn from(name: &str) -> TypeParameter
fn from(name: &str) -> TypeParameter
Converts to this type from the input type.
source§impl From<String> for TypeParameter
impl From<String> for TypeParameter
source§fn from(name: String) -> TypeParameter
fn from(name: String) -> TypeParameter
Converts to this type from the input type.
source§impl Hash for TypeParameter
impl Hash for TypeParameter
source§impl PartialEq for TypeParameter
impl PartialEq for TypeParameter
source§fn eq(&self, other: &TypeParameter) -> bool
fn eq(&self, other: &TypeParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TypeParameter
impl Serialize for TypeParameter
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TypeParameter
Auto Trait Implementations§
impl Freeze for TypeParameter
impl RefUnwindSafe for TypeParameter
impl Send for TypeParameter
impl Sync for TypeParameter
impl Unpin for TypeParameter
impl UnwindSafe for TypeParameter
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