pub struct ServiceInfoConfig {
pub organization: Option<OrganizationConfig>,
pub contact_url: Option<String>,
pub documentation_url: Option<String>,
pub environment: Option<String>,
}Expand description
Optional GA4GH service-info metadata fields.
When set, these are included in the /sequence/service-info response.
All fields are optional; unset fields are omitted from the response.
Fields§
§organization: Option<OrganizationConfig>Organization that runs this service.
contact_url: Option<String>URL to contact the service operator.
documentation_url: Option<String>URL to documentation for this service.
environment: Option<String>Deployment environment (e.g., “production”, “staging”).
Trait Implementations§
Source§impl Clone for ServiceInfoConfig
impl Clone for ServiceInfoConfig
Source§fn clone(&self) -> ServiceInfoConfig
fn clone(&self) -> ServiceInfoConfig
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 ServiceInfoConfig
impl Debug for ServiceInfoConfig
Source§impl Default for ServiceInfoConfig
impl Default for ServiceInfoConfig
Source§fn default() -> ServiceInfoConfig
fn default() -> ServiceInfoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceInfoConfigwhere
ServiceInfoConfig: Default,
impl<'de> Deserialize<'de> for ServiceInfoConfigwhere
ServiceInfoConfig: Default,
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 ServiceInfoConfig
impl RefUnwindSafe for ServiceInfoConfig
impl Send for ServiceInfoConfig
impl Sync for ServiceInfoConfig
impl Unpin for ServiceInfoConfig
impl UnsafeUnpin for ServiceInfoConfig
impl UnwindSafe for ServiceInfoConfig
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