pub struct Source {
pub aws: Option<AwsSourceDetails>,
pub azure: Option<AzureSourceDetails>,
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub encryption: Option<Encryption>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub vmware: Option<VmwareSourceDetails>,
}Expand description
Source message describes a specific vm migration Source resource. It contains the source environment information.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations sources create projects (request)
- locations sources get projects (response)
- locations sources patch projects (request)
Fields§
§aws: Option<AwsSourceDetails>AWS type source details.
azure: Option<AzureSourceDetails>Azure type source details.
create_time: Option<DateTime<Utc>>Output only. The create time timestamp.
description: Option<String>User-provided description of the source.
encryption: Option<Encryption>Optional. Immutable. The encryption details of the source data stored by the service.
labels: Option<HashMap<String, String>>The labels of the source.
name: Option<String>Output only. The Source name.
update_time: Option<DateTime<Utc>>Output only. The update time timestamp.
vmware: Option<VmwareSourceDetails>Vmware type source details.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Source
impl ResponseResult for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more