pub struct WhyNotRequestModel {
pub memory_id: Box<MemoryId1>,
pub query: String,
pub namespace: Option<Option<String>>,
}Expand description
WhyNotRequestModel : Request model for counterfactual retrieval explanation.
Fields§
§memory_id: Box<MemoryId1>§query: String§namespace: Option<Option<String>>Implementations§
Source§impl WhyNotRequestModel
impl WhyNotRequestModel
Sourcepub fn new(memory_id: MemoryId1, query: String) -> WhyNotRequestModel
pub fn new(memory_id: MemoryId1, query: String) -> WhyNotRequestModel
Request model for counterfactual retrieval explanation.
Trait Implementations§
Source§impl Clone for WhyNotRequestModel
impl Clone for WhyNotRequestModel
Source§impl Debug for WhyNotRequestModel
impl Debug for WhyNotRequestModel
Source§impl Default for WhyNotRequestModel
impl Default for WhyNotRequestModel
Source§impl<'de> Deserialize<'de> for WhyNotRequestModel
impl<'de> Deserialize<'de> for WhyNotRequestModel
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 WhyNotRequestModel
impl PartialEq for WhyNotRequestModel
Source§impl Serialize for WhyNotRequestModel
impl Serialize for WhyNotRequestModel
impl StructuralPartialEq for WhyNotRequestModel
Auto Trait Implementations§
impl Freeze for WhyNotRequestModel
impl RefUnwindSafe for WhyNotRequestModel
impl Send for WhyNotRequestModel
impl Sync for WhyNotRequestModel
impl Unpin for WhyNotRequestModel
impl UnsafeUnpin for WhyNotRequestModel
impl UnwindSafe for WhyNotRequestModel
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