#[non_exhaustive]pub struct MoveRepositoryRequest {
pub name: String,
pub destination_containing_folder: Option<String>,
/* private fields */
}Expand description
MoveRepository request message.
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.name: StringRequired. The full resource name of the repository to move.
destination_containing_folder: Option<String>Optional. The name of the Folder, TeamFolder, or root location to move the
repository to. Can be in the format of: “” to move into the root User
folder, projects/*/locations/*/folders/*,
projects/*/locations/*/teamFolders/*
Implementations§
Source§impl MoveRepositoryRequest
impl MoveRepositoryRequest
pub fn new() -> Self
Sourcepub fn set_destination_containing_folder<T>(self, v: T) -> Self
pub fn set_destination_containing_folder<T>(self, v: T) -> Self
Sets the value of destination_containing_folder.
§Example
ⓘ
let x = MoveRepositoryRequest::new().set_destination_containing_folder("example");Sourcepub fn set_or_clear_destination_containing_folder<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_destination_containing_folder<T>(self, v: Option<T>) -> Self
Sets or clears the value of destination_containing_folder.
§Example
ⓘ
let x = MoveRepositoryRequest::new().set_or_clear_destination_containing_folder(Some("example"));
let x = MoveRepositoryRequest::new().set_or_clear_destination_containing_folder(None::<String>);Trait Implementations§
Source§impl Clone for MoveRepositoryRequest
impl Clone for MoveRepositoryRequest
Source§fn clone(&self) -> MoveRepositoryRequest
fn clone(&self) -> MoveRepositoryRequest
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 MoveRepositoryRequest
impl Debug for MoveRepositoryRequest
Source§impl Default for MoveRepositoryRequest
impl Default for MoveRepositoryRequest
Source§fn default() -> MoveRepositoryRequest
fn default() -> MoveRepositoryRequest
Returns the “default value” for a type. Read more
Source§impl Message for MoveRepositoryRequest
impl Message for MoveRepositoryRequest
Source§impl PartialEq for MoveRepositoryRequest
impl PartialEq for MoveRepositoryRequest
impl StructuralPartialEq for MoveRepositoryRequest
Auto Trait Implementations§
impl Freeze for MoveRepositoryRequest
impl RefUnwindSafe for MoveRepositoryRequest
impl Send for MoveRepositoryRequest
impl Sync for MoveRepositoryRequest
impl Unpin for MoveRepositoryRequest
impl UnsafeUnpin for MoveRepositoryRequest
impl UnwindSafe for MoveRepositoryRequest
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