16 lines
364 B
V
16 lines
364 B
V
|
|
module circle
|
|
|
|
// Attachment represents an attachment usable for any object
|
|
// such as email, chat, etc.
|
|
// It is a generic struct that can be used for any object
|
|
// that requires an attachment.
|
|
|
|
pub struct Attachment {
|
|
pub mut:
|
|
filename string
|
|
content_type string
|
|
hash string // Hash of the attachment data
|
|
size u32 // Size in bytes
|
|
}
|