pub struct DataActorConfig {
pub actor_id: Option<ActorId>,
pub log_events: bool,
pub log_commands: bool,
}
Expand description
Configuration for Actor components.
Fields§
§actor_id: Option<ActorId>
The custom identifier for the Actor.
log_events: bool
Whether to log events.
log_commands: bool
Whether to log commands.
Trait Implementations§
Source§impl Clone for DataActorConfig
impl Clone for DataActorConfig
Source§fn clone(&self) -> DataActorConfig
fn clone(&self) -> DataActorConfig
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 DataActorConfig
impl Debug for DataActorConfig
Auto Trait Implementations§
impl Freeze for DataActorConfig
impl RefUnwindSafe for DataActorConfig
impl Send for DataActorConfig
impl Sync for DataActorConfig
impl Unpin for DataActorConfig
impl UnwindSafe for DataActorConfig
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