pub struct Neo4jQueryConfig {
pub db_name: String,
pub url: String,
pub username: String,
pub password: String,
pub inner_channel: Option<ChannelHandler>,
pub channel: Option<PyObject>,
pub inner_event_handler: Option<EventHandler>,
pub event_handler: Option<PyObject>,
pub inner_tokens_feader: Option<ChannelHandler>,
pub tokens_feader: Option<PyObject>,
}
Expand description
Configuration struct representing the overall setup for a system.
Fields§
§db_name: String
§url: String
§username: String
§password: String
§inner_channel: Option<ChannelHandler>
§channel: Option<PyObject>
§inner_event_handler: Option<EventHandler>
Inner EventHandler for workflow to get events from python
event_handler: Option<PyObject>
PyObject for the event handler.
inner_tokens_feader: Option<ChannelHandler>
Token feader for the engine for live tokens
tokens_feader: Option<PyObject>
Token feeder for the engine for live tokens
Trait Implementations§
source§impl Clone for Neo4jQueryConfig
impl Clone for Neo4jQueryConfig
source§fn clone(&self) -> Neo4jQueryConfig
fn clone(&self) -> Neo4jQueryConfig
Returns a copy 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 Debug for Neo4jQueryConfig
impl Debug for Neo4jQueryConfig
source§impl IntoPy<Py<PyAny>> for Neo4jQueryConfig
impl IntoPy<Py<PyAny>> for Neo4jQueryConfig
source§impl PyClass for Neo4jQueryConfig
impl PyClass for Neo4jQueryConfig
source§impl PyClassImpl for Neo4jQueryConfig
impl PyClassImpl for Neo4jQueryConfig
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)]
§type ThreadChecker = SendablePyClass<Neo4jQueryConfig>
type ThreadChecker = SendablePyClass<Neo4jQueryConfig>
This handles following two situations: Read more
§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
§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<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Neo4jQueryConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Neo4jQueryConfig
source§impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Neo4jQueryConfig
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Neo4jQueryConfig
source§impl PyTypeInfo for Neo4jQueryConfig
impl PyTypeInfo for Neo4jQueryConfig
§type AsRefTarget = PyCell<Neo4jQueryConfig>
type AsRefTarget = PyCell<Neo4jQueryConfig>
Utility type to make Py::as_ref work.
source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
§fn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
§fn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.Auto Trait Implementations§
impl Freeze for Neo4jQueryConfig
impl !RefUnwindSafe for Neo4jQueryConfig
impl Send for Neo4jQueryConfig
impl Sync for Neo4jQueryConfig
impl Unpin for Neo4jQueryConfig
impl !UnwindSafe for Neo4jQueryConfig
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