pub struct PyEdgeSingleValueWithIndexGroupOperand(/* private fields */);Implementations§
Source§impl PyEdgeSingleValueWithIndexGroupOperand
impl PyEdgeSingleValueWithIndexGroupOperand
pub fn greater_than(&self, value: PySingleValueComparisonOperand)
pub fn greater_than_or_equal_to(&self, value: PySingleValueComparisonOperand)
pub fn less_than(&self, value: PySingleValueComparisonOperand)
pub fn less_than_or_equal_to(&self, value: PySingleValueComparisonOperand)
pub fn equal_to(&self, value: PySingleValueComparisonOperand)
pub fn not_equal_to(&self, value: PySingleValueComparisonOperand)
pub fn starts_with(&self, value: PySingleValueComparisonOperand)
pub fn ends_with(&self, value: PySingleValueComparisonOperand)
pub fn contains(&self, value: PySingleValueComparisonOperand)
pub fn is_in(&self, values: PyMultipleValuesComparisonOperand)
pub fn is_not_in(&self, values: PyMultipleValuesComparisonOperand)
pub fn add(&self, value: PySingleValueComparisonOperand)
pub fn sub(&self, value: PySingleValueComparisonOperand)
pub fn mul(&self, value: PySingleValueComparisonOperand)
pub fn div(&self, value: PySingleValueComparisonOperand)
pub fn pow(&self, value: PySingleValueComparisonOperand)
pub fn mod(&self, value: PySingleValueComparisonOperand)
pub fn round(&self)
pub fn ceil(&self)
pub fn floor(&self)
pub fn abs(&self)
pub fn sqrt(&self)
pub fn trim(&self)
pub fn trim_start(&self)
pub fn trim_end(&self)
pub fn lowercase(&self)
pub fn uppercase(&self)
pub fn slice(&self, start: usize, end: usize)
pub fn is_string(&self)
pub fn is_int(&self)
pub fn is_float(&self)
pub fn is_bool(&self)
pub fn is_datetime(&self)
pub fn is_duration(&self)
pub fn is_null(&self)
pub fn either_or( &self, either: &Bound<'_, PyFunction>, or: &Bound<'_, PyFunction>, )
pub fn exclude(&self, query: &Bound<'_, PyFunction>)
pub fn ungroup(&self) -> PyEdgeMultipleValuesWithIndexOperand
pub fn deep_clone(&self) -> PyEdgeSingleValueWithIndexGroupOperand
Methods from Deref<Target = Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>>§
pub fn group_by( &self, discriminator: <O as GroupBy>::Discriminator, ) -> Wrapper<GroupOperand<O>>
pub fn ungroup(&self) -> Wrapper<<O as Ungroup>::OutputOperand>
pub fn max(&self) -> Wrapper<<O as Max>::ReturnOperand>
pub fn min(&self) -> Wrapper<<O as Min>::ReturnOperand>
pub fn count(&self) -> Wrapper<<O as Count>::ReturnOperand>
pub fn sum(&self) -> Wrapper<<O as Sum>::ReturnOperand>
pub fn mean(&self) -> Wrapper<<O as Mean>::ReturnOperand>
pub fn median(&self) -> Wrapper<<O as Median>::ReturnOperand>
pub fn mode(&self) -> Wrapper<<O as Mode>::ReturnOperand>
pub fn std(&self) -> Wrapper<<O as Std>::ReturnOperand>
pub fn var(&self) -> Wrapper<<O as Var>::ReturnOperand>
pub fn add<V>(&self, value: V)where
V: Into<<O as Add>::ComparisonOperand>,
pub fn sub<V>(&self, value: V)where
V: Into<<O as Sub>::ComparisonOperand>,
pub fn mul<V>(&self, value: V)where
V: Into<<O as Mul>::ComparisonOperand>,
pub fn div<V>(&self, value: V)where
V: Into<<O as Div>::ComparisonOperand>,
pub fn pow<V>(&self, value: V)where
V: Into<<O as Pow>::ComparisonOperand>,
pub fn mod<V>(&self, value: V)where
V: Into<<O as Mod>::ComparisonOperand>,
pub fn abs(&self)
pub fn greater_than<V>(&self, value: V)where
V: Into<<O as GreaterThan>::ComparisonOperand>,
pub fn greater_than_or_equal_to<V>(&self, value: V)where
V: Into<<O as GreaterThanOrEqualTo>::ComparisonOperand>,
pub fn less_than<V>(&self, value: V)where
V: Into<<O as LessThan>::ComparisonOperand>,
pub fn less_than_or_equal_to<V>(&self, value: V)where
V: Into<<O as LessThanOrEqualTo>::ComparisonOperand>,
pub fn equal_to<V>(&self, value: V)where
V: Into<<O as EqualTo>::ComparisonOperand>,
pub fn not_equal_to<V>(&self, value: V)where
V: Into<<O as NotEqualTo>::ComparisonOperand>,
pub fn index(&self) -> Wrapper<<O as Index>::ReturnOperand>
pub fn is_float(&self)
pub fn is_bool(&self)
pub fn is_datetime(&self)
pub fn is_duration(&self)
pub fn is_null(&self)
pub fn is_string(&self)
pub fn is_int(&self)
pub fn either_or<EQ, OQ>(&self, either_query: EQ, or_query: OQ)
pub fn exclude<Q>(&self, query: Q)
pub fn random(&self) -> Wrapper<<O as Random>::ReturnOperand>
pub fn is_max(&self)
pub fn is_min(&self)
pub fn is_in<V>(&self, values: V)where
V: Into<<O as IsIn>::ComparisonOperand>,
pub fn is_not_in<V>(&self, values: V)where
V: Into<<O as IsNotIn>::ComparisonOperand>,
pub fn round(&self)
pub fn ceil(&self)
pub fn floor(&self)
pub fn sqrt(&self)
pub fn trim(&self)
pub fn trim_start(&self)
pub fn trim_end(&self)
pub fn lowercase(&self)
pub fn uppercase(&self)
pub fn slice(&self, start: usize, end: usize)
pub fn starts_with<V>(&self, value: V)where
V: Into<<O as StartsWith>::ComparisonOperand>,
pub fn ends_with<V>(&self, value: V)where
V: Into<<O as EndsWith>::ComparisonOperand>,
pub fn contains<V>(&self, value: V)where
V: Into<<O as Contains>::ComparisonOperand>,
pub fn attribute( &self, attribute: impl Into<GraphRecordAttribute>, ) -> Wrapper<<O as Attribute>::ReturnOperand>
pub fn attributes(&self) -> Wrapper<<O as Attributes>::ReturnOperand>
pub fn has_attribute<A>(&self, attribute: A)
pub fn in_group<G>(&self, group: G)
pub fn edges( &self, edge_direction: EdgeDirection, ) -> Wrapper<<O as Edges>::ReturnOperand>
pub fn neighbors( &self, edge_direction: EdgeDirection, ) -> Wrapper<<O as Neighbors>::ReturnOperand>
pub fn source_node(&self) -> Wrapper<<O as SourceNode>::ReturnOperand>
pub fn target_node(&self) -> Wrapper<<O as TargetNode>::ReturnOperand>
pub fn to_values(&self) -> Wrapper<<O as ToValues>::ReturnOperand>
Trait Implementations§
Source§impl Clone for PyEdgeSingleValueWithIndexGroupOperand
impl Clone for PyEdgeSingleValueWithIndexGroupOperand
Source§fn clone(&self) -> PyEdgeSingleValueWithIndexGroupOperand
fn clone(&self) -> PyEdgeSingleValueWithIndexGroupOperand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for PyEdgeSingleValueWithIndexGroupOperand
impl Deref for PyEdgeSingleValueWithIndexGroupOperand
Source§type Target = Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>
type Target = Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>
The resulting type after dereferencing.
Source§impl From<PyEdgeSingleValueWithIndexGroupOperand> for Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>
impl From<PyEdgeSingleValueWithIndexGroupOperand> for Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>
Source§fn from(operand: PyEdgeSingleValueWithIndexGroupOperand) -> Self
fn from(operand: PyEdgeSingleValueWithIndexGroupOperand) -> Self
Converts to this type from the input type.
Source§impl From<Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>> for PyEdgeSingleValueWithIndexGroupOperand
impl From<Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>> for PyEdgeSingleValueWithIndexGroupOperand
Source§fn from(
operand: Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>,
) -> Self
fn from( operand: Wrapper<GroupOperand<SingleValueWithIndexOperand<EdgeOperand>>>, ) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for PyEdgeSingleValueWithIndexGroupOperand
impl<'py> IntoPyObject<'py> for PyEdgeSingleValueWithIndexGroupOperand
Source§type Target = PyEdgeSingleValueWithIndexGroupOperand
type Target = PyEdgeSingleValueWithIndexGroupOperand
The Python output type
Source§type Output = Bound<'py, <PyEdgeSingleValueWithIndexGroupOperand as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyEdgeSingleValueWithIndexGroupOperand as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
Performs the conversion.
Source§impl PyClassImpl for PyEdgeSingleValueWithIndexGroupOperand
impl PyClassImpl for PyEdgeSingleValueWithIndexGroupOperand
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
Source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
#[pyclass(immutable_type)]
Source§const RAW_DOC: &'static CStr = c"\x00"
const RAW_DOC: &'static CStr = c"\x00"
Docstring for the class provided on the struct or enum. Read more
Source§const DOC: &'static CStr
const DOC: &'static CStr
Fully rendered class doc, including the
text_signature if a constructor is defined. Read moreSource§type ThreadChecker = SendablePyClass<PyEdgeSingleValueWithIndexGroupOperand>
type ThreadChecker = SendablePyClass<PyEdgeSingleValueWithIndexGroupOperand>
This handles following two situations: Read more
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
Immutable or mutable
Source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny by default, and when you declare
#[pyclass(extends=PyDict)], it’s PyDict.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
Source§impl PyMethods<PyEdgeSingleValueWithIndexGroupOperand> for PyClassImplCollector<PyEdgeSingleValueWithIndexGroupOperand>
impl PyMethods<PyEdgeSingleValueWithIndexGroupOperand> for PyClassImplCollector<PyEdgeSingleValueWithIndexGroupOperand>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for PyEdgeSingleValueWithIndexGroupOperand
impl PyTypeInfo for PyEdgeSingleValueWithIndexGroupOperand
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl DerefToPyAny for PyEdgeSingleValueWithIndexGroupOperand
impl ExtractPyClassWithClone for PyEdgeSingleValueWithIndexGroupOperand
Auto Trait Implementations§
impl Freeze for PyEdgeSingleValueWithIndexGroupOperand
impl !RefUnwindSafe for PyEdgeSingleValueWithIndexGroupOperand
impl Send for PyEdgeSingleValueWithIndexGroupOperand
impl Sync for PyEdgeSingleValueWithIndexGroupOperand
impl Unpin for PyEdgeSingleValueWithIndexGroupOperand
impl UnsafeUnpin for PyEdgeSingleValueWithIndexGroupOperand
impl !UnwindSafe for PyEdgeSingleValueWithIndexGroupOperand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, 'py, T> FromPyObject<'a, 'py> for T
impl<'a, 'py, T> FromPyObject<'a, 'py> for T
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 moreSource§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§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.Source§impl<T> Key for Twhere
T: Clone,
impl<T> Key for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
Source§impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
Source§const NAME: &'static str = T::NAME
const NAME: &'static str = T::NAME
👎Deprecated since 0.27.0:
Use ::classinfo_object() instead and format the type name at runtime. Note that using built-in cast features is often better than manual PyTypeCheck usage.
Name of self. This is used in error messages, for example.