pub struct AuraRow {
pub aura_id: u32,
pub uptime_ms: u64,
pub applications: u64,
pub refreshes: u64,
pub stack_seconds_x100: u64,
pub target_id: 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§uptime_ms: u64§applications: u64§refreshes: u64§stack_seconds_x100: u64§target_id: u32§source_kind: i32§source_id: u32§affected_kind: i32§affected_id: u32§pull_id: Option<u32>§group_id: Option<u32>Implementations§
Source§impl AuraRow
impl AuraRow
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 Message for AuraRow
impl Message for AuraRow
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.impl Copy for AuraRow
impl Eq for AuraRow
impl StructuralPartialEq for AuraRow
Auto Trait Implementations§
impl Freeze for AuraRow
impl RefUnwindSafe for AuraRow
impl Send for AuraRow
impl Sync for AuraRow
impl Unpin for AuraRow
impl UnsafeUnpin for AuraRow
impl UnwindSafe for AuraRow
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