Local spacetime structure