#[non_exhaustive]pub struct GetDiscoveredSchemaInput {
pub events: Option<Vec<String>>,
pub type: Option<Type>,
}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.events: Option<Vec<String>>An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
type: Option<Type>The type of event.
Implementations§
source§impl GetDiscoveredSchemaInput
impl GetDiscoveredSchemaInput
sourcepub fn events(&self) -> &[String]
pub fn events(&self) -> &[String]
An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none().
source§impl GetDiscoveredSchemaInput
impl GetDiscoveredSchemaInput
sourcepub fn builder() -> GetDiscoveredSchemaInputBuilder
pub fn builder() -> GetDiscoveredSchemaInputBuilder
Creates a new builder-style object to manufacture GetDiscoveredSchemaInput.
Trait Implementations§
source§impl Clone for GetDiscoveredSchemaInput
impl Clone for GetDiscoveredSchemaInput
source§fn clone(&self) -> GetDiscoveredSchemaInput
fn clone(&self) -> GetDiscoveredSchemaInput
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 GetDiscoveredSchemaInput
impl Debug for GetDiscoveredSchemaInput
source§impl PartialEq for GetDiscoveredSchemaInput
impl PartialEq for GetDiscoveredSchemaInput
source§fn eq(&self, other: &GetDiscoveredSchemaInput) -> bool
fn eq(&self, other: &GetDiscoveredSchemaInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetDiscoveredSchemaInput
Auto Trait Implementations§
impl RefUnwindSafe for GetDiscoveredSchemaInput
impl Send for GetDiscoveredSchemaInput
impl Sync for GetDiscoveredSchemaInput
impl Unpin for GetDiscoveredSchemaInput
impl UnwindSafe for GetDiscoveredSchemaInput
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>
Creates a shared type from an unshared type.