pub struct VisionContext {
pub installation_type: Option<String>,
pub phase: Option<String>,
pub expected_items: Option<Vec<String>>,
}Expand description
Domain context for relevance analysis.
Fields§
§installation_type: Option<String>Installation type (e.g. “solar”, “heat_pump”, “ev_charger”).
phase: Option<String>Phase (e.g. “pre_install”, “installation”, “post_install”).
expected_items: Option<Vec<String>>Expected items for relevance checking.
Trait Implementations§
Source§impl Clone for VisionContext
impl Clone for VisionContext
Source§fn clone(&self) -> VisionContext
fn clone(&self) -> VisionContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VisionContext
impl Debug for VisionContext
Source§impl Default for VisionContext
impl Default for VisionContext
Source§fn default() -> VisionContext
fn default() -> VisionContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VisionContext
impl<'de> Deserialize<'de> for VisionContext
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 VisionContext
impl RefUnwindSafe for VisionContext
impl Send for VisionContext
impl Sync for VisionContext
impl Unpin for VisionContext
impl UnsafeUnpin for VisionContext
impl UnwindSafe for VisionContext
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