Struct PythonProperties
pub struct PythonProperties {
pub dict: Py<PyAny>,
pub reason: PlSmallStr,
}Available on crate feature
python only.Expand description
A dict kept as the Python object it is.
Fields§
§dict: Py<PyAny>§reason: PlSmallStrThe first value JSON doesn’t carry and its type, e.g. 'auth.session' of type Session,
for the error when the plan is serialized.
Trait Implementations§
§impl Clone for PythonProperties
impl Clone for PythonProperties
§fn clone(&self) -> PythonProperties
fn clone(&self) -> PythonProperties
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 PythonProperties
impl Debug for PythonProperties
impl Eq for PythonProperties
§impl Hash for PythonProperties
impl Hash for PythonProperties
§impl PartialEq for PythonProperties
impl PartialEq for PythonProperties
§impl Serialize for PythonProperties
impl Serialize for PythonProperties
§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
Auto Trait Implementations§
impl !RefUnwindSafe for PythonProperties
impl Freeze for PythonProperties
impl Send for PythonProperties
impl Sync for PythonProperties
impl Unpin for PythonProperties
impl UnsafeUnpin for PythonProperties
impl UnwindSafe for PythonProperties
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<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<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