#[non_exhaustive]pub struct DescribeConversionWorkspaceRevisionsRequest {
pub conversion_workspace: String,
pub commit_id: String,
/* private fields */
}Expand description
Request message for ‘DescribeConversionWorkspaceRevisions’ request.
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.conversion_workspace: StringRequired. Name of the conversion workspace resource whose revisions are listed. Must be in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
commit_id: StringOptional. Optional filter to request a specific commit ID.
Implementations§
Source§impl DescribeConversionWorkspaceRevisionsRequest
impl DescribeConversionWorkspaceRevisionsRequest
pub fn new() -> Self
Sourcepub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
pub fn set_conversion_workspace<T: Into<String>>(self, v: T) -> Self
Sets the value of conversion_workspace.
Sourcepub fn set_commit_id<T: Into<String>>(self, v: T) -> Self
pub fn set_commit_id<T: Into<String>>(self, v: T) -> Self
Sets the value of commit_id.
Trait Implementations§
Source§impl Clone for DescribeConversionWorkspaceRevisionsRequest
impl Clone for DescribeConversionWorkspaceRevisionsRequest
Source§fn clone(&self) -> DescribeConversionWorkspaceRevisionsRequest
fn clone(&self) -> DescribeConversionWorkspaceRevisionsRequest
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 DescribeConversionWorkspaceRevisionsRequest
impl Default for DescribeConversionWorkspaceRevisionsRequest
Source§fn default() -> DescribeConversionWorkspaceRevisionsRequest
fn default() -> DescribeConversionWorkspaceRevisionsRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for DescribeConversionWorkspaceRevisionsRequest
impl PartialEq for DescribeConversionWorkspaceRevisionsRequest
Source§fn eq(&self, other: &DescribeConversionWorkspaceRevisionsRequest) -> bool
fn eq(&self, other: &DescribeConversionWorkspaceRevisionsRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeConversionWorkspaceRevisionsRequest
Auto Trait Implementations§
impl Freeze for DescribeConversionWorkspaceRevisionsRequest
impl RefUnwindSafe for DescribeConversionWorkspaceRevisionsRequest
impl Send for DescribeConversionWorkspaceRevisionsRequest
impl Sync for DescribeConversionWorkspaceRevisionsRequest
impl Unpin for DescribeConversionWorkspaceRevisionsRequest
impl UnwindSafe for DescribeConversionWorkspaceRevisionsRequest
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