#[non_exhaustive]pub struct MoveProjectRequest {
pub name: String,
pub destination_parent: String,
}Expand description
The request sent to MoveProject method.
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 name of the project to move.
destination_parent: StringRequired. The new parent to move the Project under.
Implementations§
Source§impl MoveProjectRequest
impl MoveProjectRequest
Sourcepub fn set_destination_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_destination_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of destination_parent.
Trait Implementations§
Source§impl Clone for MoveProjectRequest
impl Clone for MoveProjectRequest
Source§fn clone(&self) -> MoveProjectRequest
fn clone(&self) -> MoveProjectRequest
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 Debug for MoveProjectRequest
impl Debug for MoveProjectRequest
Source§impl Default for MoveProjectRequest
impl Default for MoveProjectRequest
Source§fn default() -> MoveProjectRequest
fn default() -> MoveProjectRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MoveProjectRequestwhere
MoveProjectRequest: Default,
impl<'de> Deserialize<'de> for MoveProjectRequestwhere
MoveProjectRequest: Default,
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 MoveProjectRequest
impl Message for MoveProjectRequest
Source§impl PartialEq for MoveProjectRequest
impl PartialEq for MoveProjectRequest
Source§impl Serialize for MoveProjectRequest
impl Serialize for MoveProjectRequest
impl StructuralPartialEq for MoveProjectRequest
Auto Trait Implementations§
impl Freeze for MoveProjectRequest
impl RefUnwindSafe for MoveProjectRequest
impl Send for MoveProjectRequest
impl Sync for MoveProjectRequest
impl Unpin for MoveProjectRequest
impl UnwindSafe for MoveProjectRequest
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