code: def from_struct(klass, struct, timezone=pytz.UTC):
          
          struct_time = time.mktime(struct) - utc_offset(struct)
          dt = Datetime.fromtimestamp(struct_time, timezone)
          return klass(klass.__dt_to_epoch(dt))
docs: Returns MayaDT instance from a 9-tuple struct
  
          It's assumed to be from gmtime().