polars_plan::dsl

Type Alias GetOutput

Source
pub type GetOutput = SpecialEq<Arc<dyn FunctionOutputField>>;

Aliased Type§

struct GetOutput(/* private fields */);

Implementations§

Source§

impl GetOutput

Source

pub fn same_type() -> Self

Source

pub fn from_type(dt: DataType) -> Self

Source

pub fn map_field<F: 'static + Fn(&Field) -> PolarsResult<Field> + Send + Sync>( f: F, ) -> Self

Source

pub fn map_fields<F: 'static + Fn(&[Field]) -> PolarsResult<Field> + Send + Sync>( f: F, ) -> Self

Source

pub fn map_dtype<F: 'static + Fn(&DataType) -> PolarsResult<DataType> + Send + Sync>( f: F, ) -> Self

Source

pub fn float_type() -> Self

Source

pub fn super_type() -> Self

Source

pub fn map_dtypes<F>(f: F) -> Self
where F: 'static + Fn(&[&DataType]) -> PolarsResult<DataType> + Send + Sync,

Trait Implementations§

Source§

impl Default for GetOutput

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> Deserialize<'a> for GetOutput

Available on crate feature serde only.
Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'a>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for GetOutput

Available on crate feature serde only.
Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more