MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / Trip

Struct Trip

shared/proto/trip/trip.pb.go:472–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472type Trip struct {
473 state protoimpl.MessageState `protogen:"open.v1"`
474 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
475 SelectedFare *RideFare `protobuf:"bytes,2,opt,name=selectedFare,proto3" json:"selectedFare,omitempty"`
476 Route *Route `protobuf:"bytes,3,opt,name=route,proto3" json:"route,omitempty"`
477 Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
478 UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID,omitempty"`
479 Driver *TripDriver `protobuf:"bytes,6,opt,name=driver,proto3" json:"driver,omitempty"`
480 unknownFields protoimpl.UnknownFields
481 sizeCache protoimpl.SizeCache
482}
483
484func (x *Trip) Reset() {
485 *x = Trip{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected