Home
last modified time | relevance | path

Searched refs:location (Results 1 – 6 of 6) sorted by relevance

/tonic/examples/src/routeguide/
H A Ddata.rs6 location: Location, field
28 location: Some(crate::routeguide::Point { in load()
29 longitude: feature.location.longitude, in load()
30 latitude: feature.location.latitude, in load()
H A Dserver.rs31 if feature.location.as_ref() == Some(request.get_ref()) { in get_feature()
52 if in_range(feature.location.as_ref().unwrap(), request.get_ref()) { in list_features()
86 if feature.location.as_ref() == Some(&point) { in record_route()
119 let location = note.location.unwrap(); in route_chat() localVariable
121 let location_notes = notes.entry(location).or_insert(vec![]); in route_chat()
H A Dclient.rs71 location: Some(Point { in run_route_chat()
/tonic/examples/proto/routeguide/
H A Droute_guide.proto81 Point location = 2; field
86 // The location from which the message is sent.
87 Point location = 1; field
/tonic/tonic-build/
H A DREADME.md76 //.out_dir("src/google") // you can change the generated code's location
79 &["proto/googleapis"], // specify the root location to search proto dependencies
/tonic/examples/
H A Drouteguide-tutorial.md65 NOTE = RouteNote { location: Some(Point { latitude: 409146139, longitude: -746188906 }), message: "…
241 The generated code is placed inside our target directory, in a location defined by the `OUT_DIR`
383 if feature.location.as_ref() == Some(request.get_ref()) {
409 if in_range(feature.location.as_ref().unwrap(), request.get_ref()) {
454 if feature.location.as_ref() == Some(&point) {
501 let location = note.location.unwrap();
503 let location_notes = notes.entry(location).or_insert(vec![]);
753 location: Some(Point {
801 files in the default location.