pub struct SpawnRequest {
pub type_name: String,
pub args_bytes: Vec<u8>,
pub name: String,
pub request_id: String,
}Expand description
Message requesting a remote actor spawn.
Fields§
§type_name: StringFully-qualified Rust type name of the actor (e.g. “myapp::Counter”).
args_bytes: Vec<u8>Serialized actor Args (construction arguments).
name: StringName for the spawned actor.
request_id: StringRequest ID for correlating the response.
Trait Implementations§
Source§impl Clone for SpawnRequest
impl Clone for SpawnRequest
Source§fn clone(&self) -> SpawnRequest
fn clone(&self) -> SpawnRequest
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 moreAuto Trait Implementations§
impl Freeze for SpawnRequest
impl RefUnwindSafe for SpawnRequest
impl Send for SpawnRequest
impl Sync for SpawnRequest
impl Unpin for SpawnRequest
impl UnsafeUnpin for SpawnRequest
impl UnwindSafe for SpawnRequest
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