pub struct Address {
pub function_type: FunctionType,
pub id: String,
}Expand description
The unique identity of an individual stateful function.
This comprises the function’s FunctionType and an unique identifier within the
type. The function’s type denotes the class of function to invoke, while the unique identifier
addresses the invocation to a specific function instance.
This must be used when sending messages to stateful functions as part of the function Effects.
Fields§
§function_type: FunctionTypeFunctionType of the stateful function that this Address refers to.
id: StringUnique id of the stateful function that this Address refers to.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnsafeUnpin for Address
impl UnwindSafe for Address
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