diff options
| author | Zeyla Hellyer <[email protected]> | 2017-06-14 12:01:58 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-06-14 12:01:58 -0700 |
| commit | 6acc5fe15070daa87d3221c9be67c87026e7c6c1 (patch) | |
| tree | ea10f41a9b4ae1e70e599004abe9f4d1425eb2ed /src/model/channel/embed.rs | |
| parent | Fix no-framework compilation (diff) | |
| download | serenity-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.rs | 4 |
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, } |