pub struct ImportComponentRequest {
pub change_description: Option<String>,
pub client_token: String,
pub data: Option<String>,
pub description: Option<String>,
pub format: String,
pub kms_key_id: Option<String>,
pub name: String,
pub platform: String,
pub semantic_version: String,
pub tags: Option<HashMap<String, String>>,
pub type_: String,
pub uri: Option<String>,
}
Fields
change_description: Option<String>
The change description of the component. Describes what change has been made in this version, or what makes this version different from other versions of this component.
client_token: String
The idempotency token of the component.
data: Option<String>
The data of the component. Used to specify the data inline. Either data
or uri
can be used to specify the data within the component.
description: Option<String>
The description of the component. Describes the contents of the component.
format: String
The format of the resource that you want to import as a component.
kms_key_id: Option<String>
The ID of the KMS key that should be used to encrypt this component.
name: String
The name of the component.
platform: String
The platform of the component.
semantic_version: String
The semantic version of the component. This version follows the semantic version syntax. For example, major.minor.patch. This could be versioned like software (2.0.1) or like a date (2019.12.01).
The tags of the component.
type_: String
The type of the component denotes whether the component is used to build the image or only to test it.
uri: Option<String>
The uri of the component. Must be an S3 URL and the requester must have permission to access the S3 bucket. If you use S3, you can specify component content up to your service quota. Either data
or uri
can be used to specify the data within the component.
Trait Implementations
sourceimpl Clone for ImportComponentRequest
impl Clone for ImportComponentRequest
sourcefn clone(&self) -> ImportComponentRequest
fn clone(&self) -> ImportComponentRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImportComponentRequest
impl Debug for ImportComponentRequest
sourceimpl Default for ImportComponentRequest
impl Default for ImportComponentRequest
sourcefn default() -> ImportComponentRequest
fn default() -> ImportComponentRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ImportComponentRequest> for ImportComponentRequest
impl PartialEq<ImportComponentRequest> for ImportComponentRequest
sourcefn eq(&self, other: &ImportComponentRequest) -> bool
fn eq(&self, other: &ImportComponentRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImportComponentRequest) -> bool
fn ne(&self, other: &ImportComponentRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ImportComponentRequest
impl Serialize for ImportComponentRequest
impl StructuralPartialEq for ImportComponentRequest
Auto Trait Implementations
impl RefUnwindSafe for ImportComponentRequest
impl Send for ImportComponentRequest
impl Sync for ImportComponentRequest
impl Unpin for ImportComponentRequest
impl UnwindSafe for ImportComponentRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more