title: What is the proper syntax for accessing a struct variable?
body: <p>What is the proper syntax for access a member struct variable? I'm currently trying like this:</p>
  
  <pre><code>struct one {
      var name:String = "Ric"
      var address:String = "Lee"
  }
  
  one.name
  </code></pre>
  
  <p>But the last line produces the error:</p>
  
  <blockquote>
    <p>'one.Type' does not have a member named 'name'</p>
  </blockquote>
  
  <p>How can I access the variable on my struct?</p>