aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/embed.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-06-14 12:01:58 -0700
committerZeyla Hellyer <[email protected]>2017-06-14 12:01:58 -0700
commit6acc5fe15070daa87d3221c9be67c87026e7c6c1 (patch)
treeea10f41a9b4ae1e70e599004abe9f4d1425eb2ed /src/model/channel/embed.rs
parentFix no-framework compilation (diff)
downloadserenity-6acc5fe15070daa87d3221c9be67c87026e7c6c1.tar.xz
serenity-6acc5fe15070daa87d3221c9be67c87026e7c6c1.zip
Make EmbedFooter icon URLs optional
Diffstat (limited to 'src/model/channel/embed.rs')
-rw-r--r--src/model/channel/embed.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/channel/embed.rs b/src/model/channel/embed.rs
index 249887b..c0ac1e4 100644
--- a/src/model/channel/embed.rs
+++ b/src/model/channel/embed.rs
@@ -128,9 +128,9 @@ pub struct EmbedFooter {
/// The URL of the footer icon.
///
/// This only supports HTTP(S).
- pub icon_url: String,
+ pub icon_url: Option<String>,
/// A proxied URL of the footer icon.
- pub proxy_icon_url: String,
+ pub proxy_icon_url: Option<String>,
/// The associated text with the footer.
pub text: String,
}