#[non_exhaustive]pub struct StartManualTransferRunsRequest {
pub parent: String,
pub time: Option<Time>,
/* private fields */
}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 set_time<T: Into<Option<Time>>>(self, v: T) -> Self
pub fn set_time<T: Into<Option<Time>>>(self, v: T) -> Self
Sets the value of time.
Note that all the setters affecting time are mutually
exclusive.
Sourcepub fn requested_time_range(&self) -> Option<&Box<TimeRange>>
pub fn 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 set_requested_time_range<T: Into<Box<TimeRange>>>(self, v: T) -> Self
pub fn set_requested_time_range<T: Into<Box<TimeRange>>>(self, v: T) -> Self
Sets the value of time
to hold a RequestedTimeRange.
Note that all the setters affecting time are
mutually exclusive.
Trait Implementations§
Source§impl Clone for StartManualTransferRunsRequest
impl Clone for StartManualTransferRunsRequest
Source§fn clone(&self) -> StartManualTransferRunsRequest
fn clone(&self) -> StartManualTransferRunsRequest
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 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 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