pub trait FunctionOutputField: Send + Sync {
// Required method
fn get_field(
&self,
input_schema: &Schema,
cntxt: Context,
fields: &[Field],
) -> PolarsResult<Field>;
// Provided method
fn try_serialize(&self, _buf: &mut Vec<u8>) -> PolarsResult<()> { ... }
}
Required Methods§
fn get_field( &self, input_schema: &Schema, cntxt: Context, fields: &[Field], ) -> PolarsResult<Field>
Provided Methods§
fn try_serialize(&self, _buf: &mut Vec<u8>) -> PolarsResult<()>
Implementors§
impl FunctionOutputField for PythonGetOutput
Available on crate feature
python
only.