Struct aws_sdk_cloudsearch::model::ServiceEndpoint
source · #[non_exhaustive]pub struct ServiceEndpoint { /* private fields */ }Expand description
The endpoint to which service requests can be submitted.
Implementations§
source§impl ServiceEndpoint
impl ServiceEndpoint
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceEndpoint.
Examples found in repository?
src/xml_deser.rs (line 2277)
2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297
pub fn deser_structure_crate_model_service_endpoint(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ServiceEndpoint, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ServiceEndpoint::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Endpoint") /* Endpoint com.amazonaws.cloudsearch#ServiceEndpoint$Endpoint */ => {
let var_72 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_endpoint(var_72);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for ServiceEndpoint
impl Clone for ServiceEndpoint
source§fn clone(&self) -> ServiceEndpoint
fn clone(&self) -> ServiceEndpoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more