pub struct SemanticFunction {
pub id: SymbolId,
pub name: String,
pub path: String,
pub description: String,
pub deprecation_note: Option<String>,
pub input_type: Option<SymbolId>,
pub input_headers: Option<SymbolId>,
pub output_type: SemanticOutputType,
pub error_type: Option<SymbolId>,
pub serialization: Vec<SerializationMode>,
pub readonly: bool,
pub tags: BTreeSet<String>,
}Expand description
Fully resolved function definition
Fields§
§id: SymbolId§name: String§path: String§description: String§deprecation_note: Option<String>§input_type: Option<SymbolId>Resolved type references (no dangling pointers)
input_headers: Option<SymbolId>§output_type: SemanticOutputType§error_type: Option<SymbolId>§serialization: Vec<SerializationMode>§readonly: boolTrait Implementations§
Source§impl Clone for SemanticFunction
impl Clone for SemanticFunction
Source§fn clone(&self) -> SemanticFunction
fn clone(&self) -> SemanticFunction
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 SemanticFunction
impl Debug for SemanticFunction
Source§impl PartialEq for SemanticFunction
impl PartialEq for SemanticFunction
Source§fn eq(&self, other: &SemanticFunction) -> bool
fn eq(&self, other: &SemanticFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticFunction
impl StructuralPartialEq for SemanticFunction
Auto Trait Implementations§
impl Freeze for SemanticFunction
impl RefUnwindSafe for SemanticFunction
impl Send for SemanticFunction
impl Sync for SemanticFunction
impl Unpin for SemanticFunction
impl UnsafeUnpin for SemanticFunction
impl UnwindSafe for SemanticFunction
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