pub struct SourceResponse {
pub created_at: String,
pub has_auth: bool,
pub name: String,
pub url: String,
}Expand description
Response for a registered marketplace source.
JSON schema
{
"title": "SourceResponse",
"description": "Response for a registered marketplace source.",
"type": "object",
"required": [
"created_at",
"has_auth",
"name",
"url"
],
"properties": {
"created_at": {
"title": "Created At",
"type": "string"
},
"has_auth": {
"title": "Has Auth",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"url": {
"title": "Url",
"type": "string"
}
}
}Fields§
§created_at: String§has_auth: bool§name: String§url: StringTrait Implementations§
Source§impl Clone for SourceResponse
impl Clone for SourceResponse
Source§fn clone(&self) -> SourceResponse
fn clone(&self) -> SourceResponse
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 SourceResponse
impl Debug for SourceResponse
Source§impl<'de> Deserialize<'de> for SourceResponse
impl<'de> Deserialize<'de> for SourceResponse
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<&SourceResponse> for SourceResponse
impl From<&SourceResponse> for SourceResponse
Source§fn from(value: &SourceResponse) -> Self
fn from(value: &SourceResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SourceResponse
impl RefUnwindSafe for SourceResponse
impl Send for SourceResponse
impl Sync for SourceResponse
impl Unpin for SourceResponse
impl UnsafeUnpin for SourceResponse
impl UnwindSafe for SourceResponse
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