pub struct PlatformBootstrapConfig {
pub query_api_url: Option<String>,
pub timeout_seconds: u64,
}Expand description
Platform bootstrap provider configuration
This provider bootstraps data from a Query API service running in a remote Drasi environment via HTTP streaming. It’s designed for cross-Drasi integration scenarios where one Drasi instance needs initial data from another.
§Example
bootstrap_provider:
type: platform
query_api_url: "http://remote-drasi:8080" # DevSkim: ignore DS137138
timeout_seconds: 600Fields§
§query_api_url: Option<String>URL of the Query API service (e.g., “http://my-source-query-api:8080”) // DevSkim: ignore DS137138
If not specified, falls back to query_api_url property from source config
timeout_seconds: u64Timeout for HTTP requests in seconds (default: 300)
Trait Implementations§
Source§impl Clone for PlatformBootstrapConfig
impl Clone for PlatformBootstrapConfig
Source§fn clone(&self) -> PlatformBootstrapConfig
fn clone(&self) -> PlatformBootstrapConfig
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 PlatformBootstrapConfig
impl Debug for PlatformBootstrapConfig
Source§impl Default for PlatformBootstrapConfig
impl Default for PlatformBootstrapConfig
Source§fn default() -> PlatformBootstrapConfig
fn default() -> PlatformBootstrapConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformBootstrapConfig
impl<'de> Deserialize<'de> for PlatformBootstrapConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformBootstrapConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformBootstrapConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PlatformBootstrapConfig
impl PartialEq for PlatformBootstrapConfig
Source§impl Serialize for PlatformBootstrapConfig
impl Serialize for PlatformBootstrapConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformBootstrapConfig
Auto Trait Implementations§
impl Freeze for PlatformBootstrapConfig
impl RefUnwindSafe for PlatformBootstrapConfig
impl Send for PlatformBootstrapConfig
impl Sync for PlatformBootstrapConfig
impl Unpin for PlatformBootstrapConfig
impl UnsafeUnpin for PlatformBootstrapConfig
impl UnwindSafe for PlatformBootstrapConfig
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