pub struct CSvcMsgHltvReplay {
pub delay: Option<i32>,
pub primary_target: Option<i32>,
pub replay_stop_at: Option<i32>,
pub replay_start_at: Option<i32>,
pub replay_slowdown_begin: Option<i32>,
pub replay_slowdown_end: Option<i32>,
pub replay_slowdown_rate: Option<f32>,
pub reason: Option<i32>,
}Fields§
§delay: Option<i32>§primary_target: Option<i32>§replay_stop_at: Option<i32>§replay_start_at: Option<i32>§replay_slowdown_begin: Option<i32>§replay_slowdown_end: Option<i32>§replay_slowdown_rate: Option<f32>§reason: Option<i32>Implementations§
Source§impl CSvcMsgHltvReplay
impl CSvcMsgHltvReplay
Sourcepub fn primary_target(&self) -> i32
pub fn primary_target(&self) -> i32
Returns the value of primary_target, or the default value if primary_target is unset.
Sourcepub fn replay_stop_at(&self) -> i32
pub fn replay_stop_at(&self) -> i32
Returns the value of replay_stop_at, or the default value if replay_stop_at is unset.
Sourcepub fn replay_start_at(&self) -> i32
pub fn replay_start_at(&self) -> i32
Returns the value of replay_start_at, or the default value if replay_start_at is unset.
Sourcepub fn replay_slowdown_begin(&self) -> i32
pub fn replay_slowdown_begin(&self) -> i32
Returns the value of replay_slowdown_begin, or the default value if replay_slowdown_begin is unset.
Sourcepub fn replay_slowdown_end(&self) -> i32
pub fn replay_slowdown_end(&self) -> i32
Returns the value of replay_slowdown_end, or the default value if replay_slowdown_end is unset.
Sourcepub fn replay_slowdown_rate(&self) -> f32
pub fn replay_slowdown_rate(&self) -> f32
Returns the value of replay_slowdown_rate, or the default value if replay_slowdown_rate is unset.
Trait Implementations§
Source§impl Clone for CSvcMsgHltvReplay
impl Clone for CSvcMsgHltvReplay
Source§fn clone(&self) -> CSvcMsgHltvReplay
fn clone(&self) -> CSvcMsgHltvReplay
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CSvcMsgHltvReplay
impl Debug for CSvcMsgHltvReplay
Source§impl Default for CSvcMsgHltvReplay
impl Default for CSvcMsgHltvReplay
Source§fn default() -> CSvcMsgHltvReplay
fn default() -> CSvcMsgHltvReplay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CSvcMsgHltvReplay
impl<'de> Deserialize<'de> for CSvcMsgHltvReplay
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CSvcMsgHltvReplay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CSvcMsgHltvReplay, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for CSvcMsgHltvReplay
impl Message for CSvcMsgHltvReplay
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 CSvcMsgHltvReplay
impl PartialEq for CSvcMsgHltvReplay
Source§impl Serialize for CSvcMsgHltvReplay
impl Serialize for CSvcMsgHltvReplay
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CSvcMsgHltvReplay
impl StructuralPartialEq for CSvcMsgHltvReplay
Auto Trait Implementations§
impl Freeze for CSvcMsgHltvReplay
impl RefUnwindSafe for CSvcMsgHltvReplay
impl Send for CSvcMsgHltvReplay
impl Sync for CSvcMsgHltvReplay
impl Unpin for CSvcMsgHltvReplay
impl UnwindSafe for CSvcMsgHltvReplay
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)