Struct nu_plugin_inc::Inc [−][src]
pub struct Inc { pub field: Option<Tagged<ColumnPath>>, pub error: Option<String>, pub action: Option<Action>, }
Fields
field: Option<Tagged<ColumnPath>>
error: Option<String>
action: Option<Action>
Implementations
impl Inc
[src]
pub fn new() -> Self
[src]
pub fn for_semver(&mut self, part: SemVerAction)
[src]
pub fn usage() -> &'static str
[src]
pub fn inc(&self, value: Value) -> Result<Value, ShellError>
[src]
Trait Implementations
impl Default for Inc
[src]
impl Plugin for Inc
[src]
fn config(&mut self) -> Result<Signature, ShellError>
[src]
fn begin_filter(
&mut self,
call_info: CallInfo
) -> Result<Vec<ReturnValue>, ShellError>
[src]
&mut self,
call_info: CallInfo
) -> Result<Vec<ReturnValue>, ShellError>
fn filter(&mut self, input: Value) -> Result<Vec<ReturnValue>, ShellError>
[src]
pub fn end_filter(
&mut self
) -> Result<Vec<Result<ReturnSuccess, ShellError>, Global>, ShellError>
[src]
&mut self
) -> Result<Vec<Result<ReturnSuccess, ShellError>, Global>, ShellError>
pub fn sink(&mut self, _call_info: CallInfo, _input: Vec<Value, Global>)
[src]
pub fn quit(&mut self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for Inc
impl Send for Inc
impl Sync for Inc
impl Unpin for Inc
impl UnwindSafe for Inc
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SpannedItem for T
[src]
pub fn spanned(self, span: impl Into<Span>) -> Spanned<Self>
[src]
pub fn spanned_unknown(self) -> Spanned<Self>
[src]
impl<T> TaggedItem for T
[src]
pub fn tagged(self, tag: impl Into<Tag>) -> Tagged<Self>
[src]
pub fn tagged_unknown(self) -> Tagged<Self>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,