#[repr(C)]pub struct BettingInstrument {Show 37 fields
pub id: InstrumentId,
pub raw_symbol: Symbol,
pub event_type_id: u64,
pub event_type_name: Ustr,
pub competition_id: u64,
pub competition_name: Ustr,
pub event_id: u64,
pub event_name: Ustr,
pub event_country_code: Ustr,
pub event_open_date: UnixNanos,
pub betting_type: Ustr,
pub market_id: Ustr,
pub market_name: Ustr,
pub market_type: Ustr,
pub market_start_time: UnixNanos,
pub selection_id: u64,
pub selection_name: Ustr,
pub selection_handicap: f64,
pub currency: Currency,
pub price_precision: u8,
pub size_precision: u8,
pub price_increment: Price,
pub size_increment: Quantity,
pub margin_init: Decimal,
pub margin_maint: Decimal,
pub maker_fee: Decimal,
pub taker_fee: Decimal,
pub max_quantity: Option<Quantity>,
pub min_quantity: Option<Quantity>,
pub max_notional: Option<Money>,
pub min_notional: Option<Money>,
pub max_price: Option<Price>,
pub min_price: Option<Price>,
pub tick_scheme: Option<Ustr>,
pub info: Option<Params>,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
Represents a betting instrument with complete market and selection details.
Fields§
§id: InstrumentIdThe instrument ID.
raw_symbol: SymbolThe raw/local/native symbol for the instrument, assigned by the venue.
event_type_id: u64The event type identifier (e.g. 1=Soccer, 2=Tennis).
event_type_name: UstrThe name of the event type (e.g. “Soccer”, “Tennis”).
competition_id: u64The competition/league identifier.
competition_name: UstrThe name of the competition (e.g. “English Premier League”).
event_id: u64The unique identifier for the event.
event_name: UstrThe name of the event (e.g. “Arsenal vs Chelsea”).
event_country_code: UstrThe ISO country code where the event takes place.
event_open_date: UnixNanosUNIX timestamp (nanoseconds) when the event becomes available for betting.
betting_type: UstrThe type of betting (e.g. “ODDS”, “LINE”).
market_id: UstrThe unique identifier for the betting market.
market_name: UstrThe name of the market (e.g. “Match Odds”, “Total Goals”).
market_type: UstrThe type of market (e.g. “WIN”, “PLACE”).
market_start_time: UnixNanosUNIX timestamp (nanoseconds) when betting starts for this market.
selection_id: u64The unique identifier for the selection within the market.
selection_name: UstrThe name of the selection (e.g. “Arsenal”, “Over 2.5”).
selection_handicap: f64The handicap value for the selection, if applicable.
currency: CurrencyThe contract currency.
price_precision: u8The price decimal precision.
size_precision: u8The trading size decimal precision.
price_increment: PriceThe minimum price increment (tick size).
size_increment: QuantityThe minimum size increment.
margin_init: DecimalThe initial (order) margin requirement in percentage of order value.
margin_maint: DecimalThe maintenance (position) margin in percentage of position value.
maker_fee: DecimalThe fee rate for liquidity makers as a percentage of order value.
taker_fee: DecimalThe fee rate for liquidity takers as a percentage of order value.
max_quantity: Option<Quantity>The maximum allowable order quantity.
min_quantity: Option<Quantity>The minimum allowable order quantity.
max_notional: Option<Money>The maximum allowable order notional value.
min_notional: Option<Money>The minimum allowable order notional value.
max_price: Option<Price>The maximum allowable quoted price.
min_price: Option<Price>The minimum allowable quoted price.
tick_scheme: Option<Ustr>The registered variable tick scheme name.
info: Option<Params>Additional instrument metadata as a JSON-serializable dictionary.
ts_event: UnixNanosUNIX timestamp (nanoseconds) when the data event occurred.
ts_init: UnixNanosUNIX timestamp (nanoseconds) when the data object was initialized.
Implementations§
Source§impl BettingInstrument
impl BettingInstrument
Sourcepub fn new_checked(
instrument_id: InstrumentId,
raw_symbol: Symbol,
event_type_id: u64,
event_type_name: Ustr,
competition_id: u64,
competition_name: Ustr,
event_id: u64,
event_name: Ustr,
event_country_code: Ustr,
event_open_date: UnixNanos,
betting_type: Ustr,
market_id: Ustr,
market_name: Ustr,
market_type: Ustr,
market_start_time: UnixNanos,
selection_id: u64,
selection_name: Ustr,
selection_handicap: f64,
currency: Currency,
price_precision: u8,
size_precision: u8,
price_increment: Price,
size_increment: Quantity,
max_quantity: Option<Quantity>,
min_quantity: Option<Quantity>,
max_notional: Option<Money>,
min_notional: Option<Money>,
max_price: Option<Price>,
min_price: Option<Price>,
margin_init: Option<Decimal>,
margin_maint: Option<Decimal>,
maker_fee: Option<Decimal>,
taker_fee: Option<Decimal>,
tick_scheme: Option<Ustr>,
info: Option<Params>,
ts_event: UnixNanos,
ts_init: UnixNanos,
) -> CorrectnessResult<Self>
pub fn new_checked( instrument_id: InstrumentId, raw_symbol: Symbol, event_type_id: u64, event_type_name: Ustr, competition_id: u64, competition_name: Ustr, event_id: u64, event_name: Ustr, event_country_code: Ustr, event_open_date: UnixNanos, betting_type: Ustr, market_id: Ustr, market_name: Ustr, market_type: Ustr, market_start_time: UnixNanos, selection_id: u64, selection_name: Ustr, selection_handicap: f64, currency: Currency, price_precision: u8, size_precision: u8, price_increment: Price, size_increment: Quantity, max_quantity: Option<Quantity>, min_quantity: Option<Quantity>, max_notional: Option<Money>, min_notional: Option<Money>, max_price: Option<Price>, min_price: Option<Price>, margin_init: Option<Decimal>, margin_maint: Option<Decimal>, maker_fee: Option<Decimal>, taker_fee: Option<Decimal>, tick_scheme: Option<Ustr>, info: Option<Params>, ts_event: UnixNanos, ts_init: UnixNanos, ) -> CorrectnessResult<Self>
Creates a new BettingInstrument instance with correctness checking.
§Errors
Returns an error if any input validation fails (precision mismatches or non-positive increments).
§Notes
PyO3 requires a Result type for proper error handling and stacktrace printing in Python.
Sourcepub fn new(
instrument_id: InstrumentId,
raw_symbol: Symbol,
event_type_id: u64,
event_type_name: Ustr,
competition_id: u64,
competition_name: Ustr,
event_id: u64,
event_name: Ustr,
event_country_code: Ustr,
event_open_date: UnixNanos,
betting_type: Ustr,
market_id: Ustr,
market_name: Ustr,
market_type: Ustr,
market_start_time: UnixNanos,
selection_id: u64,
selection_name: Ustr,
selection_handicap: f64,
currency: Currency,
price_precision: u8,
size_precision: u8,
price_increment: Price,
size_increment: Quantity,
max_quantity: Option<Quantity>,
min_quantity: Option<Quantity>,
max_notional: Option<Money>,
min_notional: Option<Money>,
max_price: Option<Price>,
min_price: Option<Price>,
margin_init: Option<Decimal>,
margin_maint: Option<Decimal>,
maker_fee: Option<Decimal>,
taker_fee: Option<Decimal>,
tick_scheme: Option<Ustr>,
info: Option<Params>,
ts_event: UnixNanos,
ts_init: UnixNanos,
) -> Self
pub fn new( instrument_id: InstrumentId, raw_symbol: Symbol, event_type_id: u64, event_type_name: Ustr, competition_id: u64, competition_name: Ustr, event_id: u64, event_name: Ustr, event_country_code: Ustr, event_open_date: UnixNanos, betting_type: Ustr, market_id: Ustr, market_name: Ustr, market_type: Ustr, market_start_time: UnixNanos, selection_id: u64, selection_name: Ustr, selection_handicap: f64, currency: Currency, price_precision: u8, size_precision: u8, price_increment: Price, size_increment: Quantity, max_quantity: Option<Quantity>, min_quantity: Option<Quantity>, max_notional: Option<Money>, min_notional: Option<Money>, max_price: Option<Price>, min_price: Option<Price>, margin_init: Option<Decimal>, margin_maint: Option<Decimal>, maker_fee: Option<Decimal>, taker_fee: Option<Decimal>, tick_scheme: Option<Ustr>, info: Option<Params>, ts_event: UnixNanos, ts_init: UnixNanos, ) -> Self
Creates a new BettingInstrument instance by parsing and validating input parameters.
§Panics
Panics if any required parameter is invalid or parsing fails during new_checked.
Sourcepub fn build_checked(
instrument_id: InstrumentId,
raw_symbol: Symbol,
event_type_id: u64,
event_type_name: Ustr,
competition_id: u64,
competition_name: Ustr,
event_id: u64,
event_name: Ustr,
event_country_code: Ustr,
event_open_date: UnixNanos,
betting_type: Ustr,
market_id: Ustr,
market_name: Ustr,
market_type: Ustr,
market_start_time: UnixNanos,
selection_id: u64,
selection_name: Ustr,
selection_handicap: f64,
currency: Currency,
price_precision: u8,
size_precision: u8,
price_increment: Price,
size_increment: Quantity,
max_quantity: Option<Quantity>,
min_quantity: Option<Quantity>,
max_notional: Option<Money>,
min_notional: Option<Money>,
max_price: Option<Price>,
min_price: Option<Price>,
margin_init: Option<Decimal>,
margin_maint: Option<Decimal>,
maker_fee: Option<Decimal>,
taker_fee: Option<Decimal>,
tick_scheme: Option<Ustr>,
info: Option<Params>,
ts_event: UnixNanos,
ts_init: UnixNanos,
) -> CorrectnessResult<Self>
pub fn build_checked( instrument_id: InstrumentId, raw_symbol: Symbol, event_type_id: u64, event_type_name: Ustr, competition_id: u64, competition_name: Ustr, event_id: u64, event_name: Ustr, event_country_code: Ustr, event_open_date: UnixNanos, betting_type: Ustr, market_id: Ustr, market_name: Ustr, market_type: Ustr, market_start_time: UnixNanos, selection_id: u64, selection_name: Ustr, selection_handicap: f64, currency: Currency, price_precision: u8, size_precision: u8, price_increment: Price, size_increment: Quantity, max_quantity: Option<Quantity>, min_quantity: Option<Quantity>, max_notional: Option<Money>, min_notional: Option<Money>, max_price: Option<Price>, min_price: Option<Price>, margin_init: Option<Decimal>, margin_maint: Option<Decimal>, maker_fee: Option<Decimal>, taker_fee: Option<Decimal>, tick_scheme: Option<Ustr>, info: Option<Params>, ts_event: UnixNanos, ts_init: UnixNanos, ) -> CorrectnessResult<Self>
Returns a fluent builder for a BettingInstrument instance.
Required fields are enforced at compile time; optional fields can be omitted and default
the same way they do in BettingInstrument::new_checked, which the builder calls so the
same correctness checks run on build.
§Errors
Returns an error if any input validation fails (see BettingInstrument::new_checked).
Sourcepub fn builder() -> BettingInstrumentBuildCheckedBuilder
pub fn builder() -> BettingInstrumentBuildCheckedBuilder
Returns a fluent builder for a BettingInstrument instance.
Required fields are enforced at compile time; optional fields can be omitted and default
the same way they do in BettingInstrument::new_checked, which the builder calls so the
same correctness checks run on build.
§Errors
Returns an error if any input validation fails (see BettingInstrument::new_checked).
Trait Implementations§
Source§impl Clone for BettingInstrument
impl Clone for BettingInstrument
Source§fn clone(&self) -> BettingInstrument
fn clone(&self) -> BettingInstrument
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BettingInstrument
impl Debug for BettingInstrument
impl DerefToPyAny for BettingInstrument
Source§impl<'de> Deserialize<'de> for BettingInstrument
impl<'de> Deserialize<'de> for BettingInstrument
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for BettingInstrument
Source§impl From<BettingInstrument> for InstrumentAny
impl From<BettingInstrument> for InstrumentAny
Source§fn from(v: BettingInstrument) -> InstrumentAny
fn from(v: BettingInstrument) -> InstrumentAny
Source§impl<'a, 'py> FromPyObject<'a, 'py> for BettingInstrumentwhere
Self: Clone,
impl<'a, 'py> FromPyObject<'a, 'py> for BettingInstrumentwhere
Self: Clone,
Source§impl Hash for BettingInstrument
impl Hash for BettingInstrument
Source§impl Instrument for BettingInstrument
impl Instrument for BettingInstrument
fn tick_scheme(&self) -> Option<Ustr>
fn into_any(self) -> InstrumentAny
fn id(&self) -> InstrumentId
fn raw_symbol(&self) -> Symbol
fn asset_class(&self) -> AssetClass
fn instrument_class(&self) -> InstrumentClass
fn underlying(&self) -> Option<Ustr>
fn quote_currency(&self) -> Currency
fn base_currency(&self) -> Option<Currency>
fn settlement_currency(&self) -> Currency
fn isin(&self) -> Option<Ustr>
fn exchange(&self) -> Option<Ustr>
fn option_kind(&self) -> Option<OptionKind>
fn is_inverse(&self) -> bool
fn price_precision(&self) -> u8
fn size_precision(&self) -> u8
fn price_increment(&self) -> Price
fn size_increment(&self) -> Quantity
fn multiplier(&self) -> Quantity
fn lot_size(&self) -> Option<Quantity>
fn max_quantity(&self) -> Option<Quantity>
fn min_quantity(&self) -> Option<Quantity>
fn max_price(&self) -> Option<Price>
fn min_price(&self) -> Option<Price>
fn ts_event(&self) -> UnixNanos
fn ts_init(&self) -> UnixNanos
fn margin_init(&self) -> Decimal
fn margin_maint(&self) -> Decimal
fn maker_fee(&self) -> Decimal
fn taker_fee(&self) -> Decimal
fn strike_price(&self) -> Option<Price>
fn activation_ns(&self) -> Option<UnixNanos>
fn expiration_ns(&self) -> Option<UnixNanos>
fn max_notional(&self) -> Option<Money>
fn min_notional(&self) -> Option<Money>
fn tick_scheme_rule(&self) -> Option<&dyn TickSchemeRule>
fn symbol(&self) -> Symbol
fn venue(&self) -> Venue
Source§fn cost_currency(&self) -> Currency
fn cost_currency(&self) -> Currency
fn strategy_type(&self) -> Option<Ustr>
fn has_expiration(&self) -> bool
fn allows_negative_price(&self) -> bool
fn is_quanto(&self) -> bool
fn min_price_increment_precision(&self) -> u8
fn min_size_increment_precision(&self) -> u8
Source§fn try_normalize_price(&self, price: Price) -> CorrectnessResult<Price>
fn try_normalize_price(&self, price: Price) -> CorrectnessResult<Price>
price rebuilt with the instrument precision when it is on the price grid. Read moreSource§fn try_make_qty(&self, value: f64, round_down: Option<bool>) -> Result<Quantity>
fn try_make_qty(&self, value: f64, round_down: Option<bool>) -> Result<Quantity>
Source§fn try_normalize_qty(&self, quantity: Quantity) -> CorrectnessResult<Quantity>
fn try_normalize_qty(&self, quantity: Quantity) -> CorrectnessResult<Quantity>
quantity rebuilt with the instrument precision when it is on the size grid. Read moreSource§fn try_calculate_base_quantity(
&self,
quantity: Quantity,
last_price: Price,
) -> Result<Quantity>
fn try_calculate_base_quantity( &self, quantity: Quantity, last_price: Price, ) -> Result<Quantity>
Source§fn calculate_base_quantity(
&self,
quantity: Quantity,
last_price: Price,
) -> Quantity
fn calculate_base_quantity( &self, quantity: Quantity, last_price: Price, ) -> Quantity
Source§fn calculate_notional_value(
&self,
quantity: Quantity,
price: Price,
use_quote_for_inverse: Option<bool>,
) -> Money
fn calculate_notional_value( &self, quantity: Quantity, price: Price, use_quote_for_inverse: Option<bool>, ) -> Money
fn next_bid_price(&self, value: f64, n: i32) -> Option<Price>
fn next_ask_price(&self, value: f64, n: i32) -> Option<Price>
fn next_bid_prices(&self, value: f64, n: usize) -> Vec<Price>
fn next_ask_prices(&self, value: f64, n: usize) -> Vec<Price>
Source§impl<'py> IntoPyObject<'py> for BettingInstrument
impl<'py> IntoPyObject<'py> for BettingInstrument
Source§type Target = BettingInstrument
type Target = BettingInstrument
Source§type Output = Bound<'py, <BettingInstrument as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <BettingInstrument as IntoPyObject<'py>>::Target>
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>
Source§impl PartialEq for BettingInstrument
impl PartialEq for BettingInstrument
Source§impl PyClass for BettingInstrument
impl PyClass for BettingInstrument
Source§impl PyClassImpl for BettingInstrument
impl PyClassImpl for BettingInstrument
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
Source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
Source§const RAW_DOC: &'static CStr = /// Represents a betting instrument with complete market and selection details.
const RAW_DOC: &'static CStr = /// Represents a betting instrument with complete market and selection details.
Source§const DOC: &'static CStr
const DOC: &'static CStr
text_signature if a constructor is defined. Read moreSource§type Layout = <<BettingInstrument as PyClassImpl>::BaseNativeType as PyClassBaseType>::Layout<BettingInstrument>
type Layout = <<BettingInstrument as PyClassImpl>::BaseNativeType as PyClassBaseType>::Layout<BettingInstrument>
Source§type ThreadChecker = NoopThreadChecker
type ThreadChecker = NoopThreadChecker
type Inventory = Pyo3MethodsInventoryForBettingInstrument
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
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<PyObjectOffset>
fn dict_offset() -> Option<PyObjectOffset>
§fn weaklist_offset() -> Option<PyObjectOffset>
fn weaklist_offset() -> Option<PyObjectOffset>
Source§impl PyClassNewTextSignature for BettingInstrument
impl PyClassNewTextSignature for BettingInstrument
const TEXT_SIGNATURE: &'static str = "(instrument_id, raw_symbol, event_type_id, event_type_name, competition_id, competition_name, event_id, event_name, event_country_code, event_open_date, betting_type, market_id, market_name, market_type, market_start_time, selection_id, selection_name, selection_handicap, currency, price_precision, size_precision, price_increment, size_increment, ts_event, ts_init, max_quantity=None, min_quantity=None, max_notional=None, min_notional=None, max_price=None, min_price=None, margin_init=None, margin_maint=None, maker_fee=None, taker_fee=None, tick_scheme=None, info=None)"
Source§impl PyStubType for BettingInstrument
impl PyStubType for BettingInstrument
Source§fn type_output() -> TypeInfo
fn type_output() -> TypeInfo
§fn type_input() -> TypeInfo
fn type_input() -> TypeInfo
Source§impl PyTypeInfo for BettingInstrument
impl PyTypeInfo for BettingInstrument
Source§const NAME: &str = <Self as ::pyo3::PyClass>::NAME
const NAME: &str = <Self as ::pyo3::PyClass>::NAME
prefer using ::type_object(py).name() to get the correct runtime value
Source§const MODULE: Option<&str> = <Self as ::pyo3::impl_::pyclass::PyClassImpl>::MODULE
const MODULE: Option<&str> = <Self as ::pyo3::impl_::pyclass::PyClassImpl>::MODULE
prefer using ::type_object(py).module() to get the correct runtime value
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
§fn is_type_of(object: &Bound<'_, PyAny>) -> bool
fn is_type_of(object: &Bound<'_, PyAny>) -> bool
object is an instance of this type or a subclass of this type.§fn is_exact_type_of(object: &Bound<'_, PyAny>) -> bool
fn is_exact_type_of(object: &Bound<'_, PyAny>) -> bool
object is an instance of this type.Source§impl Serialize for BettingInstrument
impl Serialize for BettingInstrument
Source§impl TryInto<BettingInstrument> for InstrumentAny
impl TryInto<BettingInstrument> for InstrumentAny
Auto Trait Implementations§
impl Freeze for BettingInstrument
impl RefUnwindSafe for BettingInstrument
impl Send for BettingInstrument
impl Sync for BettingInstrument
impl Unpin for BettingInstrument
impl UnsafeUnpin for BettingInstrument
impl UnwindSafe for BettingInstrument
Blanket Implementations§
impl<T> Allocation for T
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
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
key and return true if they are equal.§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
impl<'py, T> FromPyObjectOwned<'py> for Twhere
T: for<'a> FromPyObject<'a, 'py>,
§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>
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>
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>
self into a Python object. Read more§impl<'py, T> IntoPyObjectNautilusExt<'py> for Twhere
T: IntoPyObjectExt<'py>,
impl<'py, T> IntoPyObjectNautilusExt<'py> for Twhere
T: IntoPyObjectExt<'py>,
§fn into_py_any_unwrap(self, py: Python<'py>) -> Py<PyAny>
fn into_py_any_unwrap(self, py: Python<'py>) -> Py<PyAny>
§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
§impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
impl<T> PyTypeCheck for Twhere
T: PyTypeInfo,
§fn type_check(object: &Bound<'_, PyAny>) -> bool
fn type_check(object: &Bound<'_, PyAny>) -> bool
§fn classinfo_object(py: Python<'_>) -> Bound<'_, PyAny>
fn classinfo_object(py: Python<'_>) -> Bound<'_, PyAny>
isinstance and issubclass function. Read more