You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: fts.go
    path of file: ./repos/openreplay/ee/backend/internal/db/datasaver
    
    the code of the file until where you have to start completion: package datasaver

import (
	"encoding/json"
	"log"
	"openreplay/backend/pkg/messages"
)

type NetworkRequestFTS struct {
	SessionID uint64 `json:"session_id"`
	ProjectID uint32 `json:"project_id"`
	Method    string `json:"method"`
	URL       string `json:"url"`
	Request   string `json:"request"`
	Response  string `json:"response"`
	Status   
    
func WrapPageEvent(m *messages.PageEvent, projID uint32) *PageEventFTS {
	return &PageEventFTS{
		SessionID:                  m.SessionID(),
		ProjectID:                  projID,
		MessageID:                  m.MessageID,
		Timestamp:                  m.Timestamp,
		URL:                        m.URL,
		Referrer:                   m.Referrer,
		Loaded:                     m.Loaded,
		RequestStart:               m.RequestStart,
		ResponseStart:              m.ResponseStart,
		ResponseEnd:                m.ResponseEnd,
		DomContentLoadedEventStart: m.DomContentLoadedEventStart,
		DomContentLoadedEventEnd:   m.DomContentLoadedEventEnd,
		LoadEventStart:             m.LoadEventStart,
		LoadEventEnd:               m.LoadEventEnd,
		FirstPaint:                 m.FirstPaint,
		FirstContentfulPaint:       m.FirstContentfulPaint,
		SpeedIndex:                 m.SpeedIndex,
		VisuallyComplete:           m.VisuallyComplete,
		TimeToInteractive:          m.TimeToInteractive,
	}
}