#[non_exhaustive]pub struct CodeBlameRangeInput {Show 16 fields
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub user_id: Option<String>,
pub consumer: Option<String>,
pub path: String,
pub start_line: Integer,
pub end_line: Integer,
pub from_version: Option<String>,
pub to_version: Option<String>,
pub from_sha: Option<String>,
pub to_sha: Option<String>,
pub limit: Option<Integer>,
pub reviews_per_pr: Option<Integer>,
pub stage: Option<CodeBlameRangeInputStage>,
pub mentions: Option<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.org: Option<String>§namespace: Option<String>§agent: Option<String>§user_id: Option<String>§consumer: Option<String>§path: String§start_line: Integer§end_line: Integer§from_version: Option<String>§to_version: Option<String>§from_sha: Option<String>§to_sha: Option<String>§limit: Option<Integer>§reviews_per_pr: Option<Integer>§stage: Option<CodeBlameRangeInputStage>§mentions: Option<String>Implementations§
Source§impl CodeBlameRangeInput
impl CodeBlameRangeInput
pub fn new( path: impl Into<String>, start_line: impl Into<Integer>, end_line: impl Into<Integer>, ) -> 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 from_version(self, from_version: impl Into<String>) -> Self
pub fn to_version(self, to_version: impl Into<String>) -> Self
pub fn from_sha(self, from_sha: impl Into<String>) -> Self
pub fn to_sha(self, to_sha: impl Into<String>) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn reviews_per_pr(self, reviews_per_pr: impl Into<Integer>) -> Self
pub fn stage(self, stage: CodeBlameRangeInputStage) -> Self
pub fn mentions(self, mentions: impl Into<String>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<CodeBlameRangeOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for CodeBlameRangeInput
impl Clone for CodeBlameRangeInput
Source§impl Debug for CodeBlameRangeInput
impl Debug for CodeBlameRangeInput
Source§impl<'de> Deserialize<'de> for CodeBlameRangeInput
impl<'de> Deserialize<'de> for CodeBlameRangeInput
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 CodeBlameRangeInput
impl PartialEq for CodeBlameRangeInput
Source§impl Serialize for CodeBlameRangeInput
impl Serialize for CodeBlameRangeInput
impl StructuralPartialEq for CodeBlameRangeInput
Auto Trait Implementations§
impl Forget for CodeBlameRangeInput
impl Freeze for CodeBlameRangeInput
impl Move for CodeBlameRangeInput
impl RefUnwindSafe for CodeBlameRangeInput
impl Send for CodeBlameRangeInput
impl Sync for CodeBlameRangeInput
impl Unpin for CodeBlameRangeInput
impl UnsafeUnpin for CodeBlameRangeInput
impl UnwindSafe for CodeBlameRangeInput
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