# What does @kwdef do?

**URL:** https://discourse.julialang.org/t/what-does-kwdef-do/51973
**Category:** New to Julia
**Created:** [December 17, 2020, 11:59am UTC](https://discourse.julialang.org/t/what-does-kwdef-do/51973 "2020-12-17T11:59:07Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![j-fu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/j-fu/32/11373_2.png) [@j-fu](https://discourse.julialang.org/u/j-fu)
#### Post date: [February 5, 2023, 10:04pm UTC](https://discourse.julialang.org/t/what-does-kwdef-do/51973/4 "2023-02-05T22:04:29Z")

</div>

With Julia 1.9 , Base.@kwdef will be exported, so it is part of the official API, see [julia/NEWS.md at v1.9.0-beta3 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/blob/v1.9.0-beta3/NEWS.md)

---

_[View the full topic](https://discourse.julialang.org/t/what-does-kwdef-do/51973)._
