Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0cbf63c78d
|
||
|
|
e487a2c275
|
Generated
+1467
-12
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,8 @@ description = "Library to send text messages"
|
||||
[dependencies]
|
||||
serde = { version = "1.0.228", features = ["derive"] }
|
||||
serde_json = { version = "1.0.149" }
|
||||
http = { version = "1.4.0" }
|
||||
reqwest = { version = "0.13.3", features = ["json", "blocking", "multipart", "stream"] }
|
||||
rand = { version = "0.10.1" }
|
||||
time = { version = "0.3.47", features = ["formatting", "macros", "parsing", "serde"] }
|
||||
uuid = { version = "1.23.1", features = ["v4", "serde"] }
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
// Things needed to send a message
|
||||
// Contact - Receipient to send to (textsender-models)
|
||||
// Message - The content to sent (textsender-models)
|
||||
// Parameters - Controls flow of sending message
|
||||
// Config - Contains info needed to send message (textsender-models)
|
||||
pub struct Parameters {
|
||||
pub schedule: bool,
|
||||
pub schedule_at: Option<time::OffsetDateTime>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user