Struct ark_api::behavior_controller::AspectUpsert
source · [−]pub struct AspectUpsert<'a> {
pub addr: AspectAddr,
pub serialized_aspect: &'a [u8],
}
Expand description
A command used for BehaviorController::aspect_upsert
to issue an aspect insertion/update
that needs to be synced with the host
Fields
addr: AspectAddr
The aspect’s address, comprising of an aspect guid and an actor id
serialized_aspect: &'a [u8]
Serialized aspect payload
Trait Implementations
sourceimpl<'a> Clone for AspectUpsert<'a>
impl<'a> Clone for AspectUpsert<'a>
sourcefn clone(&self) -> AspectUpsert<'a>
fn clone(&self) -> AspectUpsert<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for AspectUpsert<'a>
impl<'a> Debug for AspectUpsert<'a>
sourceimpl<'a> From<AspectUpsert<'a>> for AspectUpsert
impl<'a> From<AspectUpsert<'a>> for AspectUpsert
sourcefn from(upsert: AspectUpsert<'a>) -> Self
fn from(upsert: AspectUpsert<'a>) -> Self
Converts to this type from the input type.
sourceimpl<'a> PartialEq<AspectUpsert<'a>> for AspectUpsert<'a>
impl<'a> PartialEq<AspectUpsert<'a>> for AspectUpsert<'a>
sourcefn eq(&self, other: &AspectUpsert<'a>) -> bool
fn eq(&self, other: &AspectUpsert<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl<'a> Copy for AspectUpsert<'a>
impl<'a> Eq for AspectUpsert<'a>
impl<'a> StructuralEq for AspectUpsert<'a>
impl<'a> StructuralPartialEq for AspectUpsert<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AspectUpsert<'a>
impl<'a> Send for AspectUpsert<'a>
impl<'a> Sync for AspectUpsert<'a>
impl<'a> Unpin for AspectUpsert<'a>
impl<'a> UnwindSafe for AspectUpsert<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more