pub struct ConstructMetadata {
pub visibility: Option<String>,
pub modifiers: Vec<String>,
pub parameters: Vec<Parameter>,
pub return_type: Option<String>,
pub inheritance: Vec<String>,
pub annotations: Vec<String>,
pub documentation: Option<String>,
}
Expand description
Metadata associated with a code construct
This struct contains additional information about code constructs such as visibility modifiers, parameters, return types, inheritance, and documentation.
Fields§
§visibility: Option<String>
§modifiers: Vec<String>
§parameters: Vec<Parameter>
§return_type: Option<String>
§inheritance: Vec<String>
§annotations: Vec<String>
§documentation: Option<String>
Trait Implementations§
Source§impl Clone for ConstructMetadata
impl Clone for ConstructMetadata
Source§fn clone(&self) -> ConstructMetadata
fn clone(&self) -> ConstructMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConstructMetadata
impl Debug for ConstructMetadata
Source§impl<'de> Deserialize<'de> for ConstructMetadata
impl<'de> Deserialize<'de> for ConstructMetadata
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 ConstructMetadata
impl RefUnwindSafe for ConstructMetadata
impl Send for ConstructMetadata
impl Sync for ConstructMetadata
impl Unpin for ConstructMetadata
impl UnwindSafe for ConstructMetadata
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