toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-common
/
dev.kord.common.serialization
/
DurationInMinutesSerializer
Duration
In
Minutes
Serializer
object
DurationInMinutesSerializer
:
DurationAsLongSerializer
(
source
)
Serializer that encodes and decodes
Duration
s in
whole minutes
.
Members
Properties
descriptor
Link copied to clipboard
override
val
descriptor
:
SerialDescriptor
unit
Link copied to clipboard
val
unit
:
DurationUnit
Functions
deserialize
Link copied to clipboard
override
fun
deserialize
(
decoder
:
Decoder
)
:
Duration
serialize
Link copied to clipboard
override
fun
serialize
(
encoder
:
Encoder
,
value
:
Duration
)