#[non_exhaustive]pub struct CodeBisectCandidatesInput {Show 23 fields
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub consumer: Option<String>,
pub symbols: Option<Vec<String>>,
pub paths: Option<Vec<String>>,
pub patterns: Option<Vec<String>>,
pub issue_number: Option<Integer>,
pub text: Option<String>,
pub rerank: Option<bool>,
pub deadline_ms: Option<Option<Integer>>,
pub fix_pr: Option<Integer>,
pub bad_version: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub bad_sha: Option<String>,
pub good_version: Option<String>,
pub widen_to_directories: Option<bool>,
pub wideners: Option<Vec<String>>,
pub rescan: Option<bool>,
pub limit: Option<Integer>,
pub marks: 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>§agent: Option<String>§user_id: Option<String>§consumer: Option<String>§symbols: Option<Vec<String>>§paths: Option<Vec<String>>§patterns: Option<Vec<String>>§issue_number: Option<Integer>§text: Option<String>§rerank: Option<bool>§deadline_ms: Option<Option<Integer>>§fix_pr: Option<Integer>§bad_version: Option<String>§before: Option<String>§after: Option<String>§bad_sha: Option<String>§good_version: Option<String>§widen_to_directories: Option<bool>§wideners: Option<Vec<String>>§rescan: Option<bool>§limit: Option<Integer>§marks: Option<bool>Implementations§
Source§impl CodeBisectCandidatesInput
impl CodeBisectCandidatesInput
pub fn new() -> 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 symbols( self, symbols: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn paths(self, paths: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn patterns( self, patterns: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn issue_number(self, issue_number: impl Into<Integer>) -> Self
pub fn text(self, text: impl Into<String>) -> Self
pub fn rerank(self, rerank: bool) -> Self
pub fn deadline_ms(self, deadline_ms: impl Into<Integer>) -> Self
pub fn deadline_ms_null(self) -> Self
pub fn fix_pr(self, fix_pr: impl Into<Integer>) -> Self
pub fn bad_version(self, bad_version: impl Into<String>) -> Self
pub fn before(self, before: impl Into<String>) -> Self
pub fn after(self, after: impl Into<String>) -> Self
pub fn bad_sha(self, bad_sha: impl Into<String>) -> Self
pub fn good_version(self, good_version: impl Into<String>) -> Self
pub fn widen_to_directories(self, widen_to_directories: bool) -> Self
pub fn wideners( self, wideners: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn rescan(self, rescan: bool) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn marks(self, marks: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<CodeBisectCandidatesOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for CodeBisectCandidatesInput
impl Clone for CodeBisectCandidatesInput
Source§impl Debug for CodeBisectCandidatesInput
impl Debug for CodeBisectCandidatesInput
Source§impl Default for CodeBisectCandidatesInput
impl Default for CodeBisectCandidatesInput
Source§impl<'de> Deserialize<'de> for CodeBisectCandidatesInput
impl<'de> Deserialize<'de> for CodeBisectCandidatesInput
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 CodeBisectCandidatesInput
Auto Trait Implementations§
impl Forget for CodeBisectCandidatesInput
impl Freeze for CodeBisectCandidatesInput
impl Move for CodeBisectCandidatesInput
impl RefUnwindSafe for CodeBisectCandidatesInput
impl Send for CodeBisectCandidatesInput
impl Sync for CodeBisectCandidatesInput
impl Unpin for CodeBisectCandidatesInput
impl UnsafeUnpin for CodeBisectCandidatesInput
impl UnwindSafe for CodeBisectCandidatesInput
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