pub struct EndpointSuggestion {
pub method: String,
pub path: String,
pub description: String,
pub parameters: Vec<ParameterInfo>,
pub response_schema: Option<Value>,
pub reasoning: String,
}Expand description
Individual endpoint suggestion
Fields§
§method: StringHTTP method
path: StringPath
description: StringDescription
parameters: Vec<ParameterInfo>Suggested parameters
response_schema: Option<Value>Suggested response schema
reasoning: StringReasoning for this suggestion
Trait Implementations§
Source§impl Clone for EndpointSuggestion
impl Clone for EndpointSuggestion
Source§fn clone(&self) -> EndpointSuggestion
fn clone(&self) -> EndpointSuggestion
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 EndpointSuggestion
impl Debug for EndpointSuggestion
Source§impl<'de> Deserialize<'de> for EndpointSuggestion
impl<'de> Deserialize<'de> for EndpointSuggestion
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 EndpointSuggestion
impl RefUnwindSafe for EndpointSuggestion
impl Send for EndpointSuggestion
impl Sync for EndpointSuggestion
impl Unpin for EndpointSuggestion
impl UnsafeUnpin for EndpointSuggestion
impl UnwindSafe for EndpointSuggestion
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