#[non_exhaustive]pub struct CodeVerifyCitationsInput {Show 14 fields
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 text: String,
pub at_commit: Option<String>,
pub pr_number: Option<Integer>,
pub base_namespace: Option<String>,
pub limit: Option<Integer>,
}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.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>§text: String§at_commit: Option<String>§pr_number: Option<Integer>§base_namespace: Option<String>§limit: Option<Integer>Implementations§
Source§impl CodeVerifyCitationsInput
impl CodeVerifyCitationsInput
pub fn new(text: 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 at_commit(self, at_commit: impl Into<String>) -> Self
pub fn pr_number(self, pr_number: impl Into<Integer>) -> Self
pub fn base_namespace(self, base_namespace: impl Into<String>) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<CodeVerifyCitationsOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for CodeVerifyCitationsInput
impl Clone for CodeVerifyCitationsInput
Source§impl Debug for CodeVerifyCitationsInput
impl Debug for CodeVerifyCitationsInput
Source§impl<'de> Deserialize<'de> for CodeVerifyCitationsInput
impl<'de> Deserialize<'de> for CodeVerifyCitationsInput
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 CodeVerifyCitationsInput
impl PartialEq for CodeVerifyCitationsInput
Source§impl Serialize for CodeVerifyCitationsInput
impl Serialize for CodeVerifyCitationsInput
impl StructuralPartialEq for CodeVerifyCitationsInput
Auto Trait Implementations§
impl Forget for CodeVerifyCitationsInput
impl Freeze for CodeVerifyCitationsInput
impl Move for CodeVerifyCitationsInput
impl RefUnwindSafe for CodeVerifyCitationsInput
impl Send for CodeVerifyCitationsInput
impl Sync for CodeVerifyCitationsInput
impl Unpin for CodeVerifyCitationsInput
impl UnsafeUnpin for CodeVerifyCitationsInput
impl UnwindSafe for CodeVerifyCitationsInput
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