pub struct AgentPublicProfileRatingDistribution {
pub last_90_days: HashMap<String, f64>,
pub lifetime: HashMap<String, f64>,
}Expand description
Star-rating distribution percentages. Only present on the
single-agent response (GET /agents/{agent_id}); omitted from
list views.
JSON schema
{
"description": "Star-rating distribution percentages. Only present on the\nsingle-agent response (`GET /agents/{agent_id}`); omitted from\nlist views.\n",
"type": "object",
"properties": {
"last_90_days": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"lifetime": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
}
}Fields§
§last_90_days: HashMap<String, f64>§lifetime: HashMap<String, f64>Trait Implementations§
Source§impl Clone for AgentPublicProfileRatingDistribution
impl Clone for AgentPublicProfileRatingDistribution
Source§fn clone(&self) -> AgentPublicProfileRatingDistribution
fn clone(&self) -> AgentPublicProfileRatingDistribution
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<'de> Deserialize<'de> for AgentPublicProfileRatingDistribution
impl<'de> Deserialize<'de> for AgentPublicProfileRatingDistribution
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 AgentPublicProfileRatingDistribution
impl RefUnwindSafe for AgentPublicProfileRatingDistribution
impl Send for AgentPublicProfileRatingDistribution
impl Sync for AgentPublicProfileRatingDistribution
impl Unpin for AgentPublicProfileRatingDistribution
impl UnsafeUnpin for AgentPublicProfileRatingDistribution
impl UnwindSafe for AgentPublicProfileRatingDistribution
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