pub struct GetPluginStatsResponse {
pub forks: Option<f64>,
pub homepage: Option<String>,
pub last_push_at: Option<f64>,
pub stars: Option<f64>,
pub watchers: Option<f64>,
}Expand description
GetPluginStatsResponse
JSON schema
{
"type": "object",
"required": [
"forks",
"homepage",
"lastPushAt",
"stars",
"watchers"
],
"properties": {
"forks": {
"type": [
"number",
"null"
]
},
"homepage": {
"type": [
"string",
"null"
]
},
"lastPushAt": {
"type": [
"number",
"null"
]
},
"stars": {
"type": [
"number",
"null"
]
},
"watchers": {
"type": [
"number",
"null"
]
}
}
}Fields§
§forks: Option<f64>§homepage: Option<String>§last_push_at: Option<f64>§stars: Option<f64>§watchers: Option<f64>Implementations§
Source§impl GetPluginStatsResponse
impl GetPluginStatsResponse
pub fn builder() -> GetPluginStatsResponse
Trait Implementations§
Source§impl Clone for GetPluginStatsResponse
impl Clone for GetPluginStatsResponse
Source§fn clone(&self) -> GetPluginStatsResponse
fn clone(&self) -> GetPluginStatsResponse
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 GetPluginStatsResponse
impl Debug for GetPluginStatsResponse
Source§impl<'de> Deserialize<'de> for GetPluginStatsResponse
impl<'de> Deserialize<'de> for GetPluginStatsResponse
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<&GetPluginStatsResponse> for GetPluginStatsResponse
impl From<&GetPluginStatsResponse> for GetPluginStatsResponse
Source§fn from(value: &GetPluginStatsResponse) -> Self
fn from(value: &GetPluginStatsResponse) -> Self
Converts to this type from the input type.
Source§impl From<GetPluginStatsResponse> for GetPluginStatsResponse
impl From<GetPluginStatsResponse> for GetPluginStatsResponse
Source§fn from(value: GetPluginStatsResponse) -> Self
fn from(value: GetPluginStatsResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for GetPluginStatsResponse
impl Serialize for GetPluginStatsResponse
Source§impl TryFrom<GetPluginStatsResponse> for GetPluginStatsResponse
impl TryFrom<GetPluginStatsResponse> for GetPluginStatsResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GetPluginStatsResponse) -> Result<Self, ConversionError>
fn try_from(value: GetPluginStatsResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GetPluginStatsResponse
impl RefUnwindSafe for GetPluginStatsResponse
impl Send for GetPluginStatsResponse
impl Sync for GetPluginStatsResponse
impl Unpin for GetPluginStatsResponse
impl UnsafeUnpin for GetPluginStatsResponse
impl UnwindSafe for GetPluginStatsResponse
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