#[non_exhaustive]pub struct CodeCallersInput {Show 20 fields
pub include_lessons: Option<bool>,
pub lesson_namespaces: Option<Vec<String>>,
pub pr_files: Option<HashMap<String, String>>,
pub pr_diff: Option<String>,
pub pr_head_sha: Option<String>,
pub pr_base_sha: Option<String>,
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub consumer: Option<String>,
pub name: Option<String>,
pub symbol_id: Option<String>,
pub depth: Option<Integer>,
pub max_nodes: Option<Integer>,
pub min_confidence: Option<f64>,
pub include_ambiguous: Option<Option<bool>>,
pub candidate_min_confidence: Option<Option<f64>>,
pub pr_number: Option<Integer>,
pub edge_kinds: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_lessons: Option<bool>§lesson_namespaces: Option<Vec<String>>§pr_files: Option<HashMap<String, String>>§pr_diff: Option<String>§pr_head_sha: Option<String>§pr_base_sha: Option<String>§org: Option<String>§namespace: Option<String>§agent: Option<String>§user_id: Option<String>§consumer: Option<String>§name: Option<String>§symbol_id: Option<String>§depth: Option<Integer>§max_nodes: Option<Integer>§min_confidence: Option<f64>§include_ambiguous: Option<Option<bool>>§candidate_min_confidence: Option<Option<f64>>§pr_number: Option<Integer>§edge_kinds: Option<Vec<String>>Implementations§
Source§impl CodeCallersInput
impl CodeCallersInput
pub fn new() -> Self
pub fn include_lessons(self, include_lessons: bool) -> Self
pub fn lesson_namespaces( self, lesson_namespaces: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn pr_files(self, pr_files: HashMap<String, String>) -> Self
pub fn pr_diff(self, pr_diff: impl Into<String>) -> Self
pub fn pr_head_sha(self, pr_head_sha: impl Into<String>) -> Self
pub fn pr_base_sha(self, pr_base_sha: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn user_id(self, user_id: impl Into<String>) -> Self
pub fn consumer(self, consumer: impl Into<String>) -> Self
pub fn name(self, name: impl Into<String>) -> Self
pub fn symbol_id(self, symbol_id: impl Into<String>) -> Self
pub fn depth(self, depth: impl Into<Integer>) -> Self
pub fn max_nodes(self, max_nodes: impl Into<Integer>) -> Self
pub fn min_confidence(self, min_confidence: f64) -> Self
pub fn include_ambiguous(self, include_ambiguous: bool) -> Self
pub fn include_ambiguous_null(self) -> Self
pub fn candidate_min_confidence(self, candidate_min_confidence: f64) -> Self
pub fn candidate_min_confidence_null(self) -> Self
pub fn pr_number(self, pr_number: impl Into<Integer>) -> Self
pub fn edge_kinds( self, edge_kinds: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<CodeCallersOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for CodeCallersInput
impl Clone for CodeCallersInput
Source§impl Debug for CodeCallersInput
impl Debug for CodeCallersInput
Source§impl Default for CodeCallersInput
impl Default for CodeCallersInput
Source§impl<'de> Deserialize<'de> for CodeCallersInput
impl<'de> Deserialize<'de> for CodeCallersInput
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 CodeCallersInput
impl PartialEq for CodeCallersInput
Source§impl Serialize for CodeCallersInput
impl Serialize for CodeCallersInput
impl StructuralPartialEq for CodeCallersInput
Auto Trait Implementations§
impl Forget for CodeCallersInput
impl Freeze for CodeCallersInput
impl Move for CodeCallersInput
impl RefUnwindSafe for CodeCallersInput
impl Send for CodeCallersInput
impl Sync for CodeCallersInput
impl Unpin for CodeCallersInput
impl UnsafeUnpin for CodeCallersInput
impl UnwindSafe for CodeCallersInput
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