pub struct Builder { /* private fields */ }Expand description
A builder for GetCodeBindingSourceOutput.
Implementations§
source§impl Builder
impl Builder
pub fn body(self, input: Blob) -> Self
sourcepub fn set_body(self, input: Option<Blob>) -> Self
pub fn set_body(self, input: Option<Blob>) -> Self
Examples found in repository?
src/operation_deser.rs (lines 1921-1923)
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926
pub fn parse_get_code_binding_source_response(
response: &http::Response<bytes::Bytes>,
) -> std::result::Result<
crate::output::GetCodeBindingSourceOutput,
crate::error::GetCodeBindingSourceError,
> {
Ok({
#[allow(unused_mut)]
let mut output = crate::output::get_code_binding_source_output::Builder::default();
let _ = response;
output = output.set_body(
crate::http_serde::deser_payload_get_code_binding_source_get_code_binding_source_output_body(response.body().as_ref())?
);
output.build()
})
}sourcepub fn build(self) -> GetCodeBindingSourceOutput
pub fn build(self) -> GetCodeBindingSourceOutput
Consumes the builder and constructs a GetCodeBindingSourceOutput.
Examples found in repository?
src/operation_deser.rs (line 1924)
1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926
pub fn parse_get_code_binding_source_response(
response: &http::Response<bytes::Bytes>,
) -> std::result::Result<
crate::output::GetCodeBindingSourceOutput,
crate::error::GetCodeBindingSourceError,
> {
Ok({
#[allow(unused_mut)]
let mut output = crate::output::get_code_binding_source_output::Builder::default();
let _ = response;
output = output.set_body(
crate::http_serde::deser_payload_get_code_binding_source_get_code_binding_source_output_body(response.body().as_ref())?
);
output.build()
})
}