title: Initializer is inaccessible due to 'internal ' protection level
body: <p>I have a struct defined in Swift with  public properties</p>
  <pre><code>public struct MyStruct {
     
      public let prop1: String
      public let prop2: String
  }
  </code></pre>
  <p>In my code, I try to initialize the struct by doing</p>
  <blockquote>
  <p>MyStruct(prop1: &quot;abc&quot;, prop2: &quot;def&quot;)</p>
  </blockquote>
  <p>But I get complier error saying 'MyStruct initializer is inaccessible due to 'internal protection' level.</p>
  <p>The struct and member are in public protection level. So I don't understand what is 'internal' protection level.</p>