Set value of a struct-member

Consider setting the question as answered to help anyone else struggling.