Module types

Module types 

Source
Expand description

Types of the SDK

Re-exports§

pub use crate::types::api_version::ApiVersion;
pub use common::IdAndName;
pub use common::NameOrId;

Modules§

api_version
Service Api Version.
common
Common types that can be used in responses of the API operations
compute
Compute data types
identity
Identity data types

Structs§

BoxedAsyncRead
A wrapper around AsyncRead trait allowing returning HTTP response body as something implementing AsyncRead. Returning impl AsyncRead would be the best option, but since we need to return it from inside a trait function it is currently not possible in Rust to do so and the only way is to return Box<dyn AsyncRead>. This is however also challenging, since it is not possible to invoke tokio compat function to convert futures::AsyncRead into tokio::io::AsyncRead. In order to deal with that this wrapper is created and something implementing AsyncRead can be passed into it and further used as anything implementing AsyncRead on its own.

Enums§

EntryStatus
Status of the resource
ServiceType
Supported Service Types

Functions§

serialize_sensitive_optional_string
Serialize SecretString as string
serialize_sensitive_string
Serialize Option<SecretString> as string