---
title: Struct either string or bool
timestamp: 2024-06-28T14:30:02
author: szabgab
published: false
description:
tags:
    - Rust
todo:
    - TODO
---

Cargo.toml has fields that can have a value which is either a `bool` or a string containing a filename.

{% include file="examples/struct/either-string-or-bool/src/main.rs" %}



