#[derive(DecodeRow)]
{
// Attributes available to this derive:
#[schema]
}
Expand description
Derives the DecodeRow
trait.
ยงAttributes on struct fields
-
#[schema(ignore)]
: Theignore
annotation is used to skip a particular field such that it does not need to be decoded. -
#[schema(write_only)]
: Thewrite_only
annotation is used to indicate that the column is write-only and therefore does not need to be decoded.