Re-exports§
pub use crate::context::Context;pub use crate::error::IxaError;pub use crate::global_properties::ContextGlobalPropertiesExt;pub use crate::network::ContextNetworkExt;pub use crate::people::ContextPeopleExt;pub use crate::people::PersonCreatedEvent;pub use crate::people::PersonId;pub use crate::people::PersonPropertyChangeEvent;pub use crate::random::ContextRandomExt;pub use crate::report::ContextReportExt;pub use crate::PluginContext;
Macros§
- debug
- Logs a message at the debug level.
- define_
data_ plugin - Defines a new type for storing data in Context.
- define_
derived_ property - Defines a derived person property with the following parameters:
- define_
edge_ type - Define a new edge type for use with
network. - define_
global_ property - Defines a global property with the following parameters:
- define_
multi_ property - Defines a named multi-property composed of a tuple of several existing other properties.
- define_
person_ property - Defines a person property with the following parameters:
- define_
person_ property_ with_ default - Defines a person property with the following parameters:
- define_
report - Use this macro to define a unique report type
- define_
rng - Use this to define a unique type which will be used as a key to retrieve
an independent rng instance when callingContext::get_rng. - error
- Logs a message at the error level.
- info
- Logs a message at the info level.
- trace
- Logs a message at the trace level.
- warn
- Logs a message at the warn level.