pub struct BuildApi { /* private fields */ }
Expand description
Build API operations for Veracode platform
Implementations§
Source§impl BuildApi
impl BuildApi
Sourcepub fn new(client: VeracodeClient) -> Self
pub fn new(client: VeracodeClient) -> Self
Create a new BuildApi
instance
Sourcepub async fn create_build(
&self,
request: &CreateBuildRequest,
) -> Result<Build, BuildError>
pub async fn create_build( &self, request: &CreateBuildRequest, ) -> Result<Build, BuildError>
Sourcepub async fn update_build(
&self,
request: &UpdateBuildRequest,
) -> Result<Build, BuildError>
pub async fn update_build( &self, request: &UpdateBuildRequest, ) -> Result<Build, BuildError>
Sourcepub async fn delete_build(
&self,
request: &DeleteBuildRequest,
) -> Result<DeleteBuildResult, BuildError>
pub async fn delete_build( &self, request: &DeleteBuildRequest, ) -> Result<DeleteBuildResult, BuildError>
Sourcepub async fn get_build_info(
&self,
request: &GetBuildInfoRequest,
) -> Result<Build, BuildError>
pub async fn get_build_info( &self, request: &GetBuildInfoRequest, ) -> Result<Build, BuildError>
Sourcepub async fn get_build_list(
&self,
request: &GetBuildListRequest,
) -> Result<BuildList, BuildError>
pub async fn get_build_list( &self, request: &GetBuildListRequest, ) -> Result<BuildList, BuildError>
Source§impl BuildApi
impl BuildApi
Sourcepub async fn create_simple_build(
&self,
app_id: &str,
version: Option<&str>,
) -> Result<Build, BuildError>
pub async fn create_simple_build( &self, app_id: &str, version: Option<&str>, ) -> Result<Build, BuildError>
Sourcepub async fn create_sandbox_build(
&self,
app_id: &str,
sandbox_id: &str,
version: Option<&str>,
) -> Result<Build, BuildError>
pub async fn create_sandbox_build( &self, app_id: &str, sandbox_id: &str, version: Option<&str>, ) -> Result<Build, BuildError>
Sourcepub async fn delete_app_build(
&self,
app_id: &str,
) -> Result<DeleteBuildResult, BuildError>
pub async fn delete_app_build( &self, app_id: &str, ) -> Result<DeleteBuildResult, BuildError>
Sourcepub async fn delete_sandbox_build(
&self,
app_id: &str,
sandbox_id: &str,
) -> Result<DeleteBuildResult, BuildError>
pub async fn delete_sandbox_build( &self, app_id: &str, sandbox_id: &str, ) -> Result<DeleteBuildResult, BuildError>
Sourcepub async fn get_app_build_info(
&self,
app_id: &str,
) -> Result<Build, BuildError>
pub async fn get_app_build_info( &self, app_id: &str, ) -> Result<Build, BuildError>
Sourcepub async fn get_sandbox_build_info(
&self,
app_id: &str,
sandbox_id: &str,
) -> Result<Build, BuildError>
pub async fn get_sandbox_build_info( &self, app_id: &str, sandbox_id: &str, ) -> Result<Build, BuildError>
Sourcepub async fn get_app_builds(
&self,
app_id: &str,
) -> Result<BuildList, BuildError>
pub async fn get_app_builds( &self, app_id: &str, ) -> Result<BuildList, BuildError>
Sourcepub async fn get_sandbox_builds(
&self,
app_id: &str,
sandbox_id: &str,
) -> Result<BuildList, BuildError>
pub async fn get_sandbox_builds( &self, app_id: &str, sandbox_id: &str, ) -> Result<BuildList, BuildError>
Auto Trait Implementations§
impl Freeze for BuildApi
impl !RefUnwindSafe for BuildApi
impl Send for BuildApi
impl Sync for BuildApi
impl Unpin for BuildApi
impl !UnwindSafe for BuildApi
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