---
title: "Discussion on \"Rust - Struct, Generics\" | Hashnode"
description: "Discussion on \"Rust - Struct, Generics\". How rust treats structs and enums"
url: "https://hashnode.com/posts/rust-struct-generics-1/6965b1a1c5cdb542e62e7d5c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Rust - Struct, Generics](https://sroy.hashnode.dev/rust-struct-generics-1?utm_source=hashnode&utm_medium=feed)

How rust treats structs and enums

Aug 5, 2022 · 8 min read · sroy.hashnode.dev  
Read the article

-   [#programming](https://hashnode.com/tag/programming)
-   [#rust](https://hashnode.com/tag/rust)

## Written by

[Satyajit Roy](https://hashnode.com/@deadl0ck)

@deadl0ck · San Francisco, CA

  
[View profile](https://hashnode.com/@deadl0ck)

Automation and Technology enthusiast, Coder, Blogger, Foodie, Movie buff and a full time dad

I’m Satyajit Roy — but most people just call me Roy. I’m a technologist, problem-solver, and part-time automation evangelist (my motto: if I have to do it twice, it gets automated). A Programmer is machine who turns coffee into code. That’s Me!!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
