pub struct RegisterExternalConnectionConfigRequest { /* private fields */ }Expand description
Internal compatibility request that attaches external connection configuration to an existing dataset. The dataset remains the public resource; the returned connection is a legacy compatibility view.
Implementations§
Source§impl RegisterExternalConnectionConfigRequest
impl RegisterExternalConnectionConfigRequest
Sourcepub fn builder() -> Builder<DatasetRidStage>
pub fn builder() -> Builder<DatasetRidStage>
Returns a new builder.
Source§impl RegisterExternalConnectionConfigRequest
impl RegisterExternalConnectionConfigRequest
Sourcepub fn new(
dataset_rid: DatasetRid,
connection_details: ConnectionDetails,
should_scrape: bool,
) -> Self
pub fn new( dataset_rid: DatasetRid, connection_details: ConnectionDetails, should_scrape: bool, ) -> Self
Constructs a new instance of the type.
pub fn dataset_rid(&self) -> &DatasetRid
pub fn connection_details(&self) -> &ConnectionDetails
Sourcepub fn metadata(&self) -> &BTreeMap<String, String>
pub fn metadata(&self) -> &BTreeMap<String, String>
Metadata information about the external connection configuration.
Sourcepub fn required_tag_names(&self) -> &BTreeSet<TagName>
pub fn required_tag_names(&self) -> &BTreeSet<TagName>
Additional tag names that are required to construct a fully qualified series.
Sourcepub fn available_tag_values(
&self,
) -> Option<&BTreeMap<TagName, BTreeSet<TagValue>>>
pub fn available_tag_values( &self, ) -> Option<&BTreeMap<TagName, BTreeSet<TagValue>>>
Optional externally supplied tag values. In most cases these are indexed by scraping.
pub fn scraping(&self) -> Option<&ScrapingConfig>
pub fn should_scrape(&self) -> bool
pub fn limits(&self) -> Option<&LimitsConfig>
Trait Implementations§
Source§impl Clone for RegisterExternalConnectionConfigRequest
impl Clone for RegisterExternalConnectionConfigRequest
Source§fn clone(&self) -> RegisterExternalConnectionConfigRequest
fn clone(&self) -> RegisterExternalConnectionConfigRequest
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<'de> Deserialize<'de> for RegisterExternalConnectionConfigRequest
impl<'de> Deserialize<'de> for RegisterExternalConnectionConfigRequest
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 From<RegisterExternalConnectionConfigRequest> for Builder<Complete>
impl From<RegisterExternalConnectionConfigRequest> for Builder<Complete>
Source§fn from(v: RegisterExternalConnectionConfigRequest) -> Self
fn from(v: RegisterExternalConnectionConfigRequest) -> Self
Converts to this type from the input type.
Source§impl Ord for RegisterExternalConnectionConfigRequest
impl Ord for RegisterExternalConnectionConfigRequest
Source§fn cmp(&self, other: &RegisterExternalConnectionConfigRequest) -> Ordering
fn cmp(&self, other: &RegisterExternalConnectionConfigRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegisterExternalConnectionConfigRequest
impl PartialEq for RegisterExternalConnectionConfigRequest
Source§fn eq(&self, other: &RegisterExternalConnectionConfigRequest) -> bool
fn eq(&self, other: &RegisterExternalConnectionConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RegisterExternalConnectionConfigRequest
impl PartialOrd for RegisterExternalConnectionConfigRequest
impl Eq for RegisterExternalConnectionConfigRequest
impl StructuralPartialEq for RegisterExternalConnectionConfigRequest
Auto Trait Implementations§
impl Freeze for RegisterExternalConnectionConfigRequest
impl RefUnwindSafe for RegisterExternalConnectionConfigRequest
impl Send for RegisterExternalConnectionConfigRequest
impl Sync for RegisterExternalConnectionConfigRequest
impl Unpin for RegisterExternalConnectionConfigRequest
impl UnsafeUnpin for RegisterExternalConnectionConfigRequest
impl UnwindSafe for RegisterExternalConnectionConfigRequest
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request