Skip to content

Commit 71ac640

Browse files
author
Devdutt Shenoi
authored
doc: get_p_timestamp
Signed-off-by: Devdutt Shenoi <[email protected]>
1 parent 7626f5e commit 71ac640

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/event/format/json.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ impl Event {
5050
impl EventFormat for Event {
5151
type Data = Vec<Value>;
5252

53+
/// Returns the time at ingestion, i.e. the `p_timestamp` value
5354
fn get_p_timestamp(&self) -> DateTime<Utc> {
5455
self.p_timestamp
5556
}

0 commit comments

Comments
 (0)