pub struct FileExtractionParameter { /* private fields */ }
Expand description
Defines an input parameter to be provided to the extractor.
Implementations§
Source§impl FileExtractionParameter
impl FileExtractionParameter
Sourcepub fn builder() -> Builder<EnvironmentVariableStage>
pub fn builder() -> Builder<EnvironmentVariableStage>
Returns a new builder.
Source§impl FileExtractionParameter
impl FileExtractionParameter
Sourcepub fn new(
environment_variable: EnvironmentVariable,
name: impl Into<String>,
) -> Self
pub fn new( environment_variable: EnvironmentVariable, name: impl Into<String>, ) -> Self
Constructs a new instance of the type.
Sourcepub fn environment_variable(&self) -> &EnvironmentVariable
pub fn environment_variable(&self) -> &EnvironmentVariable
The environment variable that stores the argument
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the parameter which users will be prompted with
Trait Implementations§
Source§impl Clone for FileExtractionParameter
impl Clone for FileExtractionParameter
Source§fn clone(&self) -> FileExtractionParameter
fn clone(&self) -> FileExtractionParameter
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 FileExtractionParameter
impl Debug for FileExtractionParameter
Source§impl<'de> Deserialize<'de> for FileExtractionParameter
impl<'de> Deserialize<'de> for FileExtractionParameter
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<FileExtractionParameter> for Builder<Complete>
impl From<FileExtractionParameter> for Builder<Complete>
Source§fn from(v: FileExtractionParameter) -> Self
fn from(v: FileExtractionParameter) -> Self
Converts to this type from the input type.
Source§impl Hash for FileExtractionParameter
impl Hash for FileExtractionParameter
Source§impl Ord for FileExtractionParameter
impl Ord for FileExtractionParameter
Source§fn cmp(&self, other: &FileExtractionParameter) -> Ordering
fn cmp(&self, other: &FileExtractionParameter) -> 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 FileExtractionParameter
impl PartialEq for FileExtractionParameter
Source§impl PartialOrd for FileExtractionParameter
impl PartialOrd for FileExtractionParameter
Source§impl Serialize for FileExtractionParameter
impl Serialize for FileExtractionParameter
impl Eq for FileExtractionParameter
impl StructuralPartialEq for FileExtractionParameter
Auto Trait Implementations§
impl Freeze for FileExtractionParameter
impl RefUnwindSafe for FileExtractionParameter
impl Send for FileExtractionParameter
impl Sync for FileExtractionParameter
impl Unpin for FileExtractionParameter
impl UnwindSafe for FileExtractionParameter
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