Struct instruct_macros_types::StructInfo
source · pub struct StructInfo {
pub name: String,
pub description: String,
pub parameters: Vec<ParameterInfo>,
}
Fields§
§name: String
§description: String
§parameters: Vec<ParameterInfo>
Trait Implementations§
source§impl Clone for StructInfo
impl Clone for StructInfo
source§fn clone(&self) -> StructInfo
fn clone(&self) -> StructInfo
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 StructInfo
impl Debug for StructInfo
source§impl<'de> Deserialize<'de> for StructInfo
impl<'de> Deserialize<'de> for StructInfo
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
source§impl PartialEq for StructInfo
impl PartialEq for StructInfo
source§fn eq(&self, other: &StructInfo) -> bool
fn eq(&self, other: &StructInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StructInfo
impl Serialize for StructInfo
impl StructuralPartialEq for StructInfo
Auto Trait Implementations§
impl Freeze for StructInfo
impl RefUnwindSafe for StructInfo
impl Send for StructInfo
impl Sync for StructInfo
impl Unpin for StructInfo
impl UnwindSafe for StructInfo
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