#[non_exhaustive]pub struct ExternalSourceSettingBuilder { /* private fields */ }Expand description
A builder for ExternalSourceSetting.
Implementations§
source§impl ExternalSourceSettingBuilder
impl ExternalSourceSettingBuilder
sourcepub fn grammar_slot_type_setting(self, input: GrammarSlotTypeSetting) -> Self
pub fn grammar_slot_type_setting(self, input: GrammarSlotTypeSetting) -> Self
Settings required for a slot type based on a grammar that you provide.
sourcepub fn set_grammar_slot_type_setting(
self,
input: Option<GrammarSlotTypeSetting>
) -> Self
pub fn set_grammar_slot_type_setting( self, input: Option<GrammarSlotTypeSetting> ) -> Self
Settings required for a slot type based on a grammar that you provide.
sourcepub fn get_grammar_slot_type_setting(&self) -> &Option<GrammarSlotTypeSetting>
pub fn get_grammar_slot_type_setting(&self) -> &Option<GrammarSlotTypeSetting>
Settings required for a slot type based on a grammar that you provide.
sourcepub fn build(self) -> ExternalSourceSetting
pub fn build(self) -> ExternalSourceSetting
Consumes the builder and constructs a ExternalSourceSetting.
Trait Implementations§
source§impl Clone for ExternalSourceSettingBuilder
impl Clone for ExternalSourceSettingBuilder
source§fn clone(&self) -> ExternalSourceSettingBuilder
fn clone(&self) -> ExternalSourceSettingBuilder
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 ExternalSourceSettingBuilder
impl Debug for ExternalSourceSettingBuilder
source§impl Default for ExternalSourceSettingBuilder
impl Default for ExternalSourceSettingBuilder
source§fn default() -> ExternalSourceSettingBuilder
fn default() -> ExternalSourceSettingBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExternalSourceSettingBuilder
impl PartialEq for ExternalSourceSettingBuilder
source§fn eq(&self, other: &ExternalSourceSettingBuilder) -> bool
fn eq(&self, other: &ExternalSourceSettingBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExternalSourceSettingBuilder
Auto Trait Implementations§
impl Freeze for ExternalSourceSettingBuilder
impl RefUnwindSafe for ExternalSourceSettingBuilder
impl Send for ExternalSourceSettingBuilder
impl Sync for ExternalSourceSettingBuilder
impl Unpin for ExternalSourceSettingBuilder
impl UnwindSafe for ExternalSourceSettingBuilder
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.