(stamp: Option<&prost_types::Timestamp>)
| 330 | } |
| 331 | |
| 332 | fn expiry(stamp: Option<&prost_types::Timestamp>) -> String { |
| 333 | stamp |
| 334 | .and_then(|t| chrono::DateTime::from_timestamp(t.seconds, 0)) |
| 335 | .map(|t| t.to_rfc3339()) |
| 336 | .unwrap_or_else(|| "-".to_string()) |
| 337 | } |
| 338 | |
| 339 | /// Grant a remote sandbox one view, and print its pointer. |
| 340 | #[derive(Parser, Debug)] |
nothing calls this directly
no outgoing calls
no test coverage detected