pub struct PromptListResult {
pub prompts: Vec<Prompt>,
pub next_cursor: Option<String>,
}Expand description
Result of listing prompts.
Fields§
§prompts: Vec<Prompt>List of prompts
next_cursor: Option<String>Pagination cursor for next page
Trait Implementations§
Source§impl Clone for PromptListResult
impl Clone for PromptListResult
Source§fn clone(&self) -> PromptListResult
fn clone(&self) -> PromptListResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptListResult
impl Debug for PromptListResult
Source§impl Default for PromptListResult
impl Default for PromptListResult
Source§fn default() -> PromptListResult
fn default() -> PromptListResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptListResult
impl<'de> Deserialize<'de> for PromptListResult
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 PromptListResult
impl RefUnwindSafe for PromptListResult
impl Send for PromptListResult
impl Sync for PromptListResult
impl Unpin for PromptListResult
impl UnwindSafe for PromptListResult
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