...
This commit is contained in:
15
specs/models_older/circle/attachment.v
Normal file
15
specs/models_older/circle/attachment.v
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user