foreign struct in