Struct radiobrowser::ApiStatus
source · pub struct ApiStatus {
pub supported_version: u32,
pub software_version: Option<String>,
pub status: String,
pub stations: u64,
pub stations_broken: u64,
pub tags: u64,
pub clicks_last_hour: u64,
pub clicks_last_day: u64,
pub languages: u64,
pub countries: u64,
}
Expand description
Radiobrowser status and statistical information of single server.
Fields§
§supported_version: u32
§software_version: Option<String>
§status: String
§stations: u64
§stations_broken: u64
§clicks_last_hour: u64
§clicks_last_day: u64
§languages: u64
§countries: u64
Trait Implementations§
source§impl<'de> Deserialize<'de> for ApiStatus
impl<'de> Deserialize<'de> for ApiStatus
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 PartialEq<ApiStatus> for ApiStatus
impl PartialEq<ApiStatus> for ApiStatus
impl Eq for ApiStatus
impl StructuralEq for ApiStatus
impl StructuralPartialEq for ApiStatus
Auto Trait Implementations§
impl RefUnwindSafe for ApiStatus
impl Send for ApiStatus
impl Sync for ApiStatus
impl Unpin for ApiStatus
impl UnwindSafe for ApiStatus
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.