Struct htsget_http::ServiceInfo
source · pub struct ServiceInfo {
pub id: String,
pub name: String,
pub version: String,
pub organization: Organisation,
pub service_type: Type,
pub htsget: Htsget,
pub contact_url: String,
pub documentation_url: String,
pub created_at: String,
pub updated_at: String,
pub environment: String,
}Expand description
A struct representing the information that should be present in a service-info response.
Fields§
§id: String§name: String§version: String§organization: Organisation§service_type: Type§htsget: Htsget§contact_url: String§documentation_url: String§created_at: String§updated_at: String§environment: StringTrait Implementations§
source§impl Debug for ServiceInfo
impl Debug for ServiceInfo
source§impl Default for ServiceInfo
impl Default for ServiceInfo
source§fn default() -> ServiceInfo
fn default() -> ServiceInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ServiceInfo
impl<'de> Deserialize<'de> for ServiceInfo
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<ServiceInfo> for ServiceInfo
impl PartialEq<ServiceInfo> for ServiceInfo
source§fn eq(&self, other: &ServiceInfo) -> bool
fn eq(&self, other: &ServiceInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ServiceInfo
impl Serialize for ServiceInfo
impl Eq for ServiceInfo
impl StructuralEq for ServiceInfo
impl StructuralPartialEq for ServiceInfo
Auto Trait Implementations§
impl RefUnwindSafe for ServiceInfo
impl Send for ServiceInfo
impl Sync for ServiceInfo
impl Unpin for ServiceInfo
impl UnwindSafe for ServiceInfo
Blanket Implementations§
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.