#[non_exhaustive]pub struct StartManualTransferRunsRequest {
pub parent: String,
pub time: Option<Time>,
}Expand description
A request to start manual transfer runs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. Transfer configuration name in the form:
projects/{project_id}/transferConfigs/{config_id} or
projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}.
time: Option<Time>The requested time specification - this can be a time range or a specific run_time.
Implementations§
Source§impl StartManualTransferRunsRequest
impl StartManualTransferRunsRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn get_requested_time_range(&self) -> Option<&Box<TimeRange>>
pub fn get_requested_time_range(&self) -> Option<&Box<TimeRange>>
The value of time
if it holds a RequestedTimeRange, None if the field is not set or
holds a different branch.
Sourcepub fn get_requested_run_time(&self) -> Option<&Box<Timestamp>>
pub fn get_requested_run_time(&self) -> Option<&Box<Timestamp>>
The value of time
if it holds a RequestedRunTime, None if the field is not set or
holds a different branch.
Trait Implementations§
Source§impl Clone for StartManualTransferRunsRequest
impl Clone for StartManualTransferRunsRequest
Source§fn clone(&self) -> StartManualTransferRunsRequest
fn clone(&self) -> StartManualTransferRunsRequest
Returns a copy 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 Default for StartManualTransferRunsRequest
impl Default for StartManualTransferRunsRequest
Source§fn default() -> StartManualTransferRunsRequest
fn default() -> StartManualTransferRunsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StartManualTransferRunsRequest
impl<'de> Deserialize<'de> for StartManualTransferRunsRequest
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 Message for StartManualTransferRunsRequest
impl Message for StartManualTransferRunsRequest
Source§impl PartialEq for StartManualTransferRunsRequest
impl PartialEq for StartManualTransferRunsRequest
Source§fn eq(&self, other: &StartManualTransferRunsRequest) -> bool
fn eq(&self, other: &StartManualTransferRunsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StartManualTransferRunsRequest
Auto Trait Implementations§
impl Freeze for StartManualTransferRunsRequest
impl RefUnwindSafe for StartManualTransferRunsRequest
impl Send for StartManualTransferRunsRequest
impl Sync for StartManualTransferRunsRequest
impl Unpin for StartManualTransferRunsRequest
impl UnwindSafe for StartManualTransferRunsRequest
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