Unverified Commit 4a46ebbd authored by AWS SDK Rust Bot's avatar AWS SDK Rust Bot Committed by GitHub
Browse files

Merge smithy-rs-release-1.x.y into main (#3625)

parents e8449bd1 d18d571a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[package]
name = "aws-runtime"
version = "1.2.0"
version = "1.2.1"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>"]
description = "Runtime support code for the AWS SDK. This crate isn't intended to be used directly."
edition = "2021"
+2 −0
Original line number Diff line number Diff line
@@ -18,12 +18,14 @@ pub(crate) trait Section {
    fn name(&self) -> &str;

    /// Returns all the properties in this section
    #[allow(dead_code)]
    fn properties(&self) -> &HashMap<String, Property>;

    /// Returns a reference to the property named `name`
    fn get(&self, name: &str) -> Option<&str>;

    /// True if there are no properties in this section.
    #[allow(dead_code)]
    fn is_empty(&self) -> bool;

    /// Insert a property into a section