Struct safe_index::examples::clients::Data [−][src]
pub struct Data {
pub clients: Clients<ClientInfo>,
pub files: Files<FileInfo>,
}
Expand description
Aggregates client and file info.
Fields
clients: Clients<ClientInfo>
Map from client indexes to client information.
files: Files<FileInfo>
Map from file indexes to file information.
Implementations
Adds a client.
Does not add the client again if it’s already there (by name).
Adds a client to a file.