#[non_exhaustive]pub struct ProviderComponentSchema {
pub schemas: Option<Vec<Vec<String>>>,
pub provider_schema_attributes: Option<Vec<ProviderSchemaAttribute>>,
}
Expand description
The input schema supported by provider service.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.schemas: Option<Vec<Vec<String>>>
Input schema for the provider service.
provider_schema_attributes: Option<Vec<ProviderSchemaAttribute>>
The provider schema attributes.
Implementations§
source§impl ProviderComponentSchema
impl ProviderComponentSchema
sourcepub fn schemas(&self) -> &[Vec<String>]
pub fn schemas(&self) -> &[Vec<String>]
Input schema for the provider service.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .schemas.is_none()
.
sourcepub fn provider_schema_attributes(&self) -> &[ProviderSchemaAttribute]
pub fn provider_schema_attributes(&self) -> &[ProviderSchemaAttribute]
The provider schema attributes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .provider_schema_attributes.is_none()
.
source§impl ProviderComponentSchema
impl ProviderComponentSchema
sourcepub fn builder() -> ProviderComponentSchemaBuilder
pub fn builder() -> ProviderComponentSchemaBuilder
Creates a new builder-style object to manufacture ProviderComponentSchema
.
Trait Implementations§
source§impl Clone for ProviderComponentSchema
impl Clone for ProviderComponentSchema
source§fn clone(&self) -> ProviderComponentSchema
fn clone(&self) -> ProviderComponentSchema
Returns a copy 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 ProviderComponentSchema
impl Debug for ProviderComponentSchema
source§impl PartialEq for ProviderComponentSchema
impl PartialEq for ProviderComponentSchema
source§fn eq(&self, other: &ProviderComponentSchema) -> bool
fn eq(&self, other: &ProviderComponentSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProviderComponentSchema
Auto Trait Implementations§
impl Freeze for ProviderComponentSchema
impl RefUnwindSafe for ProviderComponentSchema
impl Send for ProviderComponentSchema
impl Sync for ProviderComponentSchema
impl Unpin for ProviderComponentSchema
impl UnwindSafe for ProviderComponentSchema
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> 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 moreCreates a shared type from an unshared type.