pub struct CreateRepoBody {
pub description: Option<String>,
pub name: String,
}Expand description
CreateRepoBody
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
}
}
}Fields§
§description: Option<String>§name: StringTrait Implementations§
Source§impl Clone for CreateRepoBody
impl Clone for CreateRepoBody
Source§fn clone(&self) -> CreateRepoBody
fn clone(&self) -> CreateRepoBody
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 CreateRepoBody
impl Debug for CreateRepoBody
Source§impl<'de> Deserialize<'de> for CreateRepoBody
impl<'de> Deserialize<'de> for CreateRepoBody
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
Auto Trait Implementations§
impl Freeze for CreateRepoBody
impl RefUnwindSafe for CreateRepoBody
impl Send for CreateRepoBody
impl Sync for CreateRepoBody
impl Unpin for CreateRepoBody
impl UnsafeUnpin for CreateRepoBody
impl UnwindSafe for CreateRepoBody
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