Your type is struct and its size depends on how underlying types were defined. Two structs with same fields but different order may have different sizes. Size of struct is counted accordingly with padding and alignment rules.
Fields | Aligment | |
---|---|---|
a string |
|
|
b bool |
|
|
padding |
|
|
c string |
|