# Printing struct fails

* We can print the values of the individual attributes of a struct, but we cannot print the whole struct.

{% embed include file="src/examples/struct/printing-struct-fails/src/main.rs" %}
{% embed include file="src/examples/struct/printing-struct-fails/out.out" %}


