pub struct AuraWindow {
pub aura_id: u32,
pub target_id: u32,
pub start_ms: u32,
pub end_ms: u32,
pub source_kind: i32,
pub source_id: u32,
pub affected_kind: i32,
pub affected_id: u32,
pub pull_id: Option<u32>,
pub group_id: Option<u32>,
}Fields§
§aura_id: u32§target_id: u32§start_ms: u32§end_ms: u32§source_kind: i32§source_id: u32§affected_kind: i32§affected_id: u32§pull_id: Option<u32>§group_id: Option<u32>Implementations§
Source§impl AuraWindow
impl AuraWindow
Sourcepub fn source_kind(&self) -> ActorKind
pub fn source_kind(&self) -> ActorKind
Returns the enum value of source_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_kind(&mut self, value: ActorKind)
pub fn set_source_kind(&mut self, value: ActorKind)
Sets source_kind to the provided enum value.
Sourcepub fn affected_kind(&self) -> ActorKind
pub fn affected_kind(&self) -> ActorKind
Returns the enum value of affected_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_affected_kind(&mut self, value: ActorKind)
pub fn set_affected_kind(&mut self, value: ActorKind)
Sets affected_kind to the provided enum value.
Trait Implementations§
Source§impl Clone for AuraWindow
impl Clone for AuraWindow
Source§fn clone(&self) -> AuraWindow
fn clone(&self) -> AuraWindow
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 moreSource§impl Debug for AuraWindow
impl Debug for AuraWindow
Source§impl Default for AuraWindow
impl Default for AuraWindow
Source§impl Hash for AuraWindow
impl Hash for AuraWindow
Source§impl Message for AuraWindow
impl Message for AuraWindow
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AuraWindow
impl PartialEq for AuraWindow
impl Copy for AuraWindow
impl Eq for AuraWindow
impl StructuralPartialEq for AuraWindow
Auto Trait Implementations§
impl Freeze for AuraWindow
impl RefUnwindSafe for AuraWindow
impl Send for AuraWindow
impl Sync for AuraWindow
impl Unpin for AuraWindow
impl UnsafeUnpin for AuraWindow
impl UnwindSafe for AuraWindow
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