pub struct Target {Show 16 fields
pub resource_type: String,
pub id: Option<String>,
pub code: String,
pub name: String,
pub team_id: String,
pub gateway_id: Option<String>,
pub connection: Option<ConnectionConfig>,
pub protocol: Option<String>,
pub description: Option<String>,
pub enabled: Option<bool>,
pub authentication: Option<String>,
pub tags: Option<Vec<String>>,
pub timeout_secs: Option<u32>,
pub max_retries: Option<u32>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
}Expand description
Target resource - represents external systems that receive requests from Harmony
Fields§
§resource_type: String§id: Option<String>§code: String§name: String§team_id: String§gateway_id: Option<String>§connection: Option<ConnectionConfig>§protocol: Option<String>Protocol type - the type of protocol used by this target (http, https, dicom, etc.)
description: Option<String>§enabled: Option<bool>§authentication: Option<String>Reference to an authentication defined in main config
timeout_secs: Option<u32>§max_retries: Option<u32>§created_at: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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 Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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