Struct screeps_api::data::rooms::RoomSign
[−]
[src]
pub struct RoomSign {
pub game_time_set: u32,
pub time_set: Timespec,
pub user_id: String,
pub text: String,
}Represents a room sign.
Fields
game_time_set: u32
The game time when the sign was set.
time_set: Timespec
The real date/time when the sign was set.
user_id: String
The user ID of the user who set the sign.
text: String
The text of the sign.
Trait Implementations
impl PartialEq for RoomSign[src]
fn eq(&self, __arg_0: &RoomSign) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RoomSign) -> bool[src]
This method tests for !=.
impl Eq for RoomSign[src]
impl Clone for RoomSign[src]
fn clone(&self) -> RoomSign[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Hash for RoomSign[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more