---
title: "Discussion on \"Structure - A Custom DataType\" | Hashnode"
description: "Discussion on \"Structure - A Custom DataType\". This article explains structs in Rust, how to define and instantiate them, and how to implement struct methods.\nWhat are structs?\nThese are the custom data types that store different types of data together.\nLet's create a basic struct to hold student..."
url: "https://hashnode.com/posts/structure-a-custom-datatype/63a813e471dad5aa5bd82c8d"
---

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

Discussion

# [Structure - A Custom DataType](https://blog.themissingsemicolon.dev/structure-a-custom-datatype?utm_source=hashnode&utm_medium=feed)

This article explains structs in Rust, how to define and instantiate them, and how to implement struct methods. What are structs? These are the custom data types that store different types of data together. Let's create a basic struct to hold student...

Dec 25, 2022 · 4 min read · blog.themissingsemicolon.dev  
Read the article

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

## Written by

[Shreyas K S](https://hashnode.com/@themissingsemicolon)

@themissingsemicolon · Bengaluru India

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

Rust and Blockchain Enthusiast

Highly passionate driven Systems Engineer having proven proficiency in new technology breakthroughs - Rust, Golang, Blockchain, Smart contracts, and Ethical Hacking. Majorly contributing towards Web3 Opensource.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
