pub struct SuggestionMetadata {
pub endpoint_count: usize,
pub detected_domain: Option<String>,
pub timestamp: String,
pub model: String,
}Expand description
Metadata about the suggestion generation
Fields§
§endpoint_count: usizeNumber of endpoints generated
detected_domain: Option<String>Detected API domain/category
timestamp: StringGeneration timestamp
model: StringModel used
Trait Implementations§
Source§impl Clone for SuggestionMetadata
impl Clone for SuggestionMetadata
Source§fn clone(&self) -> SuggestionMetadata
fn clone(&self) -> SuggestionMetadata
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 SuggestionMetadata
impl Debug for SuggestionMetadata
Source§impl<'de> Deserialize<'de> for SuggestionMetadata
impl<'de> Deserialize<'de> for SuggestionMetadata
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 SuggestionMetadata
impl RefUnwindSafe for SuggestionMetadata
impl Send for SuggestionMetadata
impl Sync for SuggestionMetadata
impl Unpin for SuggestionMetadata
impl UnsafeUnpin for SuggestionMetadata
impl UnwindSafe for SuggestionMetadata
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