Lines Matching defs:Poison
127 type Poison struct { struct
128 poisonType pb.PoisonType
129 expiration time.Time
130 manufacturer string
131 potency int
134 func (p Poison) PoisonType() pb.PoisonType { return p.poisonType }
135 func (p Poison) Expiration() time.Time { return p.expiration }
136 func (p Poison) Manufacturer() string { return p.manufacturer }
137 func (p Poison) Potency() int { return p.potency }
139 func (p *Poison) SetPoisonType(x pb.PoisonType) { p.poisonType = x }
140 func (p *Poison) SetExpiration(x time.Time) { p.expiration = x }
141 func (p *Poison) SetManufacturer(x string) { p.manufacturer = x }
142 func (p *Poison) SetPotency(x int) { p.potency = x }