pub struct RecentPromptsParams {
pub scope: HistoryScope,
}Expand description
Parameters for listing recent cross-session prompts.
Fields§
§scope: HistoryScopeWhich sessions contribute; omitted scopes to the current project.
Trait Implementations§
Source§impl Clone for RecentPromptsParams
impl Clone for RecentPromptsParams
Source§impl Debug for RecentPromptsParams
impl Debug for RecentPromptsParams
Source§impl<'de> Deserialize<'de> for RecentPromptsParams
impl<'de> Deserialize<'de> for RecentPromptsParams
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
impl Eq for RecentPromptsParams
Source§impl PartialEq for RecentPromptsParams
impl PartialEq for RecentPromptsParams
Source§impl Serialize for RecentPromptsParams
impl Serialize for RecentPromptsParams
impl StructuralPartialEq for RecentPromptsParams
Auto Trait Implementations§
impl Forget for RecentPromptsParams
impl Freeze for RecentPromptsParams
impl RefUnwindSafe for RecentPromptsParams
impl Send for RecentPromptsParams
impl Sync for RecentPromptsParams
impl Unpin for RecentPromptsParams
impl UnsafeUnpin for RecentPromptsParams
impl UnwindSafe for RecentPromptsParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.