pub struct AbsentComponentProp {
pub path: PathBuf,
pub component_name: String,
pub framework: String,
pub prop_name: String,
pub line: u32,
pub col: u32,
pub has_default: bool,
pub inspected_call_sites: Vec<ComponentPropCallSite>,
pub explanation: String,
}Expand description
A used optional input that no inspected reachable caller supplies.
Fields§
§path: PathBufSource path of the input declaration.
component_name: StringSemantic declaration name, or SFC filename stem.
framework: StringPublic framework token.
prop_name: StringPublic optional input name.
line: u321-based declaration line.
col: u320-based declaration byte column.
has_default: boolWhether omission has a declared default.
inspected_call_sites: Vec<ComponentPropCallSite>Every inspected reachable caller, deterministically ordered.
explanation: StringManual-review meaning and limits of static evidence.
Trait Implementations§
Source§impl Clone for AbsentComponentProp
impl Clone for AbsentComponentProp
Source§impl Debug for AbsentComponentProp
impl Debug for AbsentComponentProp
Source§impl<'de> Deserialize<'de> for AbsentComponentProp
impl<'de> Deserialize<'de> for AbsentComponentProp
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 Forget for AbsentComponentProp
impl Freeze for AbsentComponentPropwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ComponentPropCallSite>: Freeze,
impl Move for AbsentComponentProp
impl RefUnwindSafe for AbsentComponentProp
impl Send for AbsentComponentPropwhere
RawVecInner: Send,
impl Sync for AbsentComponentPropwhere
RawVecInner: Sync,
impl Unpin for AbsentComponentProp
impl UnsafeUnpin for AbsentComponentPropwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ComponentPropCallSite>: UnsafeUnpin,
impl UnwindSafe for AbsentComponentPropwhere
RawVecInner: UnwindSafe,
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