pub struct SpeakerAlertParameter {
pub show_alert: bool,
pub show_on_map: bool,
pub icon_signal_id: Option<SignalID>,
pub alert_message: String,
}Expand description
https://wiki.factorio.com/Blueprint_string_format#Speaker_alert_parameter_object
Fields§
§show_alert: bool§show_on_map: bool§icon_signal_id: Option<SignalID>§alert_message: StringTrait Implementations§
Source§impl Clone for SpeakerAlertParameter
impl Clone for SpeakerAlertParameter
Source§fn clone(&self) -> SpeakerAlertParameter
fn clone(&self) -> SpeakerAlertParameter
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 SpeakerAlertParameter
impl Debug for SpeakerAlertParameter
Source§impl<'de> Deserialize<'de> for SpeakerAlertParameter
impl<'de> Deserialize<'de> for SpeakerAlertParameter
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 PartialEq for SpeakerAlertParameter
impl PartialEq for SpeakerAlertParameter
Source§impl Serialize for SpeakerAlertParameter
impl Serialize for SpeakerAlertParameter
impl Eq for SpeakerAlertParameter
impl StructuralPartialEq for SpeakerAlertParameter
Auto Trait Implementations§
impl Freeze for SpeakerAlertParameter
impl RefUnwindSafe for SpeakerAlertParameter
impl Send for SpeakerAlertParameter
impl Sync for SpeakerAlertParameter
impl Unpin for SpeakerAlertParameter
impl UnwindSafe for SpeakerAlertParameter
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