#[non_exhaustive]pub struct CodeBackportGapInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub consumer: Option<String>,
pub pr_number: Option<Integer>,
pub issue_number: Option<Integer>,
pub branches: Option<Vec<String>>,
pub max_symbols: Option<Integer>,
pub exact: Option<bool>,
pub history: 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>§pr_number: Option<Integer>§issue_number: Option<Integer>§branches: Option<Vec<String>>§max_symbols: Option<Integer>§exact: Option<bool>§history: Option<bool>Implementations§
Source§impl CodeBackportGapInput
impl CodeBackportGapInput
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 pr_number(self, pr_number: impl Into<Integer>) -> Self
pub fn issue_number(self, issue_number: impl Into<Integer>) -> Self
pub fn branches( self, branches: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn max_symbols(self, max_symbols: impl Into<Integer>) -> Self
pub fn exact(self, exact: bool) -> Self
pub fn history(self, history: bool) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<CodeBackportGapOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for CodeBackportGapInput
impl Clone for CodeBackportGapInput
Source§impl Debug for CodeBackportGapInput
impl Debug for CodeBackportGapInput
Source§impl Default for CodeBackportGapInput
impl Default for CodeBackportGapInput
Source§impl<'de> Deserialize<'de> for CodeBackportGapInput
impl<'de> Deserialize<'de> for CodeBackportGapInput
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 CodeBackportGapInput
impl PartialEq for CodeBackportGapInput
Source§impl Serialize for CodeBackportGapInput
impl Serialize for CodeBackportGapInput
impl StructuralPartialEq for CodeBackportGapInput
Auto Trait Implementations§
impl Forget for CodeBackportGapInput
impl Freeze for CodeBackportGapInput
impl Move for CodeBackportGapInput
impl RefUnwindSafe for CodeBackportGapInput
impl Send for CodeBackportGapInput
impl Sync for CodeBackportGapInput
impl Unpin for CodeBackportGapInput
impl UnsafeUnpin for CodeBackportGapInput
impl UnwindSafe for CodeBackportGapInput
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