pub struct StopRequest {
pub value: bool,
}Expand description
The broadcast STOPREQUEST (single) was previously used here. In our proposal, the function is retained,
only the data type is changed to Boolean.
As with the previous messages, this is NOT transmitted via the coupler. However, it should otherwise reach all modules in the vehicle. If there are several stop request circuits in a vehicle (e.g. a bus in the front vehicle and in the rear vehicle), messages can of course be sent with different receivers. Vehicles without a stop request (e.g. historic trains or underground trains) do not have to provide this information.
Fields§
§value: boolTrait Implementations§
Source§impl Clone for StopRequest
impl Clone for StopRequest
Source§fn clone(&self) -> StopRequest
fn clone(&self) -> StopRequest
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 StopRequest
impl Debug for StopRequest
Source§impl<'de> Deserialize<'de> for StopRequest
impl<'de> Deserialize<'de> for StopRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MessageType for StopRequest
impl MessageType for StopRequest
Source§const MESSAGE_META: MessageMeta
const MESSAGE_META: MessageMeta
The metadata for the message type.
Source§impl PartialEq for StopRequest
impl PartialEq for StopRequest
Source§impl Serialize for StopRequest
impl Serialize for StopRequest
impl StructuralPartialEq for StopRequest
Auto Trait Implementations§
impl Freeze for StopRequest
impl RefUnwindSafe for StopRequest
impl Send for StopRequest
impl Sync for StopRequest
impl Unpin for StopRequest
impl UnwindSafe for StopRequest
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)