pub struct RepoRef {
pub id: i64,
pub name: String,
pub url: String,
}
Expand description
RepoRef
JSON schema
{
"title": "Repo Ref",
"type": "object",
"required": [
"id",
"name",
"url"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema"
}
Fields§
§id: i64
§name: String
§url: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoRef
impl<'de> Deserialize<'de> for RepoRef
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 RepoRef
impl RefUnwindSafe for RepoRef
impl Send for RepoRef
impl Sync for RepoRef
impl Unpin for RepoRef
impl UnwindSafe for RepoRef
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