pub struct EntrypointParam {
pub name: String,
pub annotation: String,
pub optional: bool,
}Expand description
One parameter extracted from a direct functional entrypoint.
Fields§
§name: StringParameter name in source order.
annotation: StringType annotation text as written.
optional: boolWhether the parameter is syntactically optional.
Trait Implementations§
Source§impl Clone for EntrypointParam
impl Clone for EntrypointParam
Source§fn clone(&self) -> EntrypointParam
fn clone(&self) -> EntrypointParam
Returns a duplicate 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 EntrypointParam
impl Debug for EntrypointParam
Source§impl PartialEq for EntrypointParam
impl PartialEq for EntrypointParam
impl Eq for EntrypointParam
impl StructuralPartialEq for EntrypointParam
Auto Trait Implementations§
impl Freeze for EntrypointParam
impl RefUnwindSafe for EntrypointParam
impl Send for EntrypointParam
impl Sync for EntrypointParam
impl Unpin for EntrypointParam
impl UnsafeUnpin for EntrypointParam
impl UnwindSafe for EntrypointParam
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