pub struct ActorSpecifier {
pub actor_id: Str,
pub generation: u64,
pub key: Option<Str>,
}Expand description
BARE struct ActorSpecifier.
Fields§
§actor_id: Str§generation: u64§key: Option<Str>Trait Implementations§
Source§impl Clone for ActorSpecifier
impl Clone for ActorSpecifier
Source§impl Debug for ActorSpecifier
impl Debug for ActorSpecifier
Source§impl Encode for ActorSpecifier
impl Encode for ActorSpecifier
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
The exact encoded length, computed without encoding.
fn encode<S: Sink>(&self, out: &mut S)
fn encode_to_vec(&self) -> Vec<u8> ⓘ
fn encode_to_bytes(&self) -> Bytes
Source§fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
fn encode_to_slice(&self, out: &mut [u8]) -> Result<usize, EncodeError>
Encodes into the front of
out and returns the number of bytes written. Checks the length
first instead of panicking when out is too short.impl Eq for ActorSpecifier
Source§impl Hash for ActorSpecifier
impl Hash for ActorSpecifier
Source§impl Message for ActorSpecifier
impl Message for ActorSpecifier
Source§type Wire = ActorSpecifierWire
type Wire = ActorSpecifierWire
The wire marker whose owned form is this type.
Source§fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
fn view(bytes: Bytes) -> Result<View<Self::Wire>, DecodeError>
Verifies
bytes and returns a zero-copy view over them.Source§impl PartialEq for ActorSpecifier
impl PartialEq for ActorSpecifier
impl StructuralPartialEq for ActorSpecifier
Auto Trait Implementations§
impl !Freeze for ActorSpecifier
impl RefUnwindSafe for ActorSpecifier
impl Send for ActorSpecifier
impl Sync for ActorSpecifier
impl Unpin for ActorSpecifier
impl UnsafeUnpin for ActorSpecifier
impl UnwindSafe for ActorSpecifier
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