pub struct Call<'a> {
pub key: &'a str,
pub value: Cow<'a, str>,
pub province: Option<i32>,
pub country: Option<Tag>,
}Expand description
One execution or description of one effect: valid only during the call.
Fields§
§key: &'a strThe registered key, e.g. chisel_set_terrain.
value: Cow<'a, str>The right-hand side as the file has it, without quotes: mountain,
yes. Bytes that are not UTF-8 (a file in the game’s own code page)
come as U+FFFD.
province: Option<i32>The scope’s province ID; None when the scope has none.
country: Option<Tag>The scope’s country; None when the scope has none.
Trait Implementations§
impl<'a> Eq for Call<'a>
impl<'a> StructuralPartialEq for Call<'a>
Auto Trait Implementations§
impl<'a> Forget for Call<'a>
impl<'a> Freeze for Call<'a>
impl<'a> Move for Call<'a>
impl<'a> RefUnwindSafe for Call<'a>
impl<'a> Send for Call<'a>
impl<'a> Sync for Call<'a>
impl<'a> Unpin for Call<'a>
impl<'a> UnsafeUnpin for Call<'a>
impl<'a> UnwindSafe for Call<'a>
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