Enum IcebergProperties
pub enum IcebergProperties {
Json(JsonProperties),
Python(PythonProperties),
}Expand description
A dict[str, ...] of properties.
Variants§
Json(JsonProperties)
A JSON object, in insertion order.
Python(PythonProperties)
Available on crate feature
python only.A dict that JSON doesn’t carry as is (a session object, an int beyond 64 bits, a tuple): works within the process, refused when the plan is serialized.
Trait Implementations§
§impl Clone for IcebergProperties
impl Clone for IcebergProperties
§fn clone(&self) -> IcebergProperties
fn clone(&self) -> IcebergProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for IcebergProperties
impl Debug for IcebergProperties
§impl<'de> Deserialize<'de> for IcebergProperties
impl<'de> Deserialize<'de> for IcebergProperties
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcebergProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IcebergProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IcebergProperties
§impl<'a, 'py> FromPyObject<'a, 'py> for IcebergProperties
impl<'a, 'py> FromPyObject<'a, 'py> for IcebergProperties
§impl Hash for IcebergProperties
impl Hash for IcebergProperties
§impl<'py> IntoPyObject<'py> for IcebergProperties
impl<'py> IntoPyObject<'py> for IcebergProperties
§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<IcebergProperties as IntoPyObject<'py>>::Output, PyErr>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<IcebergProperties as IntoPyObject<'py>>::Output, PyErr>
Performs the conversion.
§impl PartialEq for IcebergProperties
impl PartialEq for IcebergProperties
§impl Serialize for IcebergProperties
impl Serialize for IcebergProperties
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for IcebergProperties
Auto Trait Implementations§
impl !RefUnwindSafe for IcebergProperties
impl Freeze for IcebergProperties
impl Send for IcebergProperties
impl Sync for IcebergProperties
impl Unpin for IcebergProperties
impl UnsafeUnpin for IcebergProperties
impl UnwindSafe for IcebergProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<'py, T> FromPyObjectOwned<'py> for Twhere
T: for<'a> FromPyObject<'a, 'py>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.§fn into_py_any(self, py: Python<'py>) -> Result<Py<PyAny>, PyErr>
fn into_py_any(self, py: Python<'py>) -> Result<Py<PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information and unbinding it
from the 'py lifetime.§fn into_pyobject_or_pyerr(self, py: Python<'py>) -> Result<Self::Output, PyErr>
fn into_pyobject_or_pyerr(self, py: Python<'py>) -> Result<Self::Output, PyErr>
Converts
self into a Python object. Read more