aws_smithy_http::operation

Type Alias Metadata

Source
pub type Metadata = Metadata;
👎Deprecated since 0.60.2: Use aws_smithy_runtime_api::client::orchestrator::Metadata instead.
Expand description

Metadata added to the ConfigBag that identifies the API being called.

Aliased Type§

struct Metadata { /* private fields */ }

Implementations

Source§

impl Metadata

Source

pub fn name(&self) -> &str

Returns the operation name.

Source

pub fn service(&self) -> &str

Returns the service name.

Source

pub fn new( operation: impl Into<Cow<'static, str>>, service: impl Into<Cow<'static, str>>, ) -> Metadata

Creates Metadata.

Trait Implementations

Source§

impl Clone for Metadata

Source§

fn clone(&self) -> Metadata

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Metadata

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Storable for Metadata

Source§

type Storer = StoreReplace<Metadata>

Specify how an item is stored in the config bag, e.g. StoreReplace and StoreAppend