#[non_exhaustive]pub struct TrackerDuplicateCheckInput {Show 16 fields
pub org: Option<String>,
pub namespace: Option<String>,
pub title: Option<String>,
pub body: Option<String>,
pub frames: Option<Vec<String>>,
pub component: Option<String>,
pub version: Option<String>,
pub mentions: Option<Vec<Integer>>,
pub paths: Option<Vec<String>>,
pub symbols: Option<Vec<String>>,
pub issue_number: Option<Integer>,
pub top_k: Option<Integer>,
pub as_of: Option<String>,
pub namespaces: Option<Vec<String>>,
pub related_prs: Option<bool>,
pub rerank: Option<bool>,
}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.org: Option<String>§namespace: Option<String>§title: Option<String>§body: Option<String>§frames: Option<Vec<String>>§component: Option<String>§version: Option<String>§mentions: Option<Vec<Integer>>§paths: Option<Vec<String>>§symbols: Option<Vec<String>>§issue_number: Option<Integer>§top_k: Option<Integer>§as_of: Option<String>§namespaces: Option<Vec<String>>§rerank: Option<bool>Implementations§
Source§impl TrackerDuplicateCheckInput
impl TrackerDuplicateCheckInput
pub fn new() -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn body(self, body: impl Into<String>) -> Self
pub fn frames(self, frames: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn component(self, component: impl Into<String>) -> Self
pub fn version(self, version: impl Into<String>) -> Self
pub fn mentions(self, mentions: Vec<Integer>) -> Self
pub fn paths(self, paths: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn symbols( self, symbols: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn issue_number(self, issue_number: impl Into<Integer>) -> Self
pub fn top_k(self, top_k: impl Into<Integer>) -> Self
pub fn as_of(self, as_of: impl Into<String>) -> Self
pub fn namespaces( self, namespaces: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn rerank(self, rerank: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<TrackerDuplicateCheckOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for TrackerDuplicateCheckInput
impl Clone for TrackerDuplicateCheckInput
Source§impl Debug for TrackerDuplicateCheckInput
impl Debug for TrackerDuplicateCheckInput
Source§impl Default for TrackerDuplicateCheckInput
impl Default for TrackerDuplicateCheckInput
Source§impl<'de> Deserialize<'de> for TrackerDuplicateCheckInput
impl<'de> Deserialize<'de> for TrackerDuplicateCheckInput
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
impl StructuralPartialEq for TrackerDuplicateCheckInput
Auto Trait Implementations§
impl Forget for TrackerDuplicateCheckInput
impl Freeze for TrackerDuplicateCheckInput
impl Move for TrackerDuplicateCheckInput
impl RefUnwindSafe for TrackerDuplicateCheckInput
impl Send for TrackerDuplicateCheckInput
impl Sync for TrackerDuplicateCheckInput
impl Unpin for TrackerDuplicateCheckInput
impl UnsafeUnpin for TrackerDuplicateCheckInput
impl UnwindSafe for TrackerDuplicateCheckInput
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