pub struct TesBackendConfig {
pub url: Option<Url>,
pub auth: Option<TesBackendAuthConfig>,
pub inputs: Option<Url>,
pub outputs: Option<Url>,
pub interval: Option<u64>,
pub max_concurrency: Option<u64>,
pub insecure: bool,
}Expand description
Represents configuration for the Task Execution Service (TES) backend.
Fields§
§url: Option<Url>The URL of the Task Execution Service.
auth: Option<TesBackendAuthConfig>The authentication configuration for the TES backend.
inputs: Option<Url>The cloud storage URL for storing inputs.
outputs: Option<Url>The cloud storage URL for storing outputs.
interval: Option<u64>The polling interval, in seconds, for checking task status.
Defaults to 60 second.
max_concurrency: Option<u64>The maximum task concurrency for the backend.
Defaults to unlimited.
insecure: boolWhether or not the TES server URL may use an insecure protocol like HTTP.
Implementations§
Trait Implementations§
Source§impl Clone for TesBackendConfig
impl Clone for TesBackendConfig
Source§fn clone(&self) -> TesBackendConfig
fn clone(&self) -> TesBackendConfig
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 TesBackendConfig
impl Debug for TesBackendConfig
Source§impl Default for TesBackendConfig
impl Default for TesBackendConfig
Source§fn default() -> TesBackendConfig
fn default() -> TesBackendConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TesBackendConfig
impl<'de> Deserialize<'de> for TesBackendConfig
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 TesBackendConfig
impl RefUnwindSafe for TesBackendConfig
impl Send for TesBackendConfig
impl Sync for TesBackendConfig
impl Unpin for TesBackendConfig
impl UnwindSafe for TesBackendConfig
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more