pub struct TargetProject {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub name: Option<String>,
pub project: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
TargetProject message represents a target Compute Engine project for a migration or a clone.
§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 target projects create projects (request)
- locations target projects get projects (response)
- locations target projects patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
description: Option<String>The target project’s description.
name: Option<String>Output only. The name of the target project.
project: Option<String>Required. The target project ID (number) or project name.
update_time: Option<DateTime<Utc>>Output only. The last time the target project resource was updated.
Trait Implementations§
Source§impl Clone for TargetProject
impl Clone for TargetProject
Source§fn clone(&self) -> TargetProject
fn clone(&self) -> TargetProject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetProject
impl Debug for TargetProject
Source§impl Default for TargetProject
impl Default for TargetProject
Source§fn default() -> TargetProject
fn default() -> TargetProject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetProject
impl<'de> Deserialize<'de> for TargetProject
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
Source§impl Serialize for TargetProject
impl Serialize for TargetProject
impl RequestValue for TargetProject
impl ResponseResult for TargetProject
Auto Trait Implementations§
impl Freeze for TargetProject
impl RefUnwindSafe for TargetProject
impl Send for TargetProject
impl Sync for TargetProject
impl Unpin for TargetProject
impl UnwindSafe for TargetProject
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