pub struct PyEdgeIndicesOperand(/* private fields */);Implementations§
Source§impl PyEdgeIndicesOperand
impl PyEdgeIndicesOperand
pub fn max(&self) -> PyEdgeIndexOperand
pub fn min(&self) -> PyEdgeIndexOperand
pub fn count(&self) -> PyEdgeIndexOperand
pub fn sum(&self) -> PyEdgeIndexOperand
pub fn random(&self) -> PyEdgeIndexOperand
pub fn greater_than(&self, index: PyEdgeIndexComparisonOperand)
pub fn greater_than_or_equal_to(&self, index: PyEdgeIndexComparisonOperand)
pub fn less_than(&self, index: PyEdgeIndexComparisonOperand)
pub fn less_than_or_equal_to(&self, index: PyEdgeIndexComparisonOperand)
pub fn equal_to(&self, index: PyEdgeIndexComparisonOperand)
pub fn not_equal_to(&self, index: PyEdgeIndexComparisonOperand)
pub fn starts_with(&self, index: PyEdgeIndexComparisonOperand)
pub fn ends_with(&self, index: PyEdgeIndexComparisonOperand)
pub fn contains(&self, index: PyEdgeIndexComparisonOperand)
pub fn is_in(&self, indices: PyEdgeIndicesComparisonOperand)
pub fn is_not_in(&self, indices: PyEdgeIndicesComparisonOperand)
pub fn add(&self, index: PyEdgeIndexComparisonOperand)
pub fn sub(&self, index: PyEdgeIndexComparisonOperand)
pub fn mul(&self, index: PyEdgeIndexComparisonOperand)
pub fn pow(&self, index: PyEdgeIndexComparisonOperand)
pub fn mod(&self, index: PyEdgeIndexComparisonOperand)
pub fn is_max(&self)
pub fn is_min(&self)
Sourcepub fn either_or(
&self,
either: &Bound<'_, PyFunction>,
or: &Bound<'_, PyFunction>,
)
pub fn either_or( &self, either: &Bound<'_, PyFunction>, or: &Bound<'_, PyFunction>, )
§Panics
Panics if the python typing was not followed.
Sourcepub fn exclude(&self, query: &Bound<'_, PyFunction>)
pub fn exclude(&self, query: &Bound<'_, PyFunction>)
§Panics
Panics if the python typing was not followed.
pub fn deep_clone(&self) -> Self
Methods from Deref<Target = Wrapper<EdgeIndicesOperand>>§
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 PyEdgeIndicesOperand
impl Clone for PyEdgeIndicesOperand
Source§fn clone(&self) -> PyEdgeIndicesOperand
fn clone(&self) -> PyEdgeIndicesOperand
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 PyEdgeIndicesOperand
impl Deref for PyEdgeIndicesOperand
Source§impl From<PyEdgeIndicesOperand> for Wrapper<EdgeIndicesOperand>
impl From<PyEdgeIndicesOperand> for Wrapper<EdgeIndicesOperand>
Source§fn from(operand: PyEdgeIndicesOperand) -> Self
fn from(operand: PyEdgeIndicesOperand) -> Self
Converts to this type from the input type.
Source§impl From<Wrapper<EdgeIndicesOperand>> for PyEdgeIndicesOperand
impl From<Wrapper<EdgeIndicesOperand>> for PyEdgeIndicesOperand
Source§fn from(operand: Wrapper<EdgeIndicesOperand>) -> Self
fn from(operand: Wrapper<EdgeIndicesOperand>) -> Self
Converts to this type from the input type.
Source§impl<'py> IntoPyObject<'py> for PyEdgeIndicesOperand
impl<'py> IntoPyObject<'py> for PyEdgeIndicesOperand
Source§type Target = PyEdgeIndicesOperand
type Target = PyEdgeIndicesOperand
The Python output type
Source§type Output = Bound<'py, <PyEdgeIndicesOperand as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PyEdgeIndicesOperand 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 PyClass for PyEdgeIndicesOperand
impl PyClass for PyEdgeIndicesOperand
Source§impl PyClassImpl for PyEdgeIndicesOperand
impl PyClassImpl for PyEdgeIndicesOperand
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<PyEdgeIndicesOperand>
type ThreadChecker = SendablePyClass<PyEdgeIndicesOperand>
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<PyEdgeIndicesOperand> for PyClassImplCollector<PyEdgeIndicesOperand>
impl PyMethods<PyEdgeIndicesOperand> for PyClassImplCollector<PyEdgeIndicesOperand>
fn py_methods(self) -> &'static PyClassItems
Source§impl PyTypeInfo for PyEdgeIndicesOperand
impl PyTypeInfo for PyEdgeIndicesOperand
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 PyEdgeIndicesOperand
impl ExtractPyClassWithClone for PyEdgeIndicesOperand
Auto Trait Implementations§
impl Freeze for PyEdgeIndicesOperand
impl !RefUnwindSafe for PyEdgeIndicesOperand
impl Send for PyEdgeIndicesOperand
impl Sync for PyEdgeIndicesOperand
impl Unpin for PyEdgeIndicesOperand
impl UnsafeUnpin for PyEdgeIndicesOperand
impl !UnwindSafe for PyEdgeIndicesOperand
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.