pub fn extract_snapshot_payload(event: &Event) -> Result<SnapshotPayload>Expand description
Extract and deserialize the SnapshotPayload from an item.snapshot event.
ยงErrors
Returns an error if the event is not a snapshot type or if the payload cannot be deserialized.