pub struct CreateProjectDto {
pub name: String,
}Expand description
CreateProjectDto
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the project.",
"type": "string"
}
}
}Fields§
§name: StringName of the project.
Trait Implementations§
Source§impl Clone for CreateProjectDto
impl Clone for CreateProjectDto
Source§fn clone(&self) -> CreateProjectDto
fn clone(&self) -> CreateProjectDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateProjectDto
impl Debug for CreateProjectDto
Source§impl<'de> Deserialize<'de> for CreateProjectDto
impl<'de> Deserialize<'de> for CreateProjectDto
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 From<&CreateProjectDto> for CreateProjectDto
impl From<&CreateProjectDto> for CreateProjectDto
Source§fn from(value: &CreateProjectDto) -> Self
fn from(value: &CreateProjectDto) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CreateProjectDto
impl RefUnwindSafe for CreateProjectDto
impl Send for CreateProjectDto
impl Sync for CreateProjectDto
impl Unpin for CreateProjectDto
impl UnsafeUnpin for CreateProjectDto
impl UnwindSafe for CreateProjectDto
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