pub struct PromptMeta {
pub name: String,
pub versions: Vec<i32>,
pub labels: Vec<String>,
pub tags: Vec<String>,
pub last_updated_at: String,
pub last_config: Option<Value>,
}Fields§
§name: String§versions: Vec<i32>§labels: Vec<String>§last_updated_at: String§last_config: Option<Value>Config object of the most recent prompt version that matches the filters (if any are provided)
Implementations§
Trait Implementations§
Source§impl Clone for PromptMeta
impl Clone for PromptMeta
Source§fn clone(&self) -> PromptMeta
fn clone(&self) -> PromptMeta
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 PromptMeta
impl Debug for PromptMeta
Source§impl Default for PromptMeta
impl Default for PromptMeta
Source§fn default() -> PromptMeta
fn default() -> PromptMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptMeta
impl<'de> Deserialize<'de> for PromptMeta
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 PromptMeta
impl PartialEq for PromptMeta
Source§impl Serialize for PromptMeta
impl Serialize for PromptMeta
impl StructuralPartialEq for PromptMeta
Auto Trait Implementations§
impl Freeze for PromptMeta
impl RefUnwindSafe for PromptMeta
impl Send for PromptMeta
impl Sync for PromptMeta
impl Unpin for PromptMeta
impl UnwindSafe for PromptMeta
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