aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel/embed.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-10 08:01:23 -0700
committerZeyla Hellyer <[email protected]>2018-07-11 22:54:08 -0700
commit0d6e019c258a8f2e743bcab196acab50b01e3958 (patch)
tree4db148169920d0a14652d9c08b68b8e5288cbbd8 /src/model/channel/embed.rs
parentimpl Mentionable for GuildChannel (#348) (diff)
downloadserenity-0d6e019c258a8f2e743bcab196acab50b01e3958.tar.xz
serenity-0d6e019c258a8f2e743bcab196acab50b01e3958.zip
Fix doc links with no anchor
Diffstat (limited to 'src/model/channel/embed.rs')
-rw-r--r--src/model/channel/embed.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/model/channel/embed.rs b/src/model/channel/embed.rs
index bc2d0da..b776d27 100644
--- a/src/model/channel/embed.rs
+++ b/src/model/channel/embed.rs
@@ -50,6 +50,8 @@ pub struct Embed {
///
/// For example, if the embed [`kind`] is `"video"`, the provider might
/// contain information about YouTube.
+ ///
+ /// [`kind`]: #structfield.kind
pub provider: Option<EmbedProvider>,
/// Thumbnail information of the embed.
pub thumbnail: Option<EmbedThumbnail>,
@@ -62,6 +64,8 @@ pub struct Embed {
/// The embed's video information.
///
/// This is present if the [`kind`] is `"video"`.
+ ///
+ /// [`kind`]: #structfield.kind
pub video: Option<EmbedVideo>,
}