---
title: Return a struct from a function
timestamp: 2024-06-28T14:30:10
author: szabgab
published: false
description:
tags:
    - Rust
todo:
    - TODO
---

{% include file="examples/functions/return-struct/Cargo.toml" %}
{% include file="examples/functions/return-struct/data.json" %}
{% include file="examples/functions/return-struct/data.txt" %}
{% include file="examples/functions/return-struct/src/main.rs" %}

{% include file="examples/return-struct/src/main.rs" %}




