pub struct EntryPoint {
pub target: String,
pub kind: EntryPointKind,
pub doc: Option<String>,
}Expand description
Entry point definition
Keyed by a name the author chooses, holding the value it names, the kind of entry it is, and
an optional doc, which is written only when it is present.
Fields§
§target: StringThe entry point’s target, a canonical FQName string.
kind: EntryPointKind§doc: Option<String>Trait Implementations§
Source§impl Clone for EntryPoint
impl Clone for EntryPoint
Source§impl Debug for EntryPoint
impl Debug for EntryPoint
Source§impl<'de> Deserialize<'de> for EntryPoint
impl<'de> Deserialize<'de> for EntryPoint
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 EntryPoint
impl PartialEq for EntryPoint
Source§impl Serialize for EntryPoint
impl Serialize for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl Freeze for EntryPoint
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnsafeUnpin for EntryPoint
impl UnwindSafe for EntryPoint
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