Pergunta de entrevista da empresa Zettle

Class vs. Struct, what is the purpose of "optional", etc.