From bf52362281d54969b2540dbb6e93273ed2656c0f Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" Date: Sun, 17 Sep 2023 13:36:36 +0000 Subject: [PATCH] deploy: a99bd34058c03abebbd23be264e1ea3728c89455 --- help.html | 2 +- implementors/alloc/borrow/trait.ToOwned.js | 2 +- implementors/arbitrary/trait.Arbitrary.js | 2 +- implementors/core/borrow/trait.Borrow.js | 2 +- implementors/core/clone/trait.Clone.js | 2 +- implementors/core/cmp/trait.Eq.js | 2 +- implementors/core/cmp/trait.Ord.js | 2 +- implementors/core/cmp/trait.PartialEq.js | 2 +- implementors/core/cmp/trait.PartialOrd.js | 2 +- implementors/core/convert/trait.AsRef.js | 2 +- implementors/core/convert/trait.From.js | 2 +- implementors/core/convert/trait.TryFrom.js | 2 +- implementors/core/default/trait.Default.js | 2 +- implementors/core/fmt/trait.Debug.js | 2 +- implementors/core/fmt/trait.Display.js | 2 +- implementors/core/hash/trait.Hash.js | 2 +- implementors/core/marker/trait.Copy.js | 2 +- .../core/marker/trait.StructuralEq.js | 2 +- .../core/marker/trait.StructuralPartialEq.js | 2 +- implementors/core/ops/deref/trait.Deref.js | 2 +- implementors/core/str/traits/trait.FromStr.js | 2 +- implementors/serde/de/trait.Deserialize.js | 2 +- implementors/serde/ser/trait.Serialize.js | 2 +- .../zerofrom/zero_from/trait.ZeroFrom.js | 2 +- search-index.js | 2 +- settings.html | 2 +- src/twitch_types/basic.rs.html | 6 +- src/twitch_types/color.rs.html | 4 +- src/twitch_types/emote.rs.html | 44 ++++++++++---- src/twitch_types/eventsub.rs.html | 2 +- src/twitch_types/goal.rs.html | 12 ++-- src/twitch_types/lib.rs.html | 2 +- src/twitch_types/macros.rs.html | 2 +- src/twitch_types/moderation.rs.html | 12 ++-- src/twitch_types/points.rs.html | 60 +++++++++++++++---- src/twitch_types/stream.rs.html | 40 ++++++++++--- src/twitch_types/time.rs.html | 2 +- src/twitch_types/user.rs.html | 12 ++-- static.files/ayu-8c3c66a6cf12cb2f.css | 1 - static.files/dark-3388a2fb2ef8066b.css | 1 - static.files/light-b2d31d2efc7e9b67.css | 1 - static.files/main-ef3a2de404864b0b.js | 12 ---- static.files/main-f6ec288034ea164c.js | 12 ++++ static.files/noscript-5d8b3c7633ad77ba.css | 1 + static.files/noscript-cffde32267a19fd6.css | 1 - static.files/rustdoc-085727c29c2fa99e.css | 10 ++++ static.files/rustdoc-47e7ab555ef2818a.css | 8 --- ...5eff6596.js => search-5d3eaacf19ebf04f.js} | 4 +- ...e9d4e5.js => settings-74424d7eec62a23e.js} | 4 +- static.files/settings-8c76f75bfb6bd192.css | 3 - static.files/storage-db41da1a38ea3cb8.js | 1 - static.files/storage-fec3eaa3851e447d.js | 1 + twitch_types/all.html | 2 +- twitch_types/color/enum.NamedUserColor.html | 4 +- twitch_types/color/index.html | 2 +- twitch_types/color/struct.HexColor.html | 28 ++++----- twitch_types/color/struct.HexColorRef.html | 24 ++++---- .../emote/enum.EmoteAnimationSetting.html | 12 ++-- twitch_types/emote/enum.EmoteScale.html | 12 ++-- twitch_types/emote/enum.EmoteThemeMode.html | 10 ++-- twitch_types/emote/index.html | 2 +- twitch_types/emote/struct.BadgeSetId.html | 52 ++++++++-------- twitch_types/emote/struct.BadgeSetIdRef.html | 42 ++++++------- twitch_types/emote/struct.ChatBadgeId.html | 52 ++++++++-------- twitch_types/emote/struct.ChatBadgeIdRef.html | 42 ++++++------- twitch_types/emote/struct.EmoteId.html | 56 ++++++++--------- twitch_types/emote/struct.EmoteIdRef.html | 46 +++++++------- twitch_types/emote/struct.EmoteSetId.html | 52 ++++++++-------- twitch_types/emote/struct.EmoteSetIdRef.html | 42 ++++++------- .../emote/struct.EmoteUrlBuilder.html | 24 ++++---- twitch_types/emote/struct.Image.html | 12 ++-- .../emote/struct.ResubscriptionEmote.html | 12 ++-- twitch_types/enum.BroadcasterType.html | 16 ++--- twitch_types/enum.UserType.html | 16 ++--- twitch_types/eventsub/index.html | 2 +- twitch_types/eventsub/struct.EventSubId.html | 32 +++++----- .../eventsub/struct.EventSubIdRef.html | 26 ++++---- twitch_types/goal/enum.CreatorGoalType.html | 12 ++-- twitch_types/goal/index.html | 2 +- twitch_types/goal/struct.CreatorGoalId.html | 52 ++++++++-------- .../goal/struct.CreatorGoalIdRef.html | 42 ++++++------- twitch_types/index.html | 2 +- .../moderation/enum.AutomodStatus.html | 12 ++-- twitch_types/moderation/index.html | 2 +- .../moderation/struct.BlockedTermId.html | 52 ++++++++-------- .../moderation/struct.BlockedTermIdRef.html | 42 ++++++------- twitch_types/moderation/struct.MsgId.html | 30 +++++----- twitch_types/moderation/struct.MsgIdRef.html | 22 +++---- twitch_types/points/enum.Max.html | 12 ++-- twitch_types/points/enum.PollStatus.html | 12 ++-- .../points/enum.PredictionStatus.html | 12 ++-- twitch_types/points/index.html | 2 +- .../points/struct.GlobalCooldown.html | 8 +-- twitch_types/points/struct.PollChoice.html | 12 ++-- twitch_types/points/struct.PollChoiceId.html | 52 ++++++++-------- .../points/struct.PollChoiceIdRef.html | 42 ++++++------- twitch_types/points/struct.PollId.html | 52 ++++++++-------- twitch_types/points/struct.PollIdRef.html | 42 ++++++------- twitch_types/points/struct.PredictionId.html | 52 ++++++++-------- .../points/struct.PredictionIdRef.html | 42 ++++++------- .../points/struct.PredictionOutcome.html | 12 ++-- .../points/struct.PredictionOutcomeId.html | 52 ++++++++-------- .../points/struct.PredictionOutcomeIdRef.html | 42 ++++++------- .../struct.PredictionTopPredictors.html | 12 ++-- twitch_types/points/struct.RedemptionId.html | 52 ++++++++-------- .../points/struct.RedemptionIdRef.html | 42 ++++++------- twitch_types/points/struct.RewardId.html | 52 ++++++++-------- twitch_types/points/struct.RewardIdRef.html | 42 ++++++------- .../stream/enum.CommercialLength.html | 14 ++--- .../enum.CommercialLengthParseError.html | 4 +- .../stream/enum.ContentClassificationId.html | 12 ++-- .../stream/enum.SubscriptionTier.html | 12 ++-- twitch_types/stream/enum.VideoPeriod.html | 12 ++-- twitch_types/stream/enum.VideoPrivacy.html | 12 ++-- twitch_types/stream/enum.VideoType.html | 12 ++-- twitch_types/stream/index.html | 2 +- twitch_types/stream/struct.CategoryId.html | 34 +++++------ twitch_types/stream/struct.CategoryIdRef.html | 28 ++++----- .../stream/struct.CharityCampaignId.html | 34 +++++------ .../stream/struct.CharityCampaignIdRef.html | 26 ++++---- .../stream/struct.CharityDonationId.html | 30 +++++----- .../stream/struct.CharityDonationIdRef.html | 24 ++++---- twitch_types/stream/struct.ClipId.html | 30 +++++----- twitch_types/stream/struct.ClipIdRef.html | 24 ++++---- twitch_types/stream/struct.HypeTrainId.html | 32 +++++----- .../stream/struct.HypeTrainIdRef.html | 28 ++++----- twitch_types/stream/struct.IgdbId.html | 32 +++++----- twitch_types/stream/struct.IgdbIdRef.html | 28 ++++----- twitch_types/stream/struct.StreamId.html | 28 ++++----- twitch_types/stream/struct.StreamIdRef.html | 24 ++++---- .../stream/struct.StreamSegmentId.html | 34 +++++------ .../stream/struct.StreamSegmentIdRef.html | 24 ++++---- twitch_types/stream/struct.TagId.html | 34 +++++------ twitch_types/stream/struct.TagIdRef.html | 26 ++++---- twitch_types/stream/struct.TeamId.html | 28 ++++----- twitch_types/stream/struct.TeamIdRef.html | 24 ++++---- .../stream/struct.TwitchCategory.html | 8 +-- twitch_types/stream/struct.VideoId.html | 30 +++++----- twitch_types/stream/struct.VideoIdRef.html | 22 +++---- twitch_types/struct.DisplayName.html | 32 +++++----- twitch_types/struct.DisplayNameRef.html | 24 ++++---- twitch_types/struct.MsgId.html | 30 +++++----- twitch_types/struct.MsgIdRef.html | 22 +++---- twitch_types/struct.Nickname.html | 32 +++++----- twitch_types/struct.NicknameRef.html | 24 ++++---- twitch_types/struct.UserId.html | 34 +++++------ twitch_types/struct.UserIdRef.html | 28 ++++----- .../time/enum.TimestampParseError.html | 4 +- twitch_types/time/index.html | 2 +- twitch_types/time/struct.Timestamp.html | 42 ++++++------- twitch_types/time/struct.TimestampRef.html | 36 +++++------ twitch_types/trait.IntoCow.html | 16 ++--- twitch_types/type.UserName.html | 27 ++++++++- twitch_types/type.UserNameRef.html | 16 ++++- twitch_types/user/index.html | 2 +- twitch_types/user/struct.User.html | 12 ++-- 156 files changed, 1528 insertions(+), 1413 deletions(-) delete mode 100644 static.files/ayu-8c3c66a6cf12cb2f.css delete mode 100644 static.files/dark-3388a2fb2ef8066b.css delete mode 100644 static.files/light-b2d31d2efc7e9b67.css delete mode 100644 static.files/main-ef3a2de404864b0b.js create mode 100644 static.files/main-f6ec288034ea164c.js create mode 100644 static.files/noscript-5d8b3c7633ad77ba.css delete mode 100644 static.files/noscript-cffde32267a19fd6.css create mode 100644 static.files/rustdoc-085727c29c2fa99e.css delete mode 100644 static.files/rustdoc-47e7ab555ef2818a.css rename static.files/{search-6dfdfced5eff6596.js => search-5d3eaacf19ebf04f.js} (57%) rename static.files/{settings-de11bff964e9d4e5.js => settings-74424d7eec62a23e.js} (70%) delete mode 100644 static.files/settings-8c76f75bfb6bd192.css delete mode 100644 static.files/storage-db41da1a38ea3cb8.js create mode 100644 static.files/storage-fec3eaa3851e447d.js diff --git a/help.html b/help.html index cdc014c4..13a4874b 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Rustdoc help

Rustdoc help

Back
\ No newline at end of file +Rustdoc help

Rustdoc help

Back
\ No newline at end of file diff --git a/implementors/alloc/borrow/trait.ToOwned.js b/implementors/alloc/borrow/trait.ToOwned.js index 1f422a1e..19f00c36 100644 --- a/implementors/alloc/borrow/trait.ToOwned.js +++ b/implementors/alloc/borrow/trait.ToOwned.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl ToOwned for BadgeSetIdRef"],["impl ToOwned for DisplayNameRef"],["impl ToOwned for ChatBadgeIdRef"],["impl ToOwned for EmoteSetIdRef"],["impl ToOwned for RewardIdRef"],["impl ToOwned for RedemptionIdRef"],["impl ToOwned for HexColorRef"],["impl ToOwned for PredictionIdRef"],["impl ToOwned for CharityDonationIdRef"],["impl ToOwned for PredictionOutcomeIdRef"],["impl ToOwned for StreamSegmentIdRef"],["impl ToOwned for CategoryIdRef"],["impl ToOwned for ClipIdRef"],["impl ToOwned for NicknameRef"],["impl ToOwned for TagIdRef"],["impl ToOwned for TeamIdRef"],["impl ToOwned for VideoIdRef"],["impl ToOwned for EmoteIdRef"],["impl ToOwned for CharityCampaignIdRef"],["impl ToOwned for HypeTrainIdRef"],["impl ToOwned for IgdbIdRef"],["impl ToOwned for StreamIdRef"],["impl ToOwned for MsgIdRef"],["impl ToOwned for CreatorGoalIdRef"],["impl ToOwned for PollChoiceIdRef"],["impl ToOwned for BlockedTermIdRef"],["impl ToOwned for UserIdRef"],["impl ToOwned for TimestampRef"],["impl ToOwned for PollIdRef"],["impl ToOwned for EventSubIdRef"]] +"twitch_types":[["impl ToOwned for TimestampRef"],["impl ToOwned for CreatorGoalIdRef"],["impl ToOwned for EmoteIdRef"],["impl ToOwned for RewardIdRef"],["impl ToOwned for HexColorRef"],["impl ToOwned for ClipIdRef"],["impl ToOwned for CategoryIdRef"],["impl ToOwned for PollChoiceIdRef"],["impl ToOwned for CharityDonationIdRef"],["impl ToOwned for BadgeSetIdRef"],["impl ToOwned for VideoIdRef"],["impl ToOwned for TeamIdRef"],["impl ToOwned for ChatBadgeIdRef"],["impl ToOwned for CharityCampaignIdRef"],["impl ToOwned for EventSubIdRef"],["impl ToOwned for BlockedTermIdRef"],["impl ToOwned for HypeTrainIdRef"],["impl ToOwned for PollIdRef"],["impl ToOwned for NicknameRef"],["impl ToOwned for MsgIdRef"],["impl ToOwned for DisplayNameRef"],["impl ToOwned for PredictionIdRef"],["impl ToOwned for StreamIdRef"],["impl ToOwned for TagIdRef"],["impl ToOwned for EmoteSetIdRef"],["impl ToOwned for UserIdRef"],["impl ToOwned for StreamSegmentIdRef"],["impl ToOwned for RedemptionIdRef"],["impl ToOwned for IgdbIdRef"],["impl ToOwned for PredictionOutcomeIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/arbitrary/trait.Arbitrary.js b/implementors/arbitrary/trait.Arbitrary.js index 8b5f7f4b..822ab69f 100644 --- a/implementors/arbitrary/trait.Arbitrary.js +++ b/implementors/arbitrary/trait.Arbitrary.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl<'a> Arbitrary<'a> for &'a PollIdRef"],["impl<'a> Arbitrary<'a> for RedemptionId"],["impl<'a> Arbitrary<'a> for &'a HypeTrainIdRef"],["impl<'a> Arbitrary<'a> for NamedUserColor<'a>"],["impl<'a> Arbitrary<'a> for &'a VideoIdRef"],["impl<'a> Arbitrary<'a> for &'a NicknameRef"],["impl<'a> Arbitrary<'a> for &'a ClipIdRef"],["impl<'a> Arbitrary<'a> for BadgeSetId"],["impl<'a> Arbitrary<'a> for &'a BadgeSetIdRef"],["impl<'a> Arbitrary<'a> for RewardId"],["impl<'a> Arbitrary<'a> for CharityCampaignId"],["impl<'a> Arbitrary<'a> for &'a RewardIdRef"],["impl<'a> Arbitrary<'a> for BlockedTermId"],["impl<'a> Arbitrary<'a> for &'a PredictionOutcomeIdRef"],["impl<'a> Arbitrary<'a> for Nickname"],["impl<'a> Arbitrary<'a> for &'a CategoryIdRef"],["impl<'a> Arbitrary<'a> for CharityDonationId"],["impl<'a> Arbitrary<'a> for HypeTrainId"],["impl<'a> Arbitrary<'a> for TeamId"],["impl<'a> Arbitrary<'a> for PollChoiceId"],["impl<'a> Arbitrary<'a> for &'a EmoteIdRef"],["impl<'a> Arbitrary<'a> for PredictionOutcomeId"],["impl<'a> Arbitrary<'a> for &'a EventSubIdRef"],["impl<'a> Arbitrary<'a> for &'a ChatBadgeIdRef"],["impl<'a> Arbitrary<'a> for StreamSegmentId"],["impl<'a> Arbitrary<'a> for PredictionId"],["impl<'a> Arbitrary<'a> for &'a PollChoiceIdRef"],["impl<'a> Arbitrary<'a> for &'a RedemptionIdRef"],["impl<'a> Arbitrary<'a> for DisplayName"],["impl<'a> Arbitrary<'a> for HexColor"],["impl<'a> Arbitrary<'a> for StreamId"],["impl<'a> Arbitrary<'a> for EmoteSetId"],["impl<'a> Arbitrary<'a> for EventSubId"],["impl<'a> Arbitrary<'a> for UserId"],["impl<'a> Arbitrary<'a> for &'a StreamSegmentIdRef"],["impl<'a> Arbitrary<'a> for PollId"],["impl<'a> Arbitrary<'a> for CategoryId"],["impl<'a> Arbitrary<'a> for TagId"],["impl<'a> Arbitrary<'a> for &'a TagIdRef"],["impl<'a> Arbitrary<'a> for &'a TeamIdRef"],["impl<'a> Arbitrary<'a> for ChatBadgeId"],["impl<'a> Arbitrary<'a> for IgdbId"],["impl<'a> Arbitrary<'a> for CreatorGoalId"],["impl<'a> Arbitrary<'a> for Timestamp"],["impl<'a> Arbitrary<'a> for &'a PredictionIdRef"],["impl<'a> Arbitrary<'a> for &'a DisplayNameRef"],["impl<'a> Arbitrary<'a> for MsgId"],["impl<'a> Arbitrary<'a> for &'a MsgIdRef"],["impl<'a> Arbitrary<'a> for &'a BlockedTermIdRef"],["impl<'a> Arbitrary<'a> for &'a CharityCampaignIdRef"],["impl<'a> Arbitrary<'a> for ClipId"],["impl<'a> Arbitrary<'a> for &'a UserIdRef"],["impl<'a> Arbitrary<'a> for EmoteId"],["impl<'a> Arbitrary<'a> for VideoId"],["impl<'a> Arbitrary<'a> for &'a StreamIdRef"],["impl<'a> Arbitrary<'a> for &'a CreatorGoalIdRef"],["impl<'a> Arbitrary<'a> for &'a CharityDonationIdRef"],["impl<'a> Arbitrary<'a> for &'a IgdbIdRef"],["impl<'a> Arbitrary<'a> for &'a EmoteSetIdRef"]] +"twitch_types":[["impl<'a> Arbitrary<'a> for HexColor"],["impl<'a> Arbitrary<'a> for StreamSegmentId"],["impl<'a> Arbitrary<'a> for DisplayName"],["impl<'a> Arbitrary<'a> for &'a DisplayNameRef"],["impl<'a> Arbitrary<'a> for &'a ClipIdRef"],["impl<'a> Arbitrary<'a> for ChatBadgeId"],["impl<'a> Arbitrary<'a> for &'a VideoIdRef"],["impl<'a> Arbitrary<'a> for &'a NicknameRef"],["impl<'a> Arbitrary<'a> for &'a MsgIdRef"],["impl<'a> Arbitrary<'a> for NamedUserColor<'a>"],["impl<'a> Arbitrary<'a> for &'a BlockedTermIdRef"],["impl<'a> Arbitrary<'a> for &'a PollIdRef"],["impl<'a> Arbitrary<'a> for TeamId"],["impl<'a> Arbitrary<'a> for TagId"],["impl<'a> Arbitrary<'a> for CharityDonationId"],["impl<'a> Arbitrary<'a> for PollChoiceId"],["impl<'a> Arbitrary<'a> for &'a CharityDonationIdRef"],["impl<'a> Arbitrary<'a> for PredictionId"],["impl<'a> Arbitrary<'a> for CreatorGoalId"],["impl<'a> Arbitrary<'a> for PredictionOutcomeId"],["impl<'a> Arbitrary<'a> for &'a StreamIdRef"],["impl<'a> Arbitrary<'a> for &'a CategoryIdRef"],["impl<'a> Arbitrary<'a> for RedemptionId"],["impl<'a> Arbitrary<'a> for &'a RewardIdRef"],["impl<'a> Arbitrary<'a> for &'a StreamSegmentIdRef"],["impl<'a> Arbitrary<'a> for &'a CharityCampaignIdRef"],["impl<'a> Arbitrary<'a> for RewardId"],["impl<'a> Arbitrary<'a> for Nickname"],["impl<'a> Arbitrary<'a> for ClipId"],["impl<'a> Arbitrary<'a> for &'a ChatBadgeIdRef"],["impl<'a> Arbitrary<'a> for &'a BadgeSetIdRef"],["impl<'a> Arbitrary<'a> for VideoId"],["impl<'a> Arbitrary<'a> for CharityCampaignId"],["impl<'a> Arbitrary<'a> for &'a CreatorGoalIdRef"],["impl<'a> Arbitrary<'a> for UserId"],["impl<'a> Arbitrary<'a> for &'a PredictionOutcomeIdRef"],["impl<'a> Arbitrary<'a> for &'a TeamIdRef"],["impl<'a> Arbitrary<'a> for BadgeSetId"],["impl<'a> Arbitrary<'a> for &'a PollChoiceIdRef"],["impl<'a> Arbitrary<'a> for &'a HypeTrainIdRef"],["impl<'a> Arbitrary<'a> for IgdbId"],["impl<'a> Arbitrary<'a> for BlockedTermId"],["impl<'a> Arbitrary<'a> for StreamId"],["impl<'a> Arbitrary<'a> for MsgId"],["impl<'a> Arbitrary<'a> for &'a RedemptionIdRef"],["impl<'a> Arbitrary<'a> for &'a PredictionIdRef"],["impl<'a> Arbitrary<'a> for HypeTrainId"],["impl<'a> Arbitrary<'a> for EmoteSetId"],["impl<'a> Arbitrary<'a> for Timestamp"],["impl<'a> Arbitrary<'a> for &'a TagIdRef"],["impl<'a> Arbitrary<'a> for &'a EventSubIdRef"],["impl<'a> Arbitrary<'a> for PollId"],["impl<'a> Arbitrary<'a> for CategoryId"],["impl<'a> Arbitrary<'a> for &'a EmoteIdRef"],["impl<'a> Arbitrary<'a> for &'a UserIdRef"],["impl<'a> Arbitrary<'a> for EmoteId"],["impl<'a> Arbitrary<'a> for &'a IgdbIdRef"],["impl<'a> Arbitrary<'a> for EventSubId"],["impl<'a> Arbitrary<'a> for &'a EmoteSetIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/borrow/trait.Borrow.js b/implementors/core/borrow/trait.Borrow.js index 87afe15a..598bd628 100644 --- a/implementors/core/borrow/trait.Borrow.js +++ b/implementors/core/borrow/trait.Borrow.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Borrow<str> for NicknameRef"],["impl Borrow<str> for PollIdRef"],["impl Borrow<StreamIdRef> for StreamId"],["impl Borrow<PollChoiceIdRef> for PollChoiceId"],["impl Borrow<str> for TagId"],["impl Borrow<str> for TeamId"],["impl Borrow<str> for EmoteSetId"],["impl Borrow<str> for CategoryId"],["impl Borrow<str> for BadgeSetId"],["impl Borrow<str> for ClipIdRef"],["impl Borrow<PollIdRef> for PollId"],["impl Borrow<str> for RedemptionId"],["impl Borrow<str> for TagIdRef"],["impl Borrow<str> for TeamIdRef"],["impl Borrow<str> for EventSubId"],["impl Borrow<str> for VideoIdRef"],["impl Borrow<str> for BadgeSetIdRef"],["impl Borrow<str> for UserIdRef"],["impl Borrow<str> for CharityCampaignId"],["impl Borrow<str> for PollChoiceId"],["impl Borrow<str> for StreamIdRef"],["impl Borrow<str> for CategoryIdRef"],["impl Borrow<str> for ChatBadgeId"],["impl Borrow<NicknameRef> for Nickname"],["impl Borrow<str> for CreatorGoalIdRef"],["impl Borrow<str> for PollId"],["impl Borrow<str> for BlockedTermIdRef"],["impl Borrow<MsgIdRef> for MsgId"],["impl Borrow<TagIdRef> for TagId"],["impl Borrow<VideoIdRef> for VideoId"],["impl Borrow<str> for RewardId"],["impl Borrow<RewardIdRef> for RewardId"],["impl Borrow<str> for DisplayNameRef"],["impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl Borrow<str> for DisplayName"],["impl Borrow<str> for RedemptionIdRef"],["impl Borrow<EmoteIdRef> for EmoteId"],["impl Borrow<RedemptionIdRef> for RedemptionId"],["impl Borrow<str> for EmoteSetIdRef"],["impl Borrow<str> for EmoteId"],["impl Borrow<str> for PredictionOutcomeId"],["impl Borrow<str> for PredictionOutcomeIdRef"],["impl Borrow<TeamIdRef> for TeamId"],["impl Borrow<str> for ChatBadgeIdRef"],["impl Borrow<BlockedTermIdRef> for BlockedTermId"],["impl Borrow<str> for EmoteIdRef"],["impl Borrow<str> for CreatorGoalId"],["impl Borrow<str> for BlockedTermId"],["impl Borrow<str> for StreamSegmentId"],["impl Borrow<str> for MsgId"],["impl Borrow<str> for PredictionIdRef"],["impl Borrow<ChatBadgeIdRef> for ChatBadgeId"],["impl Borrow<EventSubIdRef> for EventSubId"],["impl Borrow<BadgeSetIdRef> for BadgeSetId"],["impl Borrow<CharityDonationIdRef> for CharityDonationId"],["impl Borrow<HexColorRef> for HexColor"],["impl Borrow<EmoteSetIdRef> for EmoteSetId"],["impl Borrow<ClipIdRef> for ClipId"],["impl Borrow<StreamSegmentIdRef> for StreamSegmentId"],["impl Borrow<TimestampRef> for Timestamp"],["impl Borrow<str> for PredictionId"],["impl Borrow<CategoryIdRef> for CategoryId"],["impl Borrow<str> for HexColorRef"],["impl Borrow<str> for CharityDonationIdRef"],["impl Borrow<str> for CharityDonationId"],["impl Borrow<str> for EventSubIdRef"],["impl Borrow<str> for HexColor"],["impl Borrow<CreatorGoalIdRef> for CreatorGoalId"],["impl Borrow<str> for RewardIdRef"],["impl Borrow<str> for StreamSegmentIdRef"],["impl Borrow<str> for CharityCampaignIdRef"],["impl Borrow<UserIdRef> for UserId"],["impl Borrow<str> for PollChoiceIdRef"],["impl Borrow<str> for IgdbId"],["impl Borrow<str> for UserId"],["impl Borrow<str> for HypeTrainId"],["impl Borrow<str> for StreamId"],["impl Borrow<str> for HypeTrainIdRef"],["impl Borrow<str> for VideoId"],["impl Borrow<str> for ClipId"],["impl Borrow<PredictionIdRef> for PredictionId"],["impl Borrow<IgdbIdRef> for IgdbId"],["impl Borrow<str> for IgdbIdRef"],["impl Borrow<HypeTrainIdRef> for HypeTrainId"],["impl Borrow<str> for Timestamp"],["impl Borrow<DisplayNameRef> for DisplayName"],["impl Borrow<str> for MsgIdRef"],["impl Borrow<str> for TimestampRef"],["impl Borrow<str> for Nickname"],["impl Borrow<CharityCampaignIdRef> for CharityCampaignId"]] +"twitch_types":[["impl Borrow<str> for BlockedTermId"],["impl Borrow<str> for ClipIdRef"],["impl Borrow<EmoteIdRef> for EmoteId"],["impl Borrow<str> for BlockedTermIdRef"],["impl Borrow<str> for DisplayName"],["impl Borrow<VideoIdRef> for VideoId"],["impl Borrow<ClipIdRef> for ClipId"],["impl Borrow<str> for PredictionOutcomeIdRef"],["impl Borrow<str> for PredictionIdRef"],["impl Borrow<str> for IgdbId"],["impl Borrow<PollChoiceIdRef> for PollChoiceId"],["impl Borrow<TimestampRef> for Timestamp"],["impl Borrow<str> for RewardId"],["impl Borrow<RedemptionIdRef> for RedemptionId"],["impl Borrow<str> for DisplayNameRef"],["impl Borrow<str> for Timestamp"],["impl Borrow<str> for RedemptionIdRef"],["impl Borrow<str> for TimestampRef"],["impl Borrow<CreatorGoalIdRef> for CreatorGoalId"],["impl Borrow<str> for ChatBadgeId"],["impl Borrow<BadgeSetIdRef> for BadgeSetId"],["impl Borrow<str> for VideoIdRef"],["impl Borrow<MsgIdRef> for MsgId"],["impl Borrow<str> for TagIdRef"],["impl Borrow<str> for CharityCampaignIdRef"],["impl Borrow<str> for EventSubIdRef"],["impl Borrow<str> for StreamId"],["impl Borrow<RewardIdRef> for RewardId"],["impl Borrow<str> for EmoteSetId"],["impl Borrow<str> for HexColorRef"],["impl Borrow<TeamIdRef> for TeamId"],["impl Borrow<IgdbIdRef> for IgdbId"],["impl Borrow<str> for MsgIdRef"],["impl Borrow<str> for EmoteIdRef"],["impl Borrow<str> for CreatorGoalId"],["impl Borrow<StreamIdRef> for StreamId"],["impl Borrow<NicknameRef> for Nickname"],["impl Borrow<str> for PollChoiceIdRef"],["impl Borrow<EventSubIdRef> for EventSubId"],["impl Borrow<str> for Nickname"],["impl Borrow<str> for PollIdRef"],["impl Borrow<HypeTrainIdRef> for HypeTrainId"],["impl Borrow<PredictionIdRef> for PredictionId"],["impl Borrow<str> for CategoryIdRef"],["impl Borrow<CharityDonationIdRef> for CharityDonationId"],["impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl Borrow<str> for CreatorGoalIdRef"],["impl Borrow<HexColorRef> for HexColor"],["impl Borrow<str> for BadgeSetIdRef"],["impl Borrow<PollIdRef> for PollId"],["impl Borrow<str> for CharityDonationId"],["impl Borrow<str> for CharityCampaignId"],["impl Borrow<str> for BadgeSetId"],["impl Borrow<str> for EmoteId"],["impl Borrow<str> for IgdbIdRef"],["impl Borrow<str> for StreamSegmentId"],["impl Borrow<str> for NicknameRef"],["impl Borrow<CategoryIdRef> for CategoryId"],["impl Borrow<str> for TeamIdRef"],["impl Borrow<EmoteSetIdRef> for EmoteSetId"],["impl Borrow<str> for TagId"],["impl Borrow<str> for StreamSegmentIdRef"],["impl Borrow<str> for PredictionOutcomeId"],["impl Borrow<str> for RedemptionId"],["impl Borrow<CharityCampaignIdRef> for CharityCampaignId"],["impl Borrow<str> for EmoteSetIdRef"],["impl Borrow<str> for PollId"],["impl Borrow<str> for HypeTrainIdRef"],["impl Borrow<StreamSegmentIdRef> for StreamSegmentId"],["impl Borrow<str> for HypeTrainId"],["impl Borrow<str> for HexColor"],["impl Borrow<BlockedTermIdRef> for BlockedTermId"],["impl Borrow<str> for StreamIdRef"],["impl Borrow<str> for ChatBadgeIdRef"],["impl Borrow<str> for VideoId"],["impl Borrow<str> for RewardIdRef"],["impl Borrow<str> for MsgId"],["impl Borrow<str> for EventSubId"],["impl Borrow<str> for UserId"],["impl Borrow<str> for CategoryId"],["impl Borrow<DisplayNameRef> for DisplayName"],["impl Borrow<str> for CharityDonationIdRef"],["impl Borrow<str> for TeamId"],["impl Borrow<str> for PollChoiceId"],["impl Borrow<str> for PredictionId"],["impl Borrow<UserIdRef> for UserId"],["impl Borrow<str> for UserIdRef"],["impl Borrow<ChatBadgeIdRef> for ChatBadgeId"],["impl Borrow<str> for ClipId"],["impl Borrow<TagIdRef> for TagId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 26dfd21a..1a5c871d 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Clone for PollId"],["impl Clone for PredictionStatus"],["impl Clone for EmoteId"],["impl Clone for BroadcasterType"],["impl Clone for HexColor"],["impl Clone for ChatBadgeId"],["impl<'a> Clone for EmoteUrlBuilder<'a>"],["impl Clone for ClipId"],["impl Clone for CharityDonationId"],["impl Clone for PollChoiceId"],["impl Clone for UserId"],["impl Clone for EventSubId"],["impl Clone for EmoteScale"],["impl Clone for GlobalCooldown"],["impl Clone for EmoteSetId"],["impl Clone for ContentClassificationId"],["impl Clone for CreatorGoalType"],["impl Clone for StreamSegmentId"],["impl Clone for CommercialLength"],["impl Clone for UserType"],["impl Clone for VideoPeriod"],["impl Clone for Timestamp"],["impl Clone for PredictionOutcomeId"],["impl Clone for DisplayName"],["impl Clone for PredictionId"],["impl Clone for Max"],["impl Clone for BadgeSetId"],["impl Clone for BlockedTermId"],["impl Clone for ResubscriptionEmote"],["impl Clone for PollStatus"],["impl Clone for PollChoice"],["impl Clone for TagId"],["impl Clone for VideoPrivacy"],["impl Clone for Image"],["impl Clone for StreamId"],["impl Clone for CreatorGoalId"],["impl Clone for RewardId"],["impl Clone for SubscriptionTier"],["impl Clone for PredictionOutcome"],["impl<'a> Clone for NamedUserColor<'a>"],["impl Clone for PredictionTopPredictors"],["impl Clone for TeamId"],["impl Clone for EmoteAnimationSetting"],["impl Clone for RedemptionId"],["impl Clone for Nickname"],["impl Clone for MsgId"],["impl Clone for AutomodStatus"],["impl Clone for User"],["impl Clone for TwitchCategory"],["impl Clone for HypeTrainId"],["impl Clone for VideoType"],["impl Clone for IgdbId"],["impl Clone for EmoteThemeMode"],["impl Clone for CharityCampaignId"],["impl Clone for CategoryId"],["impl Clone for VideoId"]] +"twitch_types":[["impl Clone for DisplayName"],["impl Clone for PollId"],["impl Clone for HexColor"],["impl Clone for Max"],["impl Clone for BlockedTermId"],["impl Clone for PredictionId"],["impl Clone for EventSubId"],["impl Clone for EmoteSetId"],["impl Clone for ClipId"],["impl Clone for ContentClassificationId"],["impl Clone for PollChoice"],["impl Clone for VideoType"],["impl Clone for Timestamp"],["impl Clone for RewardId"],["impl Clone for CreatorGoalId"],["impl Clone for TeamId"],["impl Clone for HypeTrainId"],["impl Clone for CommercialLength"],["impl Clone for AutomodStatus"],["impl Clone for VideoId"],["impl Clone for BadgeSetId"],["impl Clone for ResubscriptionEmote"],["impl Clone for IgdbId"],["impl Clone for UserId"],["impl Clone for RedemptionId"],["impl Clone for EmoteAnimationSetting"],["impl Clone for CreatorGoalType"],["impl Clone for Nickname"],["impl Clone for PredictionStatus"],["impl Clone for EmoteScale"],["impl Clone for BroadcasterType"],["impl Clone for StreamId"],["impl Clone for PredictionOutcomeId"],["impl Clone for MsgId"],["impl Clone for CategoryId"],["impl Clone for CharityCampaignId"],["impl Clone for User"],["impl<'a> Clone for EmoteUrlBuilder<'a>"],["impl Clone for EmoteThemeMode"],["impl Clone for PollStatus"],["impl Clone for VideoPrivacy"],["impl Clone for EmoteId"],["impl Clone for TwitchCategory"],["impl Clone for PredictionTopPredictors"],["impl Clone for PollChoiceId"],["impl Clone for UserType"],["impl Clone for ChatBadgeId"],["impl Clone for VideoPeriod"],["impl Clone for SubscriptionTier"],["impl Clone for StreamSegmentId"],["impl Clone for PredictionOutcome"],["impl Clone for GlobalCooldown"],["impl<'a> Clone for NamedUserColor<'a>"],["impl Clone for TagId"],["impl Clone for Image"],["impl Clone for CharityDonationId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Eq.js b/implementors/core/cmp/trait.Eq.js index ac83210c..27b2f175 100644 --- a/implementors/core/cmp/trait.Eq.js +++ b/implementors/core/cmp/trait.Eq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Eq for TagIdRef"],["impl Eq for CreatorGoalId"],["impl Eq for ClipIdRef"],["impl Eq for CategoryId"],["impl Eq for CharityCampaignIdRef"],["impl Eq for PollId"],["impl Eq for CharityDonationIdRef"],["impl Eq for EventSubId"],["impl Eq for VideoPrivacy"],["impl Eq for TeamIdRef"],["impl Eq for UserId"],["impl Eq for EmoteId"],["impl Eq for RedemptionId"],["impl Eq for MsgId"],["impl Eq for HexColorRef"],["impl Eq for ChatBadgeIdRef"],["impl Eq for TimestampRef"],["impl Eq for RewardId"],["impl Eq for AutomodStatus"],["impl Eq for VideoId"],["impl Eq for PollChoiceIdRef"],["impl Eq for CommercialLength"],["impl Eq for VideoType"],["impl Eq for PredictionOutcomeIdRef"],["impl Eq for BlockedTermIdRef"],["impl Eq for NicknameRef"],["impl Eq for VideoIdRef"],["impl Eq for Image"],["impl Eq for TagId"],["impl Eq for StreamSegmentIdRef"],["impl Eq for BadgeSetIdRef"],["impl Eq for CreatorGoalIdRef"],["impl Eq for EmoteSetId"],["impl Eq for DisplayName"],["impl Eq for CharityCampaignId"],["impl Eq for Nickname"],["impl Eq for StreamSegmentId"],["impl Eq for BroadcasterType"],["impl Eq for HypeTrainIdRef"],["impl Eq for TeamId"],["impl Eq for UserType"],["impl Eq for PredictionTopPredictors"],["impl Eq for PredictionId"],["impl Eq for EmoteThemeMode"],["impl Eq for CategoryIdRef"],["impl Eq for DisplayNameRef"],["impl Eq for Max"],["impl Eq for IgdbId"],["impl Eq for RewardIdRef"],["impl Eq for PredictionOutcomeId"],["impl Eq for EventSubIdRef"],["impl Eq for IgdbIdRef"],["impl Eq for PollStatus"],["impl Eq for CreatorGoalType"],["impl Eq for PollIdRef"],["impl Eq for ResubscriptionEmote"],["impl Eq for ChatBadgeId"],["impl Eq for PredictionIdRef"],["impl Eq for ClipId"],["impl Eq for PredictionStatus"],["impl Eq for HexColor"],["impl Eq for PredictionOutcome"],["impl Eq for PollChoiceId"],["impl Eq for StreamIdRef"],["impl Eq for VideoPeriod"],["impl Eq for MsgIdRef"],["impl Eq for HypeTrainId"],["impl Eq for GlobalCooldown"],["impl Eq for StreamId"],["impl Eq for BadgeSetId"],["impl Eq for SubscriptionTier"],["impl<'a> Eq for NamedUserColor<'a>"],["impl Eq for RedemptionIdRef"],["impl Eq for Timestamp"],["impl Eq for PollChoice"],["impl Eq for CharityDonationId"],["impl Eq for EmoteAnimationSetting"],["impl Eq for User"],["impl Eq for EmoteIdRef"],["impl Eq for EmoteScale"],["impl Eq for ContentClassificationId"],["impl Eq for EmoteSetIdRef"],["impl Eq for UserIdRef"],["impl Eq for BlockedTermId"],["impl Eq for TwitchCategory"]] +"twitch_types":[["impl Eq for Image"],["impl Eq for CreatorGoalIdRef"],["impl Eq for BlockedTermId"],["impl Eq for PredictionStatus"],["impl Eq for HexColorRef"],["impl Eq for PredictionId"],["impl Eq for RewardId"],["impl Eq for BadgeSetId"],["impl Eq for CommercialLength"],["impl Eq for ResubscriptionEmote"],["impl Eq for Max"],["impl Eq for BadgeSetIdRef"],["impl Eq for IgdbId"],["impl Eq for ClipId"],["impl Eq for CharityCampaignIdRef"],["impl Eq for RewardIdRef"],["impl Eq for SubscriptionTier"],["impl Eq for EmoteThemeMode"],["impl Eq for PollChoiceIdRef"],["impl Eq for CreatorGoalType"],["impl Eq for BroadcasterType"],["impl Eq for BlockedTermIdRef"],["impl Eq for EmoteAnimationSetting"],["impl Eq for HexColor"],["impl Eq for RedemptionId"],["impl Eq for EventSubIdRef"],["impl Eq for PollId"],["impl Eq for TagId"],["impl Eq for StreamIdRef"],["impl Eq for HypeTrainId"],["impl Eq for GlobalCooldown"],["impl Eq for ChatBadgeIdRef"],["impl Eq for TagIdRef"],["impl Eq for PollIdRef"],["impl Eq for ClipIdRef"],["impl Eq for CategoryIdRef"],["impl Eq for StreamSegmentIdRef"],["impl Eq for RedemptionIdRef"],["impl Eq for EmoteSetIdRef"],["impl Eq for PollChoiceId"],["impl Eq for UserIdRef"],["impl Eq for ContentClassificationId"],["impl Eq for TwitchCategory"],["impl Eq for EmoteScale"],["impl Eq for PredictionOutcomeIdRef"],["impl Eq for User"],["impl Eq for CharityDonationId"],["impl Eq for CategoryId"],["impl Eq for EmoteIdRef"],["impl Eq for CharityCampaignId"],["impl Eq for VideoIdRef"],["impl Eq for PredictionOutcomeId"],["impl Eq for CharityDonationIdRef"],["impl Eq for Timestamp"],["impl Eq for TeamIdRef"],["impl Eq for UserType"],["impl Eq for EmoteId"],["impl Eq for Nickname"],["impl Eq for TeamId"],["impl Eq for PredictionTopPredictors"],["impl Eq for PollChoice"],["impl Eq for TimestampRef"],["impl Eq for NicknameRef"],["impl Eq for HypeTrainIdRef"],["impl Eq for VideoPrivacy"],["impl Eq for MsgIdRef"],["impl Eq for ChatBadgeId"],["impl Eq for DisplayName"],["impl Eq for PredictionOutcome"],["impl Eq for PollStatus"],["impl<'a> Eq for NamedUserColor<'a>"],["impl Eq for VideoId"],["impl Eq for EventSubId"],["impl Eq for StreamSegmentId"],["impl Eq for UserId"],["impl Eq for StreamId"],["impl Eq for PredictionIdRef"],["impl Eq for EmoteSetId"],["impl Eq for CreatorGoalId"],["impl Eq for VideoPeriod"],["impl Eq for IgdbIdRef"],["impl Eq for VideoType"],["impl Eq for DisplayNameRef"],["impl Eq for AutomodStatus"],["impl Eq for MsgId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.Ord.js b/implementors/core/cmp/trait.Ord.js index 00b0f1b5..e5f5cb75 100644 --- a/implementors/core/cmp/trait.Ord.js +++ b/implementors/core/cmp/trait.Ord.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Ord for Nickname"],["impl Ord for StreamSegmentIdRef"],["impl Ord for StreamIdRef"],["impl Ord for IgdbId"],["impl Ord for HypeTrainId"],["impl Ord for PredictionId"],["impl Ord for TagId"],["impl Ord for PollIdRef"],["impl Ord for BlockedTermIdRef"],["impl Ord for EmoteId"],["impl Ord for BadgeSetIdRef"],["impl Ord for BroadcasterType"],["impl Ord for CreatorGoalId"],["impl Ord for PollChoiceId"],["impl Ord for EmoteSetIdRef"],["impl Ord for StreamSegmentId"],["impl Ord for ClipId"],["impl Ord for MsgIdRef"],["impl Ord for BlockedTermId"],["impl Ord for EmoteIdRef"],["impl Ord for RewardId"],["impl Ord for EventSubIdRef"],["impl Ord for RewardIdRef"],["impl Ord for TeamIdRef"],["impl Ord for CharityDonationId"],["impl Ord for VideoId"],["impl Ord for BadgeSetId"],["impl Ord for UserId"],["impl Ord for CreatorGoalIdRef"],["impl Ord for IgdbIdRef"],["impl Ord for CharityCampaignId"],["impl Ord for PredictionOutcomeIdRef"],["impl Ord for PollId"],["impl Ord for DisplayNameRef"],["impl Ord for HexColorRef"],["impl Ord for ChatBadgeId"],["impl Ord for CategoryId"],["impl Ord for TagIdRef"],["impl Ord for PredictionOutcomeId"],["impl Ord for StreamId"],["impl Ord for UserType"],["impl Ord for CategoryIdRef"],["impl Ord for NicknameRef"],["impl Ord for RedemptionId"],["impl Ord for CharityCampaignIdRef"],["impl Ord for UserIdRef"],["impl Ord for ChatBadgeIdRef"],["impl Ord for MsgId"],["impl Ord for PollChoiceIdRef"],["impl Ord for TeamId"],["impl Ord for PredictionIdRef"],["impl Ord for HexColor"],["impl Ord for ClipIdRef"],["impl Ord for RedemptionIdRef"],["impl Ord for HypeTrainIdRef"],["impl Ord for VideoIdRef"],["impl Ord for DisplayName"],["impl Ord for EmoteSetId"],["impl Ord for CharityDonationIdRef"],["impl Ord for EventSubId"]] +"twitch_types":[["impl Ord for EmoteSetId"],["impl Ord for RewardId"],["impl Ord for NicknameRef"],["impl Ord for EventSubIdRef"],["impl Ord for VideoId"],["impl Ord for StreamId"],["impl Ord for ChatBadgeIdRef"],["impl Ord for VideoIdRef"],["impl Ord for BadgeSetId"],["impl Ord for CharityDonationId"],["impl Ord for PredictionOutcomeIdRef"],["impl Ord for IgdbId"],["impl Ord for TeamId"],["impl Ord for CategoryId"],["impl Ord for Nickname"],["impl Ord for PredictionOutcomeId"],["impl Ord for PollChoiceIdRef"],["impl Ord for EventSubId"],["impl Ord for PollChoiceId"],["impl Ord for PredictionId"],["impl Ord for HypeTrainIdRef"],["impl Ord for UserType"],["impl Ord for PredictionIdRef"],["impl Ord for StreamIdRef"],["impl Ord for CreatorGoalIdRef"],["impl Ord for ChatBadgeId"],["impl Ord for CategoryIdRef"],["impl Ord for BlockedTermIdRef"],["impl Ord for ClipIdRef"],["impl Ord for StreamSegmentId"],["impl Ord for DisplayName"],["impl Ord for EmoteId"],["impl Ord for CharityCampaignId"],["impl Ord for DisplayNameRef"],["impl Ord for CreatorGoalId"],["impl Ord for EmoteSetIdRef"],["impl Ord for CharityDonationIdRef"],["impl Ord for ClipId"],["impl Ord for HexColor"],["impl Ord for BadgeSetIdRef"],["impl Ord for RewardIdRef"],["impl Ord for UserId"],["impl Ord for HexColorRef"],["impl Ord for TeamIdRef"],["impl Ord for PollIdRef"],["impl Ord for RedemptionId"],["impl Ord for TagId"],["impl Ord for StreamSegmentIdRef"],["impl Ord for MsgIdRef"],["impl Ord for RedemptionIdRef"],["impl Ord for MsgId"],["impl Ord for CharityCampaignIdRef"],["impl Ord for PollId"],["impl Ord for EmoteIdRef"],["impl Ord for BlockedTermId"],["impl Ord for BroadcasterType"],["impl Ord for TagIdRef"],["impl Ord for HypeTrainId"],["impl Ord for UserIdRef"],["impl Ord for IgdbIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialEq.js b/implementors/core/cmp/trait.PartialEq.js index 29149289..03c0e7f6 100644 --- a/implementors/core/cmp/trait.PartialEq.js +++ b/implementors/core/cmp/trait.PartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl PartialEq<EmoteIdRef> for EmoteId"],["impl PartialEq<OffsetDateTime> for TimestampRef"],["impl PartialEq<&CategoryIdRef> for CategoryId"],["impl PartialEq<PollChoiceId> for PollChoiceId"],["impl PartialEq<&RewardIdRef> for RewardId"],["impl<'a> PartialEq<NamedUserColor<'a>> for NamedUserColor<'a>"],["impl PartialEq<OffsetDateTime> for Timestamp"],["impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId"],["impl PartialEq<RewardId> for RewardIdRef"],["impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId"],["impl PartialEq<User> for User"],["impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId"],["impl PartialEq<MsgId> for MsgId"],["impl PartialEq<&UserIdRef> for UserId"],["impl PartialEq<EmoteId> for EmoteId"],["impl PartialEq<PollId> for &PollIdRef"],["impl PartialEq<MsgId> for &MsgIdRef"],["impl PartialEq<BlockedTermId> for BlockedTermIdRef"],["impl PartialEq<DisplayName> for &DisplayNameRef"],["impl PartialEq<Nickname> for &NicknameRef"],["impl PartialEq<RewardIdRef> for RewardIdRef"],["impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl PartialEq<BadgeSetIdRef> for BadgeSetIdRef"],["impl PartialEq<PollId> for PollIdRef"],["impl PartialEq<PredictionId> for &PredictionIdRef"],["impl PartialEq<&ClipIdRef> for ClipId"],["impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef"],["impl PartialEq<PollChoiceId> for PollChoiceIdRef"],["impl PartialEq<BroadcasterType> for BroadcasterType"],["impl PartialEq<Timestamp> for Timestamp"],["impl PartialEq<CharityDonationIdRef> for CharityDonationId"],["impl PartialEq<DisplayName> for DisplayName"],["impl PartialEq<EmoteAnimationSetting> for EmoteAnimationSetting"],["impl PartialEq<EventSubIdRef> for EventSubIdRef"],["impl PartialEq<CharityCampaignIdRef> for CharityCampaignId"],["impl PartialEq<&VideoIdRef> for VideoId"],["impl PartialEq<VideoPrivacy> for VideoPrivacy"],["impl PartialEq<SubscriptionTier> for SubscriptionTier"],["impl PartialEq<GlobalCooldown> for GlobalCooldown"],["impl PartialEq<ChatBadgeIdRef> for ChatBadgeIdRef"],["impl PartialEq<EventSubIdRef> for EventSubId"],["impl PartialEq<BadgeSetId> for BadgeSetIdRef"],["impl PartialEq<RedemptionId> for &RedemptionIdRef"],["impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef"],["impl PartialEq<VideoType> for VideoType"],["impl PartialEq<PredictionOutcomeId> for PredictionOutcomeId"],["impl PartialEq<UserIdRef> for UserIdRef"],["impl PartialEq<Timestamp> for TimestampRef"],["impl PartialEq<ChatBadgeId> for ChatBadgeId"],["impl PartialEq<&PredictionIdRef> for PredictionId"],["impl PartialEq<CharityDonationIdRef> for CharityDonationIdRef"],["impl PartialEq<ClipIdRef> for ClipId"],["impl PartialEq<RewardId> for RewardId"],["impl PartialEq<&PollIdRef> for PollId"],["impl PartialEq<&TagIdRef> for TagId"],["impl PartialEq<StreamSegmentIdRef> for StreamSegmentId"],["impl PartialEq<MsgIdRef> for MsgIdRef"],["impl PartialEq<ClipId> for &ClipIdRef"],["impl PartialEq<CategoryId> for &CategoryIdRef"],["impl PartialEq<UserId> for UserId"],["impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeIdRef"],["impl PartialEq<TimestampRef> for Timestamp"],["impl PartialEq<&BadgeSetIdRef> for BadgeSetId"],["impl PartialEq<PollIdRef> for PollIdRef"],["impl PartialEq<StreamSegmentId> for StreamSegmentIdRef"],["impl PartialEq<Timestamp> for &TimestampRef"],["impl PartialEq<&PollChoiceIdRef> for PollChoiceId"],["impl PartialEq<TeamIdRef> for TeamIdRef"],["impl PartialEq<RedemptionIdRef> for RedemptionId"],["impl PartialEq<RedemptionId> for RedemptionId"],["impl PartialEq<CharityDonationId> for &CharityDonationIdRef"],["impl PartialEq<CreatorGoalId> for CreatorGoalId"],["impl PartialEq<TwitchCategory> for TwitchCategory"],["impl PartialEq<HypeTrainId> for HypeTrainId"],["impl PartialEq<StreamId> for StreamId"],["impl PartialEq<BlockedTermId> for &BlockedTermIdRef"],["impl PartialEq<TagIdRef> for TagIdRef"],["impl PartialEq<CommercialLength> for CommercialLength"],["impl PartialEq<EmoteThemeMode> for EmoteThemeMode"],["impl PartialEq<VideoIdRef> for VideoId"],["impl PartialEq<EmoteIdRef> for EmoteIdRef"],["impl PartialEq<HexColor> for HexColor"],["impl PartialEq<HexColor> for HexColorRef"],["impl PartialEq<EmoteSetIdRef> for EmoteSetIdRef"],["impl PartialEq<StreamIdRef> for StreamId"],["impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef"],["impl PartialEq<EventSubId> for &EventSubIdRef"],["impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId"],["impl PartialEq<Image> for Image"],["impl PartialEq<BadgeSetId> for &BadgeSetIdRef"],["impl PartialEq<StreamId> for StreamIdRef"],["impl PartialEq<&MsgIdRef> for MsgId"],["impl PartialEq<PollIdRef> for PollId"],["impl PartialEq<DisplayNameRef> for DisplayName"],["impl PartialEq<BadgeSetId> for BadgeSetId"],["impl PartialEq<ChatBadgeId> for ChatBadgeIdRef"],["impl PartialEq<CreatorGoalIdRef> for CreatorGoalIdRef"],["impl PartialEq<CharityCampaignIdRef> for CharityCampaignIdRef"],["impl PartialEq<RewardIdRef> for RewardId"],["impl PartialEq<CategoryIdRef> for CategoryId"],["impl PartialEq<&HexColorRef> for HexColor"],["impl PartialEq<EmoteSetIdRef> for EmoteSetId"],["impl PartialEq<HypeTrainIdRef> for HypeTrainId"],["impl PartialEq<&EmoteSetIdRef> for EmoteSetId"],["impl PartialEq<BlockedTermIdRef> for BlockedTermId"],["impl PartialEq<IgdbId> for IgdbId"],["impl PartialEq<DisplayNameRef> for DisplayNameRef"],["impl PartialEq<AutomodStatus> for AutomodStatus"],["impl PartialEq<PollChoiceIdRef> for PollChoiceId"],["impl PartialEq<CreatorGoalType> for CreatorGoalType"],["impl PartialEq<&TeamIdRef> for TeamId"],["impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef"],["impl PartialEq<TimestampRef> for TimestampRef"],["impl PartialEq<PollChoiceId> for &PollChoiceIdRef"],["impl PartialEq<EmoteSetId> for EmoteSetIdRef"],["impl PartialEq<BadgeSetIdRef> for BadgeSetId"],["impl PartialEq<UserIdRef> for UserId"],["impl PartialEq<UserType> for UserType"],["impl PartialEq<EmoteId> for &EmoteIdRef"],["impl PartialEq<TeamId> for &TeamIdRef"],["impl PartialEq<&EmoteIdRef> for EmoteId"],["impl PartialEq<DisplayName> for DisplayNameRef"],["impl PartialEq<MsgId> for MsgIdRef"],["impl PartialEq<IgdbIdRef> for IgdbId"],["impl PartialEq<VideoId> for &VideoIdRef"],["impl PartialEq<PredictionId> for PredictionIdRef"],["impl PartialEq<CharityDonationId> for CharityDonationId"],["impl PartialEq<UserId> for &UserIdRef"],["impl PartialEq<TeamId> for TeamIdRef"],["impl PartialEq<ContentClassificationId> for ContentClassificationId"],["impl PartialEq<StreamSegmentIdRef> for StreamSegmentIdRef"],["impl PartialEq<IgdbId> for IgdbIdRef"],["impl PartialEq<ClipIdRef> for ClipIdRef"],["impl PartialEq<CharityCampaignId> for CharityCampaignId"],["impl PartialEq<TagId> for TagIdRef"],["impl PartialEq<StreamIdRef> for StreamIdRef"],["impl PartialEq<RedemptionId> for RedemptionIdRef"],["impl PartialEq<TagId> for &TagIdRef"],["impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef"],["impl PartialEq<EmoteScale> for EmoteScale"],["impl PartialEq<EmoteSetId> for &EmoteSetIdRef"],["impl PartialEq<PollId> for PollId"],["impl PartialEq<&TimestampRef> for Timestamp"],["impl PartialEq<ClipId> for ClipIdRef"],["impl PartialEq<VideoId> for VideoId"],["impl PartialEq<TeamId> for TeamId"],["impl PartialEq<VideoId> for VideoIdRef"],["impl PartialEq<CharityCampaignId> for CharityCampaignIdRef"],["impl PartialEq<HexColorRef> for HexColorRef"],["impl PartialEq<PredictionIdRef> for PredictionId"],["impl PartialEq<&EventSubIdRef> for EventSubId"],["impl PartialEq<StreamId> for &StreamIdRef"],["impl PartialEq<PredictionId> for PredictionId"],["impl PartialEq<&HypeTrainIdRef> for HypeTrainId"],["impl PartialEq<&CharityDonationIdRef> for CharityDonationId"],["impl PartialEq<TagIdRef> for TagId"],["impl PartialEq<CharityDonationId> for CharityDonationIdRef"],["impl PartialEq<&DisplayNameRef> for DisplayName"],["impl PartialEq<PollChoice> for PollChoice"],["impl PartialEq<ChatBadgeIdRef> for ChatBadgeId"],["impl PartialEq<EventSubId> for EventSubId"],["impl PartialEq<HypeTrainIdRef> for HypeTrainIdRef"],["impl PartialEq<HypeTrainId> for HypeTrainIdRef"],["impl PartialEq<HypeTrainId> for &HypeTrainIdRef"],["impl PartialEq<CategoryId> for CategoryIdRef"],["impl PartialEq<Max> for Max"],["impl PartialEq<ResubscriptionEmote> for ResubscriptionEmote"],["impl PartialEq<TeamIdRef> for TeamId"],["impl PartialEq<HexColor> for &HexColorRef"],["impl PartialEq<EventSubId> for EventSubIdRef"],["impl PartialEq<PredictionIdRef> for PredictionIdRef"],["impl PartialEq<TagId> for TagId"],["impl PartialEq<ClipId> for ClipId"],["impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl PartialEq<MsgIdRef> for MsgId"],["impl PartialEq<PredictionStatus> for PredictionStatus"],["impl PartialEq<Nickname> for NicknameRef"],["impl PartialEq<UserId> for UserIdRef"],["impl PartialEq<EmoteSetId> for EmoteSetId"],["impl PartialEq<NicknameRef> for NicknameRef"],["impl PartialEq<VideoPeriod> for VideoPeriod"],["impl PartialEq<&NicknameRef> for Nickname"],["impl PartialEq<Nickname> for Nickname"],["impl PartialEq<&RedemptionIdRef> for RedemptionId"],["impl PartialEq<CategoryIdRef> for CategoryIdRef"],["impl PartialEq<PollChoiceIdRef> for PollChoiceIdRef"],["impl PartialEq<NicknameRef> for Nickname"],["impl PartialEq<PredictionOutcome> for PredictionOutcome"],["impl PartialEq<&StreamIdRef> for StreamId"],["impl PartialEq<RedemptionIdRef> for RedemptionIdRef"],["impl PartialEq<BlockedTermId> for BlockedTermId"],["impl PartialEq<EmoteId> for EmoteIdRef"],["impl PartialEq<StreamSegmentId> for StreamSegmentId"],["impl PartialEq<CreatorGoalId> for CreatorGoalIdRef"],["impl PartialEq<&BlockedTermIdRef> for BlockedTermId"],["impl PartialEq<CreatorGoalIdRef> for CreatorGoalId"],["impl PartialEq<CategoryId> for CategoryId"],["impl PartialEq<HexColorRef> for HexColor"],["impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef"],["impl PartialEq<IgdbIdRef> for IgdbIdRef"],["impl PartialEq<PollStatus> for PollStatus"],["impl PartialEq<IgdbId> for &IgdbIdRef"],["impl PartialEq<PredictionTopPredictors> for PredictionTopPredictors"],["impl PartialEq<VideoIdRef> for VideoIdRef"],["impl PartialEq<&IgdbIdRef> for IgdbId"],["impl PartialEq<BlockedTermIdRef> for BlockedTermIdRef"],["impl PartialEq<RewardId> for &RewardIdRef"]] +"twitch_types":[["impl PartialEq<ChatBadgeIdRef> for ChatBadgeIdRef"],["impl PartialEq<CreatorGoalId> for CreatorGoalIdRef"],["impl PartialEq<MsgId> for &MsgIdRef"],["impl PartialEq<NicknameRef> for NicknameRef"],["impl PartialEq<&VideoIdRef> for VideoId"],["impl PartialEq<UserType> for UserType"],["impl PartialEq<UserId> for UserIdRef"],["impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef"],["impl PartialEq<PredictionTopPredictors> for PredictionTopPredictors"],["impl PartialEq<TeamId> for &TeamIdRef"],["impl PartialEq<Timestamp> for &TimestampRef"],["impl PartialEq<&ClipIdRef> for ClipId"],["impl PartialEq<ChatBadgeId> for ChatBadgeId"],["impl PartialEq<&TeamIdRef> for TeamId"],["impl PartialEq<&UserIdRef> for UserId"],["impl PartialEq<VideoType> for VideoType"],["impl PartialEq<PredictionIdRef> for PredictionIdRef"],["impl PartialEq<&CharityDonationIdRef> for CharityDonationId"],["impl PartialEq<TeamId> for TeamIdRef"],["impl PartialEq<Nickname> for NicknameRef"],["impl PartialEq<HexColor> for HexColor"],["impl PartialEq<Max> for Max"],["impl PartialEq<StreamSegmentId> for StreamSegmentId"],["impl PartialEq<HexColor> for HexColorRef"],["impl PartialEq<TagIdRef> for TagId"],["impl PartialEq<BroadcasterType> for BroadcasterType"],["impl PartialEq<IgdbId> for &IgdbIdRef"],["impl PartialEq<SubscriptionTier> for SubscriptionTier"],["impl PartialEq<&HypeTrainIdRef> for HypeTrainId"],["impl PartialEq<CharityCampaignIdRef> for CharityCampaignId"],["impl PartialEq<UserIdRef> for UserIdRef"],["impl PartialEq<PollStatus> for PollStatus"],["impl PartialEq<CategoryIdRef> for CategoryId"],["impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId"],["impl PartialEq<Image> for Image"],["impl PartialEq<ClipIdRef> for ClipId"],["impl PartialEq<EmoteId> for EmoteId"],["impl PartialEq<EmoteIdRef> for EmoteId"],["impl PartialEq<OffsetDateTime> for TimestampRef"],["impl PartialEq<TagId> for &TagIdRef"],["impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId"],["impl PartialEq<IgdbIdRef> for IgdbIdRef"],["impl PartialEq<&TagIdRef> for TagId"],["impl PartialEq<StreamId> for StreamId"],["impl PartialEq<Nickname> for Nickname"],["impl PartialEq<TimestampRef> for Timestamp"],["impl PartialEq<HypeTrainIdRef> for HypeTrainId"],["impl PartialEq<&EmoteIdRef> for EmoteId"],["impl PartialEq<TwitchCategory> for TwitchCategory"],["impl PartialEq<&BadgeSetIdRef> for BadgeSetId"],["impl PartialEq<TeamId> for TeamId"],["impl PartialEq<&EmoteSetIdRef> for EmoteSetId"],["impl PartialEq<BadgeSetId> for &BadgeSetIdRef"],["impl PartialEq<CreatorGoalIdRef> for CreatorGoalIdRef"],["impl PartialEq<EventSubId> for EventSubId"],["impl PartialEq<PollIdRef> for PollId"],["impl PartialEq<BadgeSetIdRef> for BadgeSetId"],["impl PartialEq<VideoId> for VideoIdRef"],["impl PartialEq<TeamIdRef> for TeamIdRef"],["impl PartialEq<&PredictionIdRef> for PredictionId"],["impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef"],["impl PartialEq<AutomodStatus> for AutomodStatus"],["impl PartialEq<TimestampRef> for TimestampRef"],["impl PartialEq<VideoPeriod> for VideoPeriod"],["impl PartialEq<VideoId> for &VideoIdRef"],["impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef"],["impl PartialEq<VideoPrivacy> for VideoPrivacy"],["impl PartialEq<VideoIdRef> for VideoId"],["impl PartialEq<EmoteSetId> for &EmoteSetIdRef"],["impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef"],["impl PartialEq<User> for User"],["impl PartialEq<EventSubId> for &EventSubIdRef"],["impl PartialEq<&CategoryIdRef> for CategoryId"],["impl PartialEq<ContentClassificationId> for ContentClassificationId"],["impl PartialEq<RewardIdRef> for RewardId"],["impl PartialEq<CategoryId> for CategoryId"],["impl PartialEq<RewardIdRef> for RewardIdRef"],["impl PartialEq<RedemptionId> for &RedemptionIdRef"],["impl PartialEq<BlockedTermIdRef> for BlockedTermIdRef"],["impl PartialEq<BlockedTermId> for &BlockedTermIdRef"],["impl PartialEq<MsgId> for MsgIdRef"],["impl PartialEq<HypeTrainId> for &HypeTrainIdRef"],["impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef"],["impl PartialEq<UserId> for UserId"],["impl PartialEq<PollChoiceId> for PollChoiceIdRef"],["impl PartialEq<UserIdRef> for UserId"],["impl PartialEq<ClipId> for ClipIdRef"],["impl PartialEq<&BlockedTermIdRef> for BlockedTermId"],["impl PartialEq<RewardId> for RewardId"],["impl PartialEq<EmoteAnimationSetting> for EmoteAnimationSetting"],["impl PartialEq<TagId> for TagId"],["impl PartialEq<EmoteSetIdRef> for EmoteSetId"],["impl PartialEq<EmoteSetId> for EmoteSetIdRef"],["impl PartialEq<MsgIdRef> for MsgIdRef"],["impl PartialEq<RewardId> for RewardIdRef"],["impl PartialEq<TeamIdRef> for TeamId"],["impl PartialEq<GlobalCooldown> for GlobalCooldown"],["impl PartialEq<PredictionIdRef> for PredictionId"],["impl PartialEq<EmoteScale> for EmoteScale"],["impl PartialEq<BlockedTermId> for BlockedTermId"],["impl PartialEq<PollChoice> for PollChoice"],["impl PartialEq<StreamSegmentIdRef> for StreamSegmentId"],["impl PartialEq<&MsgIdRef> for MsgId"],["impl PartialEq<RedemptionId> for RedemptionIdRef"],["impl PartialEq<&HexColorRef> for HexColor"],["impl PartialEq<DisplayNameRef> for DisplayNameRef"],["impl PartialEq<IgdbId> for IgdbId"],["impl PartialEq<&PollIdRef> for PollId"],["impl PartialEq<Nickname> for &NicknameRef"],["impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeIdRef"],["impl PartialEq<HypeTrainIdRef> for HypeTrainIdRef"],["impl PartialEq<PredictionStatus> for PredictionStatus"],["impl PartialEq<DisplayNameRef> for DisplayName"],["impl PartialEq<PredictionOutcomeId> for PredictionOutcomeId"],["impl<'a> PartialEq<NamedUserColor<'a>> for NamedUserColor<'a>"],["impl PartialEq<DisplayName> for DisplayName"],["impl PartialEq<CommercialLength> for CommercialLength"],["impl PartialEq<PollId> for PollId"],["impl PartialEq<CreatorGoalType> for CreatorGoalType"],["impl PartialEq<CharityCampaignId> for CharityCampaignIdRef"],["impl PartialEq<OffsetDateTime> for Timestamp"],["impl PartialEq<RedemptionId> for RedemptionId"],["impl PartialEq<&PollChoiceIdRef> for PollChoiceId"],["impl PartialEq<EventSubId> for EventSubIdRef"],["impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl PartialEq<CategoryId> for &CategoryIdRef"],["impl PartialEq<&NicknameRef> for Nickname"],["impl PartialEq<CreatorGoalIdRef> for CreatorGoalId"],["impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl PartialEq<EmoteId> for &EmoteIdRef"],["impl PartialEq<PollIdRef> for PollIdRef"],["impl PartialEq<CharityDonationIdRef> for CharityDonationId"],["impl PartialEq<CharityDonationIdRef> for CharityDonationIdRef"],["impl PartialEq<&RedemptionIdRef> for RedemptionId"],["impl PartialEq<CreatorGoalId> for CreatorGoalId"],["impl PartialEq<ClipId> for ClipId"],["impl PartialEq<ChatBadgeIdRef> for ChatBadgeId"],["impl PartialEq<UserId> for &UserIdRef"],["impl PartialEq<BlockedTermId> for BlockedTermIdRef"],["impl PartialEq<VideoId> for VideoId"],["impl PartialEq<MsgId> for MsgId"],["impl PartialEq<PollChoiceIdRef> for PollChoiceId"],["impl PartialEq<BlockedTermIdRef> for BlockedTermId"],["impl PartialEq<PredictionId> for PredictionIdRef"],["impl PartialEq<PollId> for PollIdRef"],["impl PartialEq<HypeTrainId> for HypeTrainId"],["impl PartialEq<PollChoiceIdRef> for PollChoiceIdRef"],["impl PartialEq<PollChoiceId> for &PollChoiceIdRef"],["impl PartialEq<EventSubIdRef> for EventSubIdRef"],["impl PartialEq<CharityDonationId> for CharityDonationId"],["impl PartialEq<ClipIdRef> for ClipIdRef"],["impl PartialEq<CharityDonationId> for &CharityDonationIdRef"],["impl PartialEq<VideoIdRef> for VideoIdRef"],["impl PartialEq<TagIdRef> for TagIdRef"],["impl PartialEq<StreamSegmentIdRef> for StreamSegmentIdRef"],["impl PartialEq<&TimestampRef> for Timestamp"],["impl PartialEq<DisplayName> for &DisplayNameRef"],["impl PartialEq<BadgeSetId> for BadgeSetId"],["impl PartialEq<&DisplayNameRef> for DisplayName"],["impl PartialEq<EmoteIdRef> for EmoteIdRef"],["impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId"],["impl PartialEq<StreamId> for &StreamIdRef"],["impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef"],["impl PartialEq<TagId> for TagIdRef"],["impl PartialEq<HexColorRef> for HexColor"],["impl PartialEq<MsgIdRef> for MsgId"],["impl PartialEq<EventSubIdRef> for EventSubId"],["impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId"],["impl PartialEq<EmoteSetId> for EmoteSetId"],["impl PartialEq<RedemptionIdRef> for RedemptionIdRef"],["impl PartialEq<EmoteId> for EmoteIdRef"],["impl PartialEq<Timestamp> for TimestampRef"],["impl PartialEq<IgdbIdRef> for IgdbId"],["impl PartialEq<HexColor> for &HexColorRef"],["impl PartialEq<RedemptionIdRef> for RedemptionId"],["impl PartialEq<PollId> for &PollIdRef"],["impl PartialEq<ChatBadgeId> for ChatBadgeIdRef"],["impl PartialEq<PredictionId> for PredictionId"],["impl PartialEq<DisplayName> for DisplayNameRef"],["impl PartialEq<PredictionOutcome> for PredictionOutcome"],["impl PartialEq<IgdbId> for IgdbIdRef"],["impl PartialEq<BadgeSetIdRef> for BadgeSetIdRef"],["impl PartialEq<&IgdbIdRef> for IgdbId"],["impl PartialEq<BadgeSetId> for BadgeSetIdRef"],["impl PartialEq<HypeTrainId> for HypeTrainIdRef"],["impl PartialEq<RewardId> for &RewardIdRef"],["impl PartialEq<StreamId> for StreamIdRef"],["impl PartialEq<PollChoiceId> for PollChoiceId"],["impl PartialEq<CharityCampaignId> for CharityCampaignId"],["impl PartialEq<StreamIdRef> for StreamId"],["impl PartialEq<CharityDonationId> for CharityDonationIdRef"],["impl PartialEq<HexColorRef> for HexColorRef"],["impl PartialEq<StreamSegmentId> for StreamSegmentIdRef"],["impl PartialEq<NicknameRef> for Nickname"],["impl PartialEq<&StreamIdRef> for StreamId"],["impl PartialEq<CategoryIdRef> for CategoryIdRef"],["impl PartialEq<StreamIdRef> for StreamIdRef"],["impl PartialEq<&RewardIdRef> for RewardId"],["impl PartialEq<PredictionId> for &PredictionIdRef"],["impl PartialEq<EmoteThemeMode> for EmoteThemeMode"],["impl PartialEq<CategoryId> for CategoryIdRef"],["impl PartialEq<Timestamp> for Timestamp"],["impl PartialEq<CharityCampaignIdRef> for CharityCampaignIdRef"],["impl PartialEq<ClipId> for &ClipIdRef"],["impl PartialEq<ResubscriptionEmote> for ResubscriptionEmote"],["impl PartialEq<&EventSubIdRef> for EventSubId"],["impl PartialEq<EmoteSetIdRef> for EmoteSetIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/cmp/trait.PartialOrd.js b/implementors/core/cmp/trait.PartialOrd.js index 01eb3dd7..8eb60b8f 100644 --- a/implementors/core/cmp/trait.PartialOrd.js +++ b/implementors/core/cmp/trait.PartialOrd.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl PartialOrd<BadgeSetId> for BadgeSetId"],["impl PartialOrd<EmoteId> for EmoteId"],["impl PartialOrd<StreamId> for StreamId"],["impl PartialOrd<CategoryId> for CategoryId"],["impl PartialOrd<CategoryIdRef> for CategoryIdRef"],["impl PartialOrd<EmoteSetIdRef> for EmoteSetIdRef"],["impl PartialOrd<Nickname> for Nickname"],["impl PartialOrd<Timestamp> for TimestampRef"],["impl PartialOrd<TimestampRef> for TimestampRef"],["impl PartialOrd<RedemptionIdRef> for RedemptionIdRef"],["impl PartialOrd<ClipIdRef> for ClipIdRef"],["impl PartialOrd<ChatBadgeId> for ChatBadgeId"],["impl PartialOrd<PredictionOutcomeId> for PredictionOutcomeId"],["impl PartialOrd<ChatBadgeIdRef> for ChatBadgeIdRef"],["impl PartialOrd<DisplayName> for DisplayName"],["impl PartialOrd<PredictionOutcomeIdRef> for PredictionOutcomeIdRef"],["impl PartialOrd<EventSubIdRef> for EventSubIdRef"],["impl PartialOrd<StreamSegmentIdRef> for StreamSegmentIdRef"],["impl PartialOrd<CharityCampaignIdRef> for CharityCampaignIdRef"],["impl PartialOrd<OffsetDateTime> for Timestamp"],["impl PartialOrd<PollIdRef> for PollIdRef"],["impl PartialOrd<HypeTrainId> for HypeTrainId"],["impl PartialOrd<PollChoiceId> for PollChoiceId"],["impl PartialOrd<HexColor> for HexColor"],["impl PartialOrd<UserType> for UserType"],["impl PartialOrd<BlockedTermId> for BlockedTermId"],["impl PartialOrd<CharityDonationId> for CharityDonationId"],["impl PartialOrd<EventSubId> for EventSubId"],["impl PartialOrd<ClipId> for ClipId"],["impl PartialOrd<TeamId> for TeamId"],["impl PartialOrd<CreatorGoalIdRef> for CreatorGoalIdRef"],["impl PartialOrd<CreatorGoalId> for CreatorGoalId"],["impl PartialOrd<IgdbId> for IgdbId"],["impl PartialOrd<CharityDonationIdRef> for CharityDonationIdRef"],["impl PartialOrd<DisplayNameRef> for DisplayNameRef"],["impl PartialOrd<MsgIdRef> for MsgIdRef"],["impl PartialOrd<BroadcasterType> for BroadcasterType"],["impl PartialOrd<StreamSegmentId> for StreamSegmentId"],["impl PartialOrd<VideoIdRef> for VideoIdRef"],["impl PartialOrd<HypeTrainIdRef> for HypeTrainIdRef"],["impl PartialOrd<TagIdRef> for TagIdRef"],["impl PartialOrd<UserIdRef> for UserIdRef"],["impl PartialOrd<HexColorRef> for HexColorRef"],["impl PartialOrd<RewardId> for RewardId"],["impl PartialOrd<PollChoiceIdRef> for PollChoiceIdRef"],["impl PartialOrd<TagId> for TagId"],["impl PartialOrd<IgdbIdRef> for IgdbIdRef"],["impl PartialOrd<NicknameRef> for NicknameRef"],["impl PartialOrd<RedemptionId> for RedemptionId"],["impl PartialOrd<BadgeSetIdRef> for BadgeSetIdRef"],["impl PartialOrd<UserId> for UserId"],["impl PartialOrd<EmoteIdRef> for EmoteIdRef"],["impl PartialOrd<PollId> for PollId"],["impl PartialOrd<CharityCampaignId> for CharityCampaignId"],["impl PartialOrd<VideoId> for VideoId"],["impl PartialOrd<Timestamp> for Timestamp"],["impl PartialOrd<TeamIdRef> for TeamIdRef"],["impl PartialOrd<OffsetDateTime> for TimestampRef"],["impl PartialOrd<RewardIdRef> for RewardIdRef"],["impl PartialOrd<PredictionIdRef> for PredictionIdRef"],["impl PartialOrd<BlockedTermIdRef> for BlockedTermIdRef"],["impl PartialOrd<PredictionId> for PredictionId"],["impl PartialOrd<EmoteSetId> for EmoteSetId"],["impl PartialOrd<StreamIdRef> for StreamIdRef"],["impl PartialOrd<MsgId> for MsgId"]] +"twitch_types":[["impl PartialOrd<RedemptionId> for RedemptionId"],["impl PartialOrd<RewardIdRef> for RewardIdRef"],["impl PartialOrd<BlockedTermIdRef> for BlockedTermIdRef"],["impl PartialOrd<BadgeSetId> for BadgeSetId"],["impl PartialOrd<PredictionId> for PredictionId"],["impl PartialOrd<EmoteSetId> for EmoteSetId"],["impl PartialOrd<TagId> for TagId"],["impl PartialOrd<CategoryIdRef> for CategoryIdRef"],["impl PartialOrd<RedemptionIdRef> for RedemptionIdRef"],["impl PartialOrd<StreamSegmentIdRef> for StreamSegmentIdRef"],["impl PartialOrd<UserIdRef> for UserIdRef"],["impl PartialOrd<HexColor> for HexColor"],["impl PartialOrd<ChatBadgeId> for ChatBadgeId"],["impl PartialOrd<CharityCampaignId> for CharityCampaignId"],["impl PartialOrd<CreatorGoalIdRef> for CreatorGoalIdRef"],["impl PartialOrd<CreatorGoalId> for CreatorGoalId"],["impl PartialOrd<HypeTrainIdRef> for HypeTrainIdRef"],["impl PartialOrd<ClipIdRef> for ClipIdRef"],["impl PartialOrd<PredictionOutcomeId> for PredictionOutcomeId"],["impl PartialOrd<VideoIdRef> for VideoIdRef"],["impl PartialOrd<UserId> for UserId"],["impl PartialOrd<UserType> for UserType"],["impl PartialOrd<BlockedTermId> for BlockedTermId"],["impl PartialOrd<ChatBadgeIdRef> for ChatBadgeIdRef"],["impl PartialOrd<BroadcasterType> for BroadcasterType"],["impl PartialOrd<OffsetDateTime> for TimestampRef"],["impl PartialOrd<StreamSegmentId> for StreamSegmentId"],["impl PartialOrd<CharityDonationId> for CharityDonationId"],["impl PartialOrd<IgdbIdRef> for IgdbIdRef"],["impl PartialOrd<VideoId> for VideoId"],["impl PartialOrd<Timestamp> for TimestampRef"],["impl PartialOrd<CategoryId> for CategoryId"],["impl PartialOrd<PredictionOutcomeIdRef> for PredictionOutcomeIdRef"],["impl PartialOrd<DisplayNameRef> for DisplayNameRef"],["impl PartialOrd<OffsetDateTime> for Timestamp"],["impl PartialOrd<PollId> for PollId"],["impl PartialOrd<ClipId> for ClipId"],["impl PartialOrd<DisplayName> for DisplayName"],["impl PartialOrd<EventSubIdRef> for EventSubIdRef"],["impl PartialOrd<TeamId> for TeamId"],["impl PartialOrd<EmoteId> for EmoteId"],["impl PartialOrd<PollIdRef> for PollIdRef"],["impl PartialOrd<PollChoiceId> for PollChoiceId"],["impl PartialOrd<Nickname> for Nickname"],["impl PartialOrd<CharityDonationIdRef> for CharityDonationIdRef"],["impl PartialOrd<Timestamp> for Timestamp"],["impl PartialOrd<MsgIdRef> for MsgIdRef"],["impl PartialOrd<PollChoiceIdRef> for PollChoiceIdRef"],["impl PartialOrd<IgdbId> for IgdbId"],["impl PartialOrd<TeamIdRef> for TeamIdRef"],["impl PartialOrd<RewardId> for RewardId"],["impl PartialOrd<TagIdRef> for TagIdRef"],["impl PartialOrd<StreamIdRef> for StreamIdRef"],["impl PartialOrd<NicknameRef> for NicknameRef"],["impl PartialOrd<EventSubId> for EventSubId"],["impl PartialOrd<HexColorRef> for HexColorRef"],["impl PartialOrd<BadgeSetIdRef> for BadgeSetIdRef"],["impl PartialOrd<EmoteIdRef> for EmoteIdRef"],["impl PartialOrd<PredictionIdRef> for PredictionIdRef"],["impl PartialOrd<CharityCampaignIdRef> for CharityCampaignIdRef"],["impl PartialOrd<HypeTrainId> for HypeTrainId"],["impl PartialOrd<TimestampRef> for TimestampRef"],["impl PartialOrd<EmoteSetIdRef> for EmoteSetIdRef"],["impl PartialOrd<MsgId> for MsgId"],["impl PartialOrd<StreamId> for StreamId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.AsRef.js b/implementors/core/convert/trait.AsRef.js index db303b39..460a9274 100644 --- a/implementors/core/convert/trait.AsRef.js +++ b/implementors/core/convert/trait.AsRef.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl AsRef<str> for BlockedTermId"],["impl AsRef<str> for RewardId"],["impl AsRef<BadgeSetIdRef> for BadgeSetId"],["impl AsRef<str> for EmoteSetId"],["impl AsRef<VideoIdRef> for VideoId"],["impl AsRef<str> for ClipId"],["impl AsRef<TimestampRef> for Timestamp"],["impl AsRef<str> for HexColor"],["impl AsRef<str> for NicknameRef"],["impl AsRef<str> for DisplayName"],["impl AsRef<str> for TagIdRef"],["impl AsRef<TagIdRef> for TagId"],["impl AsRef<str> for CreatorGoalId"],["impl AsRef<CategoryIdRef> for CategoryId"],["impl AsRef<str> for MsgIdRef"],["impl AsRef<str> for PredictionOutcomeIdRef"],["impl AsRef<str> for IgdbId"],["impl AsRef<str> for TagId"],["impl AsRef<StreamSegmentIdRef> for StreamSegmentId"],["impl AsRef<EmoteSetIdRef> for EmoteSetId"],["impl AsRef<ClipIdRef> for ClipId"],["impl AsRef<BlockedTermIdRef> for BlockedTermId"],["impl AsRef<str> for PollChoiceId"],["impl AsRef<PredictionIdRef> for PredictionId"],["impl AsRef<str> for ClipIdRef"],["impl AsRef<str> for PredictionOutcomeId"],["impl AsRef<str> for StreamIdRef"],["impl AsRef<str> for EventSubId"],["impl AsRef<MsgIdRef> for MsgId"],["impl AsRef<CreatorGoalIdRef> for CreatorGoalId"],["impl AsRef<str> for EmoteId"],["impl AsRef<str> for RewardIdRef"],["impl AsRef<str> for EmoteIdRef"],["impl AsRef<HexColorRef> for HexColor"],["impl AsRef<str> for MsgId"],["impl AsRef<StreamIdRef> for StreamId"],["impl AsRef<RedemptionIdRef> for RedemptionId"],["impl AsRef<str> for HypeTrainIdRef"],["impl AsRef<CharityCampaignIdRef> for CharityCampaignId"],["impl AsRef<str> for CharityDonationIdRef"],["impl AsRef<UserIdRef> for UserId"],["impl AsRef<EmoteIdRef> for EmoteId"],["impl AsRef<str> for CharityCampaignId"],["impl AsRef<str> for RedemptionIdRef"],["impl AsRef<str> for DisplayNameRef"],["impl AsRef<str> for PollIdRef"],["impl AsRef<str> for BadgeSetId"],["impl AsRef<str> for CategoryId"],["impl AsRef<str> for VideoId"],["impl AsRef<str> for TimestampRef"],["impl AsRef<str> for HexColorRef"],["impl AsRef<str> for PredictionIdRef"],["impl AsRef<HypeTrainIdRef> for HypeTrainId"],["impl AsRef<str> for HypeTrainId"],["impl AsRef<RewardIdRef> for RewardId"],["impl AsRef<str> for CategoryIdRef"],["impl AsRef<str> for PollId"],["impl AsRef<str> for StreamSegmentId"],["impl AsRef<str> for IgdbIdRef"],["impl AsRef<str> for Nickname"],["impl AsRef<str> for CreatorGoalIdRef"],["impl AsRef<str> for UserIdRef"],["impl AsRef<str> for ChatBadgeIdRef"],["impl AsRef<str> for EmoteSetIdRef"],["impl AsRef<IgdbIdRef> for IgdbId"],["impl AsRef<NicknameRef> for Nickname"],["impl AsRef<str> for UserId"],["impl AsRef<str> for StreamSegmentIdRef"],["impl AsRef<PollIdRef> for PollId"],["impl AsRef<str> for BlockedTermIdRef"],["impl AsRef<TeamIdRef> for TeamId"],["impl AsRef<str> for ChatBadgeId"],["impl AsRef<str> for StreamId"],["impl AsRef<str> for VideoIdRef"],["impl AsRef<str> for RedemptionId"],["impl AsRef<EventSubIdRef> for EventSubId"],["impl AsRef<str> for BadgeSetIdRef"],["impl AsRef<DisplayNameRef> for DisplayName"],["impl AsRef<str> for Timestamp"],["impl AsRef<ChatBadgeIdRef> for ChatBadgeId"],["impl AsRef<str> for TeamIdRef"],["impl AsRef<str> for CharityCampaignIdRef"],["impl AsRef<str> for TeamId"],["impl AsRef<str> for PredictionId"],["impl AsRef<PollChoiceIdRef> for PollChoiceId"],["impl AsRef<CharityDonationIdRef> for CharityDonationId"],["impl AsRef<str> for PollChoiceIdRef"],["impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl AsRef<str> for EventSubIdRef"],["impl AsRef<str> for CharityDonationId"]] +"twitch_types":[["impl AsRef<str> for PredictionOutcomeIdRef"],["impl AsRef<str> for TimestampRef"],["impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl AsRef<str> for MsgIdRef"],["impl AsRef<str> for ClipId"],["impl AsRef<TagIdRef> for TagId"],["impl AsRef<str> for CharityDonationId"],["impl AsRef<EmoteIdRef> for EmoteId"],["impl AsRef<str> for UserIdRef"],["impl AsRef<HypeTrainIdRef> for HypeTrainId"],["impl AsRef<str> for EmoteSetIdRef"],["impl AsRef<str> for StreamSegmentIdRef"],["impl AsRef<str> for EmoteIdRef"],["impl AsRef<str> for IgdbIdRef"],["impl AsRef<str> for CharityCampaignId"],["impl AsRef<str> for RewardId"],["impl AsRef<UserIdRef> for UserId"],["impl AsRef<str> for TeamId"],["impl AsRef<EmoteSetIdRef> for EmoteSetId"],["impl AsRef<DisplayNameRef> for DisplayName"],["impl AsRef<str> for BlockedTermId"],["impl AsRef<HexColorRef> for HexColor"],["impl AsRef<str> for EmoteId"],["impl AsRef<str> for HexColor"],["impl AsRef<str> for PollIdRef"],["impl AsRef<str> for StreamIdRef"],["impl AsRef<str> for IgdbId"],["impl AsRef<str> for ClipIdRef"],["impl AsRef<str> for Nickname"],["impl AsRef<RewardIdRef> for RewardId"],["impl AsRef<str> for HexColorRef"],["impl AsRef<str> for CharityCampaignIdRef"],["impl AsRef<str> for CreatorGoalIdRef"],["impl AsRef<str> for EventSubIdRef"],["impl AsRef<str> for ChatBadgeId"],["impl AsRef<str> for TagIdRef"],["impl AsRef<str> for HypeTrainId"],["impl AsRef<BadgeSetIdRef> for BadgeSetId"],["impl AsRef<StreamSegmentIdRef> for StreamSegmentId"],["impl AsRef<str> for StreamId"],["impl AsRef<str> for RedemptionIdRef"],["impl AsRef<IgdbIdRef> for IgdbId"],["impl AsRef<str> for CharityDonationIdRef"],["impl AsRef<ChatBadgeIdRef> for ChatBadgeId"],["impl AsRef<str> for PredictionOutcomeId"],["impl AsRef<str> for NicknameRef"],["impl AsRef<str> for CreatorGoalId"],["impl AsRef<CharityCampaignIdRef> for CharityCampaignId"],["impl AsRef<str> for PollId"],["impl AsRef<str> for EmoteSetId"],["impl AsRef<str> for PredictionIdRef"],["impl AsRef<str> for VideoIdRef"],["impl AsRef<str> for DisplayNameRef"],["impl AsRef<RedemptionIdRef> for RedemptionId"],["impl AsRef<str> for TagId"],["impl AsRef<str> for PollChoiceIdRef"],["impl AsRef<str> for UserId"],["impl AsRef<str> for BadgeSetId"],["impl AsRef<MsgIdRef> for MsgId"],["impl AsRef<str> for MsgId"],["impl AsRef<EventSubIdRef> for EventSubId"],["impl AsRef<str> for StreamSegmentId"],["impl AsRef<CharityDonationIdRef> for CharityDonationId"],["impl AsRef<str> for PollChoiceId"],["impl AsRef<CreatorGoalIdRef> for CreatorGoalId"],["impl AsRef<str> for EventSubId"],["impl AsRef<str> for Timestamp"],["impl AsRef<str> for TeamIdRef"],["impl AsRef<PredictionIdRef> for PredictionId"],["impl AsRef<TimestampRef> for Timestamp"],["impl AsRef<str> for DisplayName"],["impl AsRef<VideoIdRef> for VideoId"],["impl AsRef<str> for PredictionId"],["impl AsRef<CategoryIdRef> for CategoryId"],["impl AsRef<NicknameRef> for Nickname"],["impl AsRef<str> for BlockedTermIdRef"],["impl AsRef<str> for VideoId"],["impl AsRef<PollChoiceIdRef> for PollChoiceId"],["impl AsRef<StreamIdRef> for StreamId"],["impl AsRef<str> for RedemptionId"],["impl AsRef<str> for ChatBadgeIdRef"],["impl AsRef<PollIdRef> for PollId"],["impl AsRef<ClipIdRef> for ClipId"],["impl AsRef<str> for CategoryId"],["impl AsRef<str> for RewardIdRef"],["impl AsRef<BlockedTermIdRef> for BlockedTermId"],["impl AsRef<str> for HypeTrainIdRef"],["impl AsRef<str> for CategoryIdRef"],["impl AsRef<TeamIdRef> for TeamId"],["impl AsRef<str> for BadgeSetIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.From.js b/implementors/core/convert/trait.From.js index 6ca76b46..2858c8ff 100644 --- a/implementors/core/convert/trait.From.js +++ b/implementors/core/convert/trait.From.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl<'a> From<Timestamp> for Cow<'a, TimestampRef>"],["impl From<&str> for CharityDonationId"],["impl<'a> From<&'a BlockedTermId> for Cow<'a, BlockedTermIdRef>"],["impl From<String> for Nickname"],["impl<'a> From<&'a PollIdRef> for Cow<'a, PollIdRef>"],["impl From<String> for RewardId"],["impl<'a> From<Cow<'a, PredictionIdRef>> for PredictionId"],["impl<'a> From<Cow<'a, CategoryIdRef>> for CategoryId"],["impl From<&RewardIdRef> for RewardId"],["impl<'a> From<&'a str> for &'a CategoryIdRef"],["impl<'a> From<&'a String> for &'a BadgeSetIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, IgdbIdRef>> for &'a IgdbIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, HexColorRef>> for &'a HexColorRef"],["impl<'a> From<Cow<'a, NicknameRef>> for Nickname"],["impl<'a> From<Cow<'a, StreamSegmentIdRef>> for StreamSegmentId"],["impl From<DisplayName> for Box<DisplayNameRef>"],["impl<'a> From<&'a String> for &'a PredictionIdRef"],["impl From<&EventSubIdRef> for Arc<EventSubIdRef>"],["impl From<&MsgIdRef> for MsgId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionOutcomeIdRef>> for &'a PredictionOutcomeIdRef"],["impl<'a> From<&'a str> for &'a ChatBadgeIdRef"],["impl From<&UserIdRef> for UserId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TagIdRef>> for &'a TagIdRef"],["impl From<Timestamp> for Box<TimestampRef>"],["impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef"],["impl<'a> From<CharityDonationId> for Cow<'a, CharityDonationIdRef>"],["impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef"],["impl From<String> for CreatorGoalId"],["impl From<&str> for PredictionOutcomeId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, BadgeSetIdRef>> for &'a BadgeSetIdRef"],["impl From<ChatBadgeId> for String"],["impl From<&EmoteIdRef> for Arc<EmoteIdRef>"],["impl From<Box<str, Global>> for CharityDonationId"],["impl<'a> From<&'a str> for &'a RedemptionIdRef"],["impl From<ChatBadgeId> for Box<ChatBadgeIdRef>"],["impl From<&RedemptionIdRef> for Rc<RedemptionIdRef>"],["impl<'a> From<UserId> for Cow<'a, UserIdRef>"],["impl From<&TeamIdRef> for TeamId"],["impl From<IgdbId> for String"],["impl From<&StreamSegmentIdRef> for Arc<StreamSegmentIdRef>"],["impl From<StreamId> for Box<StreamIdRef>"],["impl From<String> for MsgId"],["impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl From<PredictionOutcomeId> for String"],["impl<'a> From<&'a str> for &'a StreamSegmentIdRef"],["impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>"],["impl<'a> From<TagId> for Cow<'a, TagIdRef>"],["impl<'a> From<&'a PredictionId> for &'a PredictionIdRef"],["impl<'a> From<IgdbId> for Cow<'a, IgdbIdRef>"],["impl<'a> From<MsgId> for Cow<'a, MsgIdRef>"],["impl<'a> From<&'a IgdbId> for &'a IgdbIdRef"],["impl From<&CharityCampaignIdRef> for Rc<CharityCampaignIdRef>"],["impl From<&str> for RewardId"],["impl From<&str> for IgdbId"],["impl<'a> From<StreamSegmentId> for Cow<'a, StreamSegmentIdRef>"],["impl From<&str> for TagId"],["impl<'a> From<&'a EventSubId> for &'a EventSubIdRef"],["impl<'a> From<&'a String> for &'a PollChoiceIdRef"],["impl From<Box<str, Global>> for UserId"],["impl From<&str> for MsgId"],["impl From<&str> for DisplayName"],["impl From<CharityDonationId> for Box<CharityDonationIdRef>"],["impl From<Box<VideoIdRef, Global>> for VideoId"],["impl From<Box<CategoryIdRef, Global>> for CategoryId"],["impl<'a> From<HexColor> for NamedUserColor<'a>"],["impl From<&RewardIdRef> for Arc<RewardIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef"],["impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>"],["impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>"],["impl<'a> From<&'a Nickname> for &'a NicknameRef"],["impl From<&str> for PollId"],["impl From<&TagIdRef> for Arc<TagIdRef>"],["impl From<&BlockedTermIdRef> for BlockedTermId"],["impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>"],["impl From<RedemptionId> for Box<RedemptionIdRef>"],["impl From<&PollIdRef> for PollId"],["impl From<&CategoryIdRef> for Arc<CategoryIdRef>"],["impl<'a> From<Cow<'a, TagIdRef>> for TagId"],["impl<'a> From<&'a str> for &'a StreamIdRef"],["impl<'a> From<&'a BadgeSetIdRef> for Cow<'a, BadgeSetIdRef>"],["impl From<Box<str, Global>> for PollChoiceId"],["impl From<Box<str, Global>> for ChatBadgeId"],["impl From<Box<str, Global>> for EventSubId"],["impl<'a> From<&'a str> for &'a MsgIdRef"],["impl<'a> From<&'a CreatorGoalId> for Cow<'a, CreatorGoalIdRef>"],["impl From<Box<str, Global>> for TagId"],["impl From<EmoteSetId> for String"],["impl<'a> From<&'a CharityDonationId> for Cow<'a, CharityDonationIdRef>"],["impl<'a> From<DisplayName> for Cow<'a, DisplayNameRef>"],["impl From<&HexColorRef> for Rc<HexColorRef>"],["impl From<Box<PredictionOutcomeIdRef, Global>> for PredictionOutcomeId"],["impl From<String> for PredictionId"],["impl<'a> From<PredictionId> for Cow<'a, PredictionIdRef>"],["impl From<RewardId> for String"],["impl From<Box<str, Global>> for RedemptionId"],["impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionIdRef>> for &'a PredictionIdRef"],["impl<'a> From<Cow<'a, TeamIdRef>> for TeamId"],["impl From<HexColor> for String"],["impl<'a> From<RedemptionId> for Cow<'a, RedemptionIdRef>"],["impl<'a> From<Cow<'a, PollIdRef>> for PollId"],["impl From<&PollIdRef> for Arc<PollIdRef>"],["impl<'a> From<&'a String> for &'a ClipIdRef"],["impl<'a> From<&'a Timestamp> for Cow<'a, TimestampRef>"],["impl<'a> From<ChatBadgeId> for Cow<'a, ChatBadgeIdRef>"],["impl From<CharityDonationId> for String"],["impl<'a> From<Cow<'a, MsgIdRef>> for MsgId"],["impl From<DisplayName> for String"],["impl From<PollId> for String"],["impl From<Box<EmoteIdRef, Global>> for EmoteId"],["impl From<String> for EmoteId"],["impl<'a> From<&'a EventSubIdRef> for Cow<'a, EventSubIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, RedemptionIdRef>> for &'a RedemptionIdRef"],["impl From<&PollChoiceIdRef> for Arc<PollChoiceIdRef>"],["impl From<String> for StreamId"],["impl<'a> From<EventSubId> for Cow<'a, EventSubIdRef>"],["impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef"],["impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId"],["impl<'a> From<&'a String> for &'a CreatorGoalIdRef"],["impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>"],["impl<'a> From<&'a StreamId> for Cow<'a, StreamIdRef>"],["impl<'a> From<&'a String> for &'a TeamIdRef"],["impl<'a> From<&'a String> for &'a HypeTrainIdRef"],["impl From<&IgdbIdRef> for Arc<IgdbIdRef>"],["impl From<&RedemptionIdRef> for Arc<RedemptionIdRef>"],["impl<'a> From<&'a PredictionIdRef> for Cow<'a, PredictionIdRef>"],["impl From<String> for HypeTrainId"],["impl<'a> From<&'a str> for &'a CharityDonationIdRef"],["impl<'a> From<&'a String> for &'a NicknameRef"],["impl<'a> From<&'a HexColorRef> for Cow<'a, HexColorRef>"],["impl From<String> for CharityDonationId"],["impl<'a> From<&'a PollId> for Cow<'a, PollIdRef>"],["impl<'a> From<&'a BadgeSetId> for Cow<'a, BadgeSetIdRef>"],["impl From<MsgId> for Box<MsgIdRef>"],["impl From<&CharityDonationIdRef> for CharityDonationId"],["impl<'a> From<&'a VideoId> for &'a VideoIdRef"],["impl From<Box<str, Global>> for ClipId"],["impl<'a> From<Cow<'a, HexColorRef>> for HexColor"],["impl<'a> From<&'a ClipIdRef> for Cow<'a, ClipIdRef>"],["impl<'a> From<&'a String> for &'a CategoryIdRef"],["impl From<String> for RedemptionId"],["impl From<Parse> for TimestampParseError"],["impl<'a> From<&'a str> for &'a CharityCampaignIdRef"],["impl<'a> From<&'a CategoryIdRef> for Cow<'a, CategoryIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteIdRef>> for &'a EmoteIdRef"],["impl From<TeamId> for String"],["impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef"],["impl From<RewardId> for Box<RewardIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef"],["impl From<Nickname> for String"],["impl<'a> From<&'a PollChoiceIdRef> for Cow<'a, PollChoiceIdRef>"],["impl From<Box<str, Global>> for RewardId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EventSubIdRef>> for &'a EventSubIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, StreamIdRef>> for &'a StreamIdRef"],["impl<'a> From<Cow<'a, StreamIdRef>> for StreamId"],["impl From<String> for PollChoiceId"],["impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CharityCampaignIdRef>> for &'a CharityCampaignIdRef"],["impl From<&BadgeSetIdRef> for Rc<BadgeSetIdRef>"],["impl From<Box<PredictionIdRef, Global>> for PredictionId"],["impl<'a> From<&'a HypeTrainId> for Cow<'a, HypeTrainIdRef>"],["impl From<&TimestampRef> for Arc<TimestampRef>"],["impl From<CategoryId> for Box<CategoryIdRef>"],["impl From<PredictionId> for String"],["impl From<&VideoIdRef> for VideoId"],["impl From<HypeTrainId> for Box<HypeTrainIdRef>"],["impl From<Box<str, Global>> for TeamId"],["impl<'a> From<&'a PollChoiceId> for Cow<'a, PollChoiceIdRef>"],["impl From<EventSubId> for String"],["impl From<&PredictionIdRef> for Rc<PredictionIdRef>"],["impl<'a> From<&'a String> for &'a EventSubIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CategoryIdRef>> for &'a CategoryIdRef"],["impl<'a> From<&'a str> for &'a EventSubIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PollChoiceIdRef>> for &'a PollChoiceIdRef"],["impl From<Box<HypeTrainIdRef, Global>> for HypeTrainId"],["impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef"],["impl From<String> for VideoId"],["impl From<&ClipIdRef> for Arc<ClipIdRef>"],["impl From<Box<str, Global>> for MsgId"],["impl From<String> for CharityCampaignId"],["impl<'a> From<&'a RewardIdRef> for Cow<'a, RewardIdRef>"],["impl<'a> From<&'a PredictionOutcomeIdRef> for Cow<'a, PredictionOutcomeIdRef>"],["impl<'a> From<&'a CategoryId> for Cow<'a, CategoryIdRef>"],["impl From<&str> for VideoId"],["impl From<&CharityCampaignIdRef> for CharityCampaignId"],["impl From<EventSubId> for Box<EventSubIdRef>"],["impl From<&DisplayNameRef> for Rc<DisplayNameRef>"],["impl From<Box<str, Global>> for EmoteId"],["impl<'a> From<&'a String> for &'a CharityDonationIdRef"],["impl<'a> From<&'a MsgId> for &'a MsgIdRef"],["impl From<&str> for HypeTrainId"],["impl<'a> From<EmoteId> for Cow<'a, EmoteIdRef>"],["impl From<Box<TimestampRef, Global>> for Timestamp"],["impl From<CharityCampaignId> for Box<CharityCampaignIdRef>"],["impl From<Box<str, Global>> for Nickname"],["impl From<&EventSubIdRef> for Rc<EventSubIdRef>"],["impl From<&VideoIdRef> for Arc<VideoIdRef>"],["impl<'a> From<Cow<'a, TimestampRef>> for Timestamp"],["impl From<&TeamIdRef> for Arc<TeamIdRef>"],["impl From<Box<NicknameRef, Global>> for Nickname"],["impl<'a> From<PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>"],["impl From<BlockedTermId> for String"],["impl From<&TimestampRef> for Rc<TimestampRef>"],["impl From<Box<str, Global>> for HypeTrainId"],["impl From<&str> for BadgeSetId"],["impl<'a> From<&'a StreamIdRef> for Cow<'a, StreamIdRef>"],["impl<'a> From<&'a str> for &'a EmoteIdRef"],["impl From<&UserIdRef> for Arc<UserIdRef>"],["impl<'a> From<&'a String> for &'a ChatBadgeIdRef"],["impl<'a> From<&'a IgdbId> for Cow<'a, IgdbIdRef>"],["impl From<&ChatBadgeIdRef> for Arc<ChatBadgeIdRef>"],["impl<'a> From<Cow<'a, ChatBadgeIdRef>> for ChatBadgeId"],["impl From<&PollChoiceIdRef> for PollChoiceId"],["impl<'a> From<&'a EventSubId> for Cow<'a, EventSubIdRef>"],["impl From<TagId> for Box<TagIdRef>"],["impl From<&BlockedTermIdRef> for Arc<BlockedTermIdRef>"],["impl<'a> From<&'a String> for &'a EmoteIdRef"],["impl From<&IgdbIdRef> for IgdbId"],["impl From<&DisplayNameRef> for Arc<DisplayNameRef>"],["impl From<&EmoteIdRef> for EmoteId"],["impl<'a> From<&'a ChatBadgeId> for Cow<'a, ChatBadgeIdRef>"],["impl<'a> From<&'a str> for &'a HypeTrainIdRef"],["impl From<Box<DisplayNameRef, Global>> for DisplayName"],["impl From<PollChoiceId> for Box<PollChoiceIdRef>"],["impl<'a> From<&'a str> for &'a CreatorGoalIdRef"],["impl From<&ChatBadgeIdRef> for ChatBadgeId"],["impl From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>"],["impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, StreamSegmentIdRef>> for &'a StreamSegmentIdRef"],["impl From<&PredictionIdRef> for Arc<PredictionIdRef>"],["impl From<&str> for UserId"],["impl<'a> From<&'a String> for &'a StreamIdRef"],["impl From<&str> for PollChoiceId"],["impl From<&DisplayNameRef> for DisplayName"],["impl From<Box<StreamIdRef, Global>> for StreamId"],["impl<'a> From<&'a PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>"],["impl<'a> From<&'a StreamId> for &'a StreamIdRef"],["impl<'a> From<&'a Nickname> for Cow<'a, NicknameRef>"],["impl From<String> for TagId"],["impl<'a> From<Cow<'a, BlockedTermIdRef>> for BlockedTermId"],["impl<'a> From<Cow<'a, RedemptionIdRef>> for RedemptionId"],["impl<'a> From<&'a TagIdRef> for Cow<'a, TagIdRef>"],["impl<'a> From<ClipId> for Cow<'a, ClipIdRef>"],["impl From<&TagIdRef> for Rc<TagIdRef>"],["impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef"],["impl From<Box<CharityDonationIdRef, Global>> for CharityDonationId"],["impl From<&RedemptionIdRef> for RedemptionId"],["impl From<&str> for HexColor"],["impl From<Box<EventSubIdRef, Global>> for EventSubId"],["impl From<&RewardIdRef> for Rc<RewardIdRef>"],["impl<'a> From<&'a BlockedTermIdRef> for Cow<'a, BlockedTermIdRef>"],["impl From<&PredictionOutcomeIdRef> for Arc<PredictionOutcomeIdRef>"],["impl From<String> for ClipId"],["impl From<Box<str, Global>> for CategoryId"],["impl<'a> From<TeamId> for Cow<'a, TeamIdRef>"],["impl From<&MsgIdRef> for Rc<MsgIdRef>"],["impl<'a> From<&'a RedemptionId> for Cow<'a, RedemptionIdRef>"],["impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId"],["impl From<String> for UserId"],["impl From<Box<MsgIdRef, Global>> for MsgId"],["impl<'a> From<&'a CategoryId> for &'a CategoryIdRef"],["impl From<String> for BadgeSetId"],["impl From<StreamId> for String"],["impl<'a> From<&'a IgdbIdRef> for Cow<'a, IgdbIdRef>"],["impl From<String> for ChatBadgeId"],["impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef"],["impl<'a> From<&'a StreamSegmentId> for Cow<'a, StreamSegmentIdRef>"],["impl From<&TagIdRef> for TagId"],["impl<'a> From<&'a String> for &'a BlockedTermIdRef"],["impl From<&StreamIdRef> for Arc<StreamIdRef>"],["impl From<&CategoryIdRef> for Rc<CategoryIdRef>"],["impl From<Box<CharityCampaignIdRef, Global>> for CharityCampaignId"],["impl From<PollChoiceId> for String"],["impl<'a> From<&'a PollId> for &'a PollIdRef"],["impl From<String> for TeamId"],["impl<'a> From<Cow<'a, PredictionOutcomeIdRef>> for PredictionOutcomeId"],["impl From<&HypeTrainIdRef> for HypeTrainId"],["impl From<HexColor> for Box<HexColorRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PollIdRef>> for &'a PollIdRef"],["impl From<Box<str, Global>> for IgdbId"],["impl From<String> for PredictionOutcomeId"],["impl From<String> for CategoryId"],["impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>"],["impl From<ClipId> for Box<ClipIdRef>"],["impl<'a> From<&'a str> for &'a PollIdRef"],["impl<'a> From<&'a Timestamp> for &'a TimestampRef"],["impl From<&HypeTrainIdRef> for Rc<HypeTrainIdRef>"],["impl From<&HypeTrainIdRef> for Arc<HypeTrainIdRef>"],["impl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId"],["impl<'a> From<&'a str> for &'a RewardIdRef"],["impl From<PollId> for Box<PollIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TeamIdRef>> for &'a TeamIdRef"],["impl From<String> for EmoteSetId"],["impl<'a> From<&'a TagId> for &'a TagIdRef"],["impl<'a> From<&'a String> for &'a HexColorRef"],["impl From<Box<BadgeSetIdRef, Global>> for BadgeSetId"],["impl From<Box<HexColorRef, Global>> for HexColor"],["impl From<&str> for EventSubId"],["impl<'a> From<&'a TeamId> for Cow<'a, TeamIdRef>"],["impl From<String> for StreamSegmentId"],["impl From<UserId> for String"],["impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef"],["impl<'a> From<&'a TagId> for Cow<'a, TagIdRef>"],["impl<'a> From<&'a ClipId> for &'a ClipIdRef"],["impl<'a> From<&'a HexColor> for &'a HexColorRef"],["impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>"],["impl<'a> From<HexColor> for Cow<'a, HexColorRef>"],["impl<'a> From<&'a String> for &'a StreamSegmentIdRef"],["impl<'a> From<&'a String> for &'a TagIdRef"],["impl<'a> From<&'a PredictionId> for Cow<'a, PredictionIdRef>"],["impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef"],["impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>"],["impl From<Box<UserIdRef, Global>> for UserId"],["impl<'a> From<RewardId> for Cow<'a, RewardIdRef>"],["impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef"],["impl From<Box<ClipIdRef, Global>> for ClipId"],["impl<'a> From<&'a RewardId> for Cow<'a, RewardIdRef>"],["impl From<&StreamSegmentIdRef> for Rc<StreamSegmentIdRef>"],["impl From<Box<StreamSegmentIdRef, Global>> for StreamSegmentId"],["impl From<&CategoryIdRef> for CategoryId"],["impl From<&ClipIdRef> for Rc<ClipIdRef>"],["impl<'a> From<&'a str> for &'a IgdbIdRef"],["impl From<String> for IgdbId"],["impl From<TagId> for String"],["impl From<CategoryId> for String"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TimestampRef>> for &'a TimestampRef"],["impl<'a> From<Cow<'a, HexColorRef>> for NamedUserColor<'a>"],["impl From<&HexColorRef> for HexColor"],["impl From<&str> for CharityCampaignId"],["impl<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>"],["impl From<Box<TeamIdRef, Global>> for TeamId"],["impl From<&PollIdRef> for Rc<PollIdRef>"],["impl From<&str> for CategoryId"],["impl<'a> From<&'a String> for &'a UserIdRef"],["impl<'a> From<&'a DisplayNameRef> for Cow<'a, DisplayNameRef>"],["impl From<&str> for StreamId"],["impl From<&NicknameRef> for Rc<NicknameRef>"],["impl From<&StreamIdRef> for Rc<StreamIdRef>"],["impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>"],["impl<'a> From<VideoId> for Cow<'a, VideoIdRef>"],["impl From<TeamId> for Box<TeamIdRef>"],["impl<'a> From<&'a RewardId> for &'a RewardIdRef"],["impl<'a> From<&'a NicknameRef> for Cow<'a, NicknameRef>"],["impl From<Box<BlockedTermIdRef, Global>> for BlockedTermId"],["impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>"],["impl From<CreatorGoalId> for Box<CreatorGoalIdRef>"],["impl From<Box<str, Global>> for PollId"],["impl From<&StreamIdRef> for StreamId"],["impl From<Box<str, Global>> for VideoId"],["impl<'a> From<&'a str> for &'a BadgeSetIdRef"],["impl From<Box<str, Global>> for CharityCampaignId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, VideoIdRef>> for &'a VideoIdRef"],["impl From<Box<ChatBadgeIdRef, Global>> for ChatBadgeId"],["impl<'a> From<&'a EmoteId> for &'a EmoteIdRef"],["impl<'a> From<&'a str> for &'a NicknameRef"],["impl From<&CharityCampaignIdRef> for Arc<CharityCampaignIdRef>"],["impl<'a> From<&'a str> for &'a PredictionIdRef"],["impl From<StreamSegmentId> for String"],["impl From<Box<str, Global>> for DisplayName"],["impl<'a> From<&'a str> for &'a UserIdRef"],["impl From<&StreamSegmentIdRef> for StreamSegmentId"],["impl<'a> From<&'a HypeTrainIdRef> for Cow<'a, HypeTrainIdRef>"],["impl<'a> From<Cow<'a, PollChoiceIdRef>> for PollChoiceId"],["impl From<&str> for Nickname"],["impl<'a> From<&'a String> for &'a MsgIdRef"],["impl<'a> From<&'a str> for &'a VideoIdRef"],["impl<'a> From<&'a EmoteId> for Cow<'a, EmoteIdRef>"],["impl From<Box<PollIdRef, Global>> for PollId"],["impl From<Box<str, Global>> for StreamId"],["impl<'a> From<&'a String> for &'a VideoIdRef"],["impl From<&NicknameRef> for Arc<NicknameRef>"],["impl From<HypeTrainId> for String"],["impl From<PredictionId> for Box<PredictionIdRef>"],["impl From<String> for EventSubId"],["impl From<&ChatBadgeIdRef> for Rc<ChatBadgeIdRef>"],["impl From<RedemptionId> for String"],["impl<'a> From<&'a str> for &'a EmoteSetIdRef"],["impl<'a> From<&'a String> for &'a IgdbIdRef"],["impl<'a> From<&'a HexColor> for Cow<'a, HexColorRef>"],["impl From<Format> for TimestampParseError"],["impl<'a> From<&'a str> for &'a HexColorRef"],["impl From<&NicknameRef> for Nickname"],["impl<'a> From<&'a String> for &'a PredictionOutcomeIdRef"],["impl From<String> for HexColor"],["impl<'a> From<&'a TeamId> for &'a TeamIdRef"],["impl From<&str> for RedemptionId"],["impl<'a> From<BlockedTermId> for Cow<'a, BlockedTermIdRef>"],["impl<'a> From<Cow<'a, HypeTrainIdRef>> for HypeTrainId"],["impl From<&str> for ChatBadgeId"],["impl From<Box<str, Global>> for PredictionOutcomeId"],["impl<'a> From<&'a UserId> for &'a UserIdRef"],["impl From<UserId> for Box<UserIdRef>"],["impl From<VideoId> for String"],["impl<'a> From<PollId> for Cow<'a, PollIdRef>"],["impl From<String> for BlockedTermId"],["impl From<IgdbId> for Box<IgdbIdRef>"],["impl From<&PredictionOutcomeIdRef> for Rc<PredictionOutcomeIdRef>"],["impl<'a> From<&'a DisplayName> for &'a DisplayNameRef"],["impl From<String> for DisplayName"],["impl From<Box<str, Global>> for StreamSegmentId"],["impl From<&HexColorRef> for Arc<HexColorRef>"],["impl From<&str> for StreamSegmentId"],["impl<'a> From<&'a String> for &'a PollIdRef"],["impl From<Box<PollChoiceIdRef, Global>> for PollChoiceId"],["impl From<&UserIdRef> for Rc<UserIdRef>"],["impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef"],["impl From<EmoteSetId> for Box<EmoteSetIdRef>"],["impl<'a> From<&'a ChatBadgeIdRef> for Cow<'a, ChatBadgeIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, HypeTrainIdRef>> for &'a HypeTrainIdRef"],["impl From<Box<str, Global>> for HexColor"],["impl From<Box<TagIdRef, Global>> for TagId"],["impl<'a> From<&'a String> for &'a RedemptionIdRef"],["impl From<VideoId> for Box<VideoIdRef>"],["impl From<&PollChoiceIdRef> for Rc<PollChoiceIdRef>"],["impl<'a> From<Nickname> for Cow<'a, NicknameRef>"],["impl<'a> From<Cow<'a, DisplayNameRef>> for DisplayName"],["impl From<Box<str, Global>> for EmoteSetId"],["impl From<Box<str, Global>> for PredictionId"],["impl<'a> From<&'a String> for &'a DisplayNameRef"],["impl From<Timestamp> for String"],["impl From<&ClipIdRef> for ClipId"],["impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>"],["impl From<BlockedTermId> for Box<BlockedTermIdRef>"],["impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef"],["impl From<Box<EmoteSetIdRef, Global>> for EmoteSetId"],["impl From<&BadgeSetIdRef> for Arc<BadgeSetIdRef>"],["impl From<&BadgeSetIdRef> for BadgeSetId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, BlockedTermIdRef>> for &'a BlockedTermIdRef"],["impl From<CharityCampaignId> for String"],["impl<'a> From<CategoryId> for Cow<'a, CategoryIdRef>"],["impl<'a> From<&'a UserIdRef> for Cow<'a, UserIdRef>"],["impl<'a> From<&'a DisplayName> for Cow<'a, DisplayNameRef>"],["impl<'a> From<&'a VideoIdRef> for Cow<'a, VideoIdRef>"],["impl From<&MsgIdRef> for Arc<MsgIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, ChatBadgeIdRef>> for &'a ChatBadgeIdRef"],["impl From<&TeamIdRef> for Rc<TeamIdRef>"],["impl<'a> From<&'a String> for &'a RewardIdRef"],["impl From<&VideoIdRef> for Rc<VideoIdRef>"],["impl<'a> From<&'a str> for &'a DisplayNameRef"],["impl From<EmoteId> for Box<EmoteIdRef>"],["impl<'a> From<&'a str> for &'a BlockedTermIdRef"],["impl From<&str> for TeamId"],["impl From<Box<IgdbIdRef, Global>> for IgdbId"],["impl<'a> From<&'a str> for &'a PredictionOutcomeIdRef"],["impl<'a> From<Cow<'a, CharityDonationIdRef>> for CharityDonationId"],["impl From<String> for PollId"],["impl<'a> From<Cow<'a, VideoIdRef>> for VideoId"],["impl From<BadgeSetId> for String"],["impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>"],["impl From<&CreatorGoalIdRef> for CreatorGoalId"],["impl From<&EventSubIdRef> for EventSubId"],["impl<'a> From<&'a StreamSegmentIdRef> for Cow<'a, StreamSegmentIdRef>"],["impl From<StreamSegmentId> for Box<StreamSegmentIdRef>"],["impl From<BadgeSetId> for Box<BadgeSetIdRef>"],["impl<'a> From<&'a EmoteIdRef> for Cow<'a, EmoteIdRef>"],["impl<'a> From<&'a TimestampRef> for Cow<'a, TimestampRef>"],["impl<'a> From<Cow<'a, RewardIdRef>> for RewardId"],["impl From<&str> for ClipId"],["impl<'a> From<StreamId> for Cow<'a, StreamIdRef>"],["impl<'a> From<HypeTrainId> for Cow<'a, HypeTrainIdRef>"],["impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>"],["impl<'a> From<&'a UserId> for Cow<'a, UserIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, ClipIdRef>> for &'a ClipIdRef"],["impl From<&str> for BlockedTermId"],["impl From<Box<str, Global>> for BlockedTermId"],["impl From<MsgId> for String"],["impl From<&EmoteIdRef> for Rc<EmoteIdRef>"],["impl<'a> From<&'a str> for &'a ClipIdRef"],["impl From<Box<str, Global>> for BadgeSetId"],["impl From<CreatorGoalId> for String"],["impl<'a> From<Cow<'a, IgdbIdRef>> for IgdbId"],["impl<'a> From<&'a String> for &'a CharityCampaignIdRef"],["impl<'a> From<&'a str> for &'a PollChoiceIdRef"],["impl From<&EmoteSetIdRef> for EmoteSetId"],["impl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, RewardIdRef>> for &'a RewardIdRef"],["impl From<&TimestampRef> for Timestamp"],["impl<'a> From<&'a String> for &'a EmoteSetIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, DisplayNameRef>> for &'a DisplayNameRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef"],["impl From<&str> for CreatorGoalId"],["impl<'a> From<&'a str> for &'a TeamIdRef"],["impl<'a> From<&'a VideoId> for Cow<'a, VideoIdRef>"],["impl From<&str> for PredictionId"],["impl<'a> From<Cow<'a, EventSubIdRef>> for EventSubId"],["impl From<&str> for EmoteSetId"],["impl From<Box<RewardIdRef, Global>> for RewardId"],["impl From<&BlockedTermIdRef> for Rc<BlockedTermIdRef>"],["impl From<EmoteId> for String"],["impl From<&PredictionIdRef> for PredictionId"],["impl From<Infallible> for TimestampParseError"],["impl<'a> From<Cow<'a, EmoteIdRef>> for EmoteId"],["impl From<Nickname> for Box<NicknameRef>"],["impl<'a> From<&'a TeamIdRef> for Cow<'a, TeamIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, UserIdRef>> for &'a UserIdRef"],["impl From<Box<RedemptionIdRef, Global>> for RedemptionId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, NicknameRef>> for &'a NicknameRef"],["impl<'a> From<&'a RedemptionIdRef> for Cow<'a, RedemptionIdRef>"],["impl From<Box<str, Global>> for CreatorGoalId"],["impl From<&IgdbIdRef> for Rc<IgdbIdRef>"],["impl From<ClipId> for String"],["impl From<&str> for EmoteId"],["impl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId"],["impl<'a> From<&'a str> for &'a TagIdRef"],["impl<'a> From<PollChoiceId> for Cow<'a, PollChoiceIdRef>"],["impl<'a> From<Cow<'a, ClipIdRef>> for ClipId"],["impl<'a> From<Cow<'a, UserIdRef>> for UserId"],["impl<'a> From<&'a CharityCampaignIdRef> for Cow<'a, CharityCampaignIdRef>"],["impl<'a> From<&'a ClipId> for Cow<'a, ClipIdRef>"]] +"twitch_types":[["impl<'a, 'b: 'a> From<&'a Cow<'b, UserIdRef>> for &'a UserIdRef"],["impl From<&StreamSegmentIdRef> for StreamSegmentId"],["impl<'a> From<&'a String> for &'a NicknameRef"],["impl From<Box<str, Global>> for HexColor"],["impl From<&StreamIdRef> for Arc<StreamIdRef>"],["impl<'a> From<Cow<'a, CategoryIdRef>> for CategoryId"],["impl<'a> From<&'a TagIdRef> for Cow<'a, TagIdRef>"],["impl From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>"],["impl From<ChatBadgeId> for String"],["impl From<Box<StreamSegmentIdRef, Global>> for StreamSegmentId"],["impl<'a> From<&'a BadgeSetId> for Cow<'a, BadgeSetIdRef>"],["impl From<HypeTrainId> for String"],["impl<'a> From<&'a RewardId> for &'a RewardIdRef"],["impl<'a> From<&'a String> for &'a TagIdRef"],["impl From<&DisplayNameRef> for Arc<DisplayNameRef>"],["impl From<Box<HypeTrainIdRef, Global>> for HypeTrainId"],["impl From<CategoryId> for String"],["impl From<Box<str, Global>> for StreamSegmentId"],["impl From<Box<str, Global>> for CharityCampaignId"],["impl From<&TeamIdRef> for TeamId"],["impl From<CreatorGoalId> for Box<CreatorGoalIdRef>"],["impl<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>"],["impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>"],["impl From<Box<str, Global>> for DisplayName"],["impl<'a> From<&'a String> for &'a EventSubIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, RedemptionIdRef>> for &'a RedemptionIdRef"],["impl From<&TimestampRef> for Timestamp"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef"],["impl<'a> From<HexColor> for Cow<'a, HexColorRef>"],["impl From<RedemptionId> for Box<RedemptionIdRef>"],["impl From<&VideoIdRef> for Rc<VideoIdRef>"],["impl From<Nickname> for Box<NicknameRef>"],["impl From<&BlockedTermIdRef> for BlockedTermId"],["impl<'a> From<&'a StreamSegmentId> for Cow<'a, StreamSegmentIdRef>"],["impl From<ClipId> for Box<ClipIdRef>"],["impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId"],["impl From<String> for Nickname"],["impl<'a> From<HexColor> for NamedUserColor<'a>"],["impl<'a> From<Cow<'a, PollChoiceIdRef>> for PollChoiceId"],["impl<'a> From<&'a str> for &'a UserIdRef"],["impl<'a> From<&'a String> for &'a BadgeSetIdRef"],["impl<'a> From<&'a str> for &'a NicknameRef"],["impl From<&DisplayNameRef> for Rc<DisplayNameRef>"],["impl<'a> From<&'a VideoIdRef> for Cow<'a, VideoIdRef>"],["impl From<&UserIdRef> for Rc<UserIdRef>"],["impl From<Box<HexColorRef, Global>> for HexColor"],["impl From<HypeTrainId> for Box<HypeTrainIdRef>"],["impl From<&str> for HexColor"],["impl From<&PredictionIdRef> for Rc<PredictionIdRef>"],["impl From<StreamSegmentId> for String"],["impl From<Box<str, Global>> for UserId"],["impl<'a> From<&'a StreamIdRef> for Cow<'a, StreamIdRef>"],["impl From<Box<str, Global>> for TagId"],["impl From<MsgId> for Box<MsgIdRef>"],["impl From<&RedemptionIdRef> for Arc<RedemptionIdRef>"],["impl<'a> From<Cow<'a, StreamIdRef>> for StreamId"],["impl<'a> From<Cow<'a, MsgIdRef>> for MsgId"],["impl From<Box<TimestampRef, Global>> for Timestamp"],["impl<'a> From<Cow<'a, ClipIdRef>> for ClipId"],["impl<'a> From<&'a String> for &'a HexColorRef"],["impl<'a> From<&'a UserId> for &'a UserIdRef"],["impl<'a> From<&'a RedemptionId> for Cow<'a, RedemptionIdRef>"],["impl<'a> From<UserId> for Cow<'a, UserIdRef>"],["impl From<TeamId> for String"],["impl From<BlockedTermId> for Box<BlockedTermIdRef>"],["impl<'a> From<&'a TeamId> for Cow<'a, TeamIdRef>"],["impl From<PredictionOutcomeId> for String"],["impl<'a> From<&'a String> for &'a PollChoiceIdRef"],["impl From<RewardId> for String"],["impl<'a> From<Cow<'a, StreamSegmentIdRef>> for StreamSegmentId"],["impl From<&str> for EventSubId"],["impl<'a> From<&'a str> for &'a HypeTrainIdRef"],["impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef"],["impl From<BadgeSetId> for Box<BadgeSetIdRef>"],["impl From<&str> for RedemptionId"],["impl From<Infallible> for TimestampParseError"],["impl From<String> for DisplayName"],["impl From<EmoteSetId> for Box<EmoteSetIdRef>"],["impl<'a> From<&'a DisplayName> for Cow<'a, DisplayNameRef>"],["impl From<Box<str, Global>> for CharityDonationId"],["impl From<&str> for CharityDonationId"],["impl<'a> From<&'a String> for &'a CharityDonationIdRef"],["impl<'a> From<&'a CategoryId> for &'a CategoryIdRef"],["impl<'a> From<&'a String> for &'a CategoryIdRef"],["impl From<&str> for PredictionOutcomeId"],["impl<'a> From<Cow<'a, EmoteIdRef>> for EmoteId"],["impl<'a> From<&'a String> for &'a MsgIdRef"],["impl From<PollChoiceId> for String"],["impl<'a> From<&'a StreamSegmentIdRef> for Cow<'a, StreamSegmentIdRef>"],["impl From<CharityDonationId> for Box<CharityDonationIdRef>"],["impl From<&EventSubIdRef> for Arc<EventSubIdRef>"],["impl<'a> From<RewardId> for Cow<'a, RewardIdRef>"],["impl<'a> From<&'a HypeTrainId> for Cow<'a, HypeTrainIdRef>"],["impl From<&DisplayNameRef> for DisplayName"],["impl<'a> From<&'a PredictionIdRef> for Cow<'a, PredictionIdRef>"],["impl From<String> for PredictionOutcomeId"],["impl From<&CharityCampaignIdRef> for Arc<CharityCampaignIdRef>"],["impl From<String> for MsgId"],["impl<'a> From<Cow<'a, PollIdRef>> for PollId"],["impl From<Box<RedemptionIdRef, Global>> for RedemptionId"],["impl<'a> From<ChatBadgeId> for Cow<'a, ChatBadgeIdRef>"],["impl From<Box<RewardIdRef, Global>> for RewardId"],["impl<'a> From<Cow<'a, EventSubIdRef>> for EventSubId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionOutcomeIdRef>> for &'a PredictionOutcomeIdRef"],["impl From<IgdbId> for String"],["impl From<BlockedTermId> for String"],["impl<'a> From<MsgId> for Cow<'a, MsgIdRef>"],["impl From<CharityDonationId> for String"],["impl<'a> From<&'a Timestamp> for &'a TimestampRef"],["impl From<String> for VideoId"],["impl From<&ClipIdRef> for ClipId"],["impl<'a> From<&'a RedemptionIdRef> for Cow<'a, RedemptionIdRef>"],["impl From<Box<str, Global>> for ChatBadgeId"],["impl<'a> From<&'a str> for &'a CharityDonationIdRef"],["impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, RewardIdRef>> for &'a RewardIdRef"],["impl<'a> From<PollChoiceId> for Cow<'a, PollChoiceIdRef>"],["impl<'a> From<&'a String> for &'a CreatorGoalIdRef"],["impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>"],["impl<'a> From<&'a String> for &'a CharityCampaignIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, ChatBadgeIdRef>> for &'a ChatBadgeIdRef"],["impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>"],["impl<'a> From<&'a str> for &'a BadgeSetIdRef"],["impl From<Box<MsgIdRef, Global>> for MsgId"],["impl<'a> From<Timestamp> for Cow<'a, TimestampRef>"],["impl From<String> for UserId"],["impl From<String> for RedemptionId"],["impl From<&StreamIdRef> for Rc<StreamIdRef>"],["impl From<&HypeTrainIdRef> for HypeTrainId"],["impl<'a> From<&'a String> for &'a EmoteIdRef"],["impl From<&str> for UserId"],["impl From<Box<PollChoiceIdRef, Global>> for PollChoiceId"],["impl From<Box<str, Global>> for RewardId"],["impl From<&str> for PollChoiceId"],["impl<'a> From<HypeTrainId> for Cow<'a, HypeTrainIdRef>"],["impl<'a> From<Cow<'a, NicknameRef>> for Nickname"],["impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef"],["impl From<&UserIdRef> for Arc<UserIdRef>"],["impl From<Box<str, Global>> for EmoteSetId"],["impl From<Box<str, Global>> for ClipId"],["impl From<VideoId> for Box<VideoIdRef>"],["impl From<Box<StreamIdRef, Global>> for StreamId"],["impl From<Box<TeamIdRef, Global>> for TeamId"],["impl<'a> From<StreamSegmentId> for Cow<'a, StreamSegmentIdRef>"],["impl From<&EventSubIdRef> for Rc<EventSubIdRef>"],["impl From<EventSubId> for Box<EventSubIdRef>"],["impl<'a> From<&'a PredictionId> for Cow<'a, PredictionIdRef>"],["impl From<CreatorGoalId> for String"],["impl From<&PollIdRef> for PollId"],["impl From<&IgdbIdRef> for Rc<IgdbIdRef>"],["impl From<&CreatorGoalIdRef> for CreatorGoalId"],["impl From<Box<str, Global>> for PollId"],["impl From<&MsgIdRef> for Rc<MsgIdRef>"],["impl<'a> From<&'a IgdbId> for Cow<'a, IgdbIdRef>"],["impl From<String> for CreatorGoalId"],["impl From<TagId> for Box<TagIdRef>"],["impl From<&CharityCampaignIdRef> for CharityCampaignId"],["impl<'a> From<&'a String> for &'a ChatBadgeIdRef"],["impl<'a> From<Cow<'a, HexColorRef>> for HexColor"],["impl From<&str> for EmoteSetId"],["impl From<Box<PredictionOutcomeIdRef, Global>> for PredictionOutcomeId"],["impl From<Format> for TimestampParseError"],["impl From<Box<str, Global>> for PredictionId"],["impl From<&str> for MsgId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, DisplayNameRef>> for &'a DisplayNameRef"],["impl<'a> From<IgdbId> for Cow<'a, IgdbIdRef>"],["impl<'a> From<&'a str> for &'a IgdbIdRef"],["impl From<Box<IgdbIdRef, Global>> for IgdbId"],["impl From<&BlockedTermIdRef> for Rc<BlockedTermIdRef>"],["impl From<PredictionId> for String"],["impl From<&RewardIdRef> for RewardId"],["impl From<&CategoryIdRef> for Rc<CategoryIdRef>"],["impl<'a> From<EmoteId> for Cow<'a, EmoteIdRef>"],["impl<'a> From<&'a PollChoiceIdRef> for Cow<'a, PollChoiceIdRef>"],["impl<'a> From<ClipId> for Cow<'a, ClipIdRef>"],["impl<'a> From<StreamId> for Cow<'a, StreamIdRef>"],["impl<'a> From<&'a String> for &'a PredictionIdRef"],["impl<'a> From<&'a EventSubId> for &'a EventSubIdRef"],["impl<'a> From<&'a str> for &'a PollChoiceIdRef"],["impl<'a> From<&'a str> for &'a BlockedTermIdRef"],["impl From<&PollChoiceIdRef> for Arc<PollChoiceIdRef>"],["impl<'a> From<Cow<'a, VideoIdRef>> for VideoId"],["impl From<StreamId> for String"],["impl From<&str> for EmoteId"],["impl<'a> From<&'a PredictionOutcomeIdRef> for Cow<'a, PredictionOutcomeIdRef>"],["impl From<Box<EmoteIdRef, Global>> for EmoteId"],["impl From<&str> for ClipId"],["impl From<String> for TagId"],["impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>"],["impl From<Parse> for TimestampParseError"],["impl<'a, 'b: 'a> From<&'a Cow<'b, HexColorRef>> for &'a HexColorRef"],["impl From<&TagIdRef> for TagId"],["impl From<&BadgeSetIdRef> for Rc<BadgeSetIdRef>"],["impl<'a> From<&'a PollId> for Cow<'a, PollIdRef>"],["impl<'a> From<Cow<'a, TimestampRef>> for Timestamp"],["impl From<Box<ClipIdRef, Global>> for ClipId"],["impl From<CategoryId> for Box<CategoryIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CharityCampaignIdRef>> for &'a CharityCampaignIdRef"],["impl From<Box<str, Global>> for PredictionOutcomeId"],["impl From<Box<CategoryIdRef, Global>> for CategoryId"],["impl<'a> From<EventSubId> for Cow<'a, EventSubIdRef>"],["impl<'a> From<&'a CharityDonationId> for Cow<'a, CharityDonationIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, StreamIdRef>> for &'a StreamIdRef"],["impl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId"],["impl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId"],["impl From<PredictionId> for Box<PredictionIdRef>"],["impl From<CharityCampaignId> for Box<CharityCampaignIdRef>"],["impl<'a> From<&'a PollIdRef> for Cow<'a, PollIdRef>"],["impl<'a> From<&'a str> for &'a TeamIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, BlockedTermIdRef>> for &'a BlockedTermIdRef"],["impl<'a> From<&'a str> for &'a CreatorGoalIdRef"],["impl From<Box<CharityCampaignIdRef, Global>> for CharityCampaignId"],["impl From<String> for ClipId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteIdRef>> for &'a EmoteIdRef"],["impl<'a> From<&'a str> for &'a DisplayNameRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, IgdbIdRef>> for &'a IgdbIdRef"],["impl<'a> From<&'a str> for &'a CharityCampaignIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, ClipIdRef>> for &'a ClipIdRef"],["impl<'a> From<Cow<'a, RewardIdRef>> for RewardId"],["impl From<&CharityCampaignIdRef> for Rc<CharityCampaignIdRef>"],["impl<'a> From<Nickname> for Cow<'a, NicknameRef>"],["impl From<String> for PredictionId"],["impl<'a> From<VideoId> for Cow<'a, VideoIdRef>"],["impl<'a> From<&'a DisplayNameRef> for Cow<'a, DisplayNameRef>"],["impl<'a> From<Cow<'a, DisplayNameRef>> for DisplayName"],["impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef"],["impl From<&str> for BadgeSetId"],["impl From<&TimestampRef> for Rc<TimestampRef>"],["impl From<&PredictionOutcomeIdRef> for Arc<PredictionOutcomeIdRef>"],["impl From<&CategoryIdRef> for CategoryId"],["impl From<Box<str, Global>> for MsgId"],["impl<'a> From<&'a Nickname> for &'a NicknameRef"],["impl<'a> From<&'a String> for &'a VideoIdRef"],["impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef"],["impl<'a> From<Cow<'a, PredictionOutcomeIdRef>> for PredictionOutcomeId"],["impl From<EmoteId> for Box<EmoteIdRef>"],["impl<'a> From<DisplayName> for Cow<'a, DisplayNameRef>"],["impl<'a> From<&'a HypeTrainIdRef> for Cow<'a, HypeTrainIdRef>"],["impl<'a> From<&'a String> for &'a RewardIdRef"],["impl From<&str> for IgdbId"],["impl From<&EmoteIdRef> for Arc<EmoteIdRef>"],["impl<'a> From<&'a str> for &'a EmoteIdRef"],["impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>"],["impl<'a> From<&'a str> for &'a StreamIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TimestampRef>> for &'a TimestampRef"],["impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef"],["impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>"],["impl From<&TimestampRef> for Arc<TimestampRef>"],["impl<'a> From<&'a EventSubIdRef> for Cow<'a, EventSubIdRef>"],["impl<'a> From<&'a StreamId> for Cow<'a, StreamIdRef>"],["impl From<String> for RewardId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TeamIdRef>> for &'a TeamIdRef"],["impl From<Box<DisplayNameRef, Global>> for DisplayName"],["impl<'a> From<&'a String> for &'a StreamIdRef"],["impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef"],["impl From<ClipId> for String"],["impl<'a> From<&'a PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>"],["impl From<Box<str, Global>> for Nickname"],["impl<'a> From<&'a String> for &'a EmoteSetIdRef"],["impl From<Box<str, Global>> for VideoId"],["impl<'a> From<&'a str> for &'a VideoIdRef"],["impl<'a> From<&'a str> for &'a StreamSegmentIdRef"],["impl From<&BadgeSetIdRef> for Arc<BadgeSetIdRef>"],["impl From<&ClipIdRef> for Arc<ClipIdRef>"],["impl From<&PredictionIdRef> for PredictionId"],["impl From<PollId> for String"],["impl From<String> for ChatBadgeId"],["impl From<&MsgIdRef> for MsgId"],["impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, StreamSegmentIdRef>> for &'a StreamSegmentIdRef"],["impl<'a> From<&'a str> for &'a RedemptionIdRef"],["impl From<ChatBadgeId> for Box<ChatBadgeIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, BadgeSetIdRef>> for &'a BadgeSetIdRef"],["impl<'a> From<&'a String> for &'a UserIdRef"],["impl From<Timestamp> for Box<TimestampRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, NicknameRef>> for &'a NicknameRef"],["impl From<&RedemptionIdRef> for Rc<RedemptionIdRef>"],["impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>"],["impl From<&NicknameRef> for Arc<NicknameRef>"],["impl<'a> From<&'a PredictionId> for &'a PredictionIdRef"],["impl<'a> From<&'a str> for &'a PollIdRef"],["impl From<&ChatBadgeIdRef> for Arc<ChatBadgeIdRef>"],["impl<'a> From<CategoryId> for Cow<'a, CategoryIdRef>"],["impl From<&str> for ChatBadgeId"],["impl<'a> From<&'a String> for &'a PredictionOutcomeIdRef"],["impl<'a> From<PollId> for Cow<'a, PollIdRef>"],["impl From<&EmoteSetIdRef> for EmoteSetId"],["impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>"],["impl<'a> From<TagId> for Cow<'a, TagIdRef>"],["impl<'a> From<&'a VideoId> for Cow<'a, VideoIdRef>"],["impl From<DisplayName> for String"],["impl From<EmoteId> for String"],["impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef"],["impl From<BadgeSetId> for String"],["impl From<UserId> for String"],["impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>"],["impl<'a> From<Cow<'a, HexColorRef>> for NamedUserColor<'a>"],["impl From<Box<BadgeSetIdRef, Global>> for BadgeSetId"],["impl<'a> From<&'a String> for &'a BlockedTermIdRef"],["impl<'a> From<&'a String> for &'a ClipIdRef"],["impl From<Box<str, Global>> for PollChoiceId"],["impl From<&HypeTrainIdRef> for Arc<HypeTrainIdRef>"],["impl From<&VideoIdRef> for Arc<VideoIdRef>"],["impl<'a> From<&'a str> for &'a ClipIdRef"],["impl From<&RewardIdRef> for Rc<RewardIdRef>"],["impl From<&StreamIdRef> for StreamId"],["impl<'a> From<&'a CharityCampaignIdRef> for Cow<'a, CharityCampaignIdRef>"],["impl From<&str> for VideoId"],["impl From<Box<str, Global>> for HypeTrainId"],["impl<'a> From<&'a ChatBadgeId> for Cow<'a, ChatBadgeIdRef>"],["impl<'a> From<&'a String> for &'a StreamSegmentIdRef"],["impl<'a> From<Cow<'a, UserIdRef>> for UserId"],["impl From<IgdbId> for Box<IgdbIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionIdRef>> for &'a PredictionIdRef"],["impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>"],["impl<'a> From<&'a TeamIdRef> for Cow<'a, TeamIdRef>"],["impl From<Box<str, Global>> for BadgeSetId"],["impl From<Box<TagIdRef, Global>> for TagId"],["impl From<MsgId> for String"],["impl From<&PollChoiceIdRef> for PollChoiceId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, HypeTrainIdRef>> for &'a HypeTrainIdRef"],["impl From<&BlockedTermIdRef> for Arc<BlockedTermIdRef>"],["impl From<&HexColorRef> for Rc<HexColorRef>"],["impl From<&str> for DisplayName"],["impl From<String> for EmoteId"],["impl<'a> From<&'a HexColor> for &'a HexColorRef"],["impl From<Box<VideoIdRef, Global>> for VideoId"],["impl<'a> From<&'a TagId> for Cow<'a, TagIdRef>"],["impl From<HexColor> for String"],["impl From<&BadgeSetIdRef> for BadgeSetId"],["impl From<Box<PredictionIdRef, Global>> for PredictionId"],["impl<'a> From<&'a ClipIdRef> for Cow<'a, ClipIdRef>"],["impl From<Box<CharityDonationIdRef, Global>> for CharityDonationId"],["impl<'a> From<Cow<'a, TeamIdRef>> for TeamId"],["impl<'a> From<&'a String> for &'a TeamIdRef"],["impl From<PollChoiceId> for Box<PollChoiceIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef"],["impl From<&str> for PollId"],["impl<'a> From<&'a EmoteIdRef> for Cow<'a, EmoteIdRef>"],["impl<'a> From<&'a StreamId> for &'a StreamIdRef"],["impl From<&PredictionOutcomeIdRef> for Rc<PredictionOutcomeIdRef>"],["impl From<&TeamIdRef> for Arc<TeamIdRef>"],["impl From<UserId> for Box<UserIdRef>"],["impl<'a> From<&'a TimestampRef> for Cow<'a, TimestampRef>"],["impl<'a> From<&'a TagId> for &'a TagIdRef"],["impl From<Box<str, Global>> for RedemptionId"],["impl<'a> From<Cow<'a, HypeTrainIdRef>> for HypeTrainId"],["impl<'a> From<TeamId> for Cow<'a, TeamIdRef>"],["impl From<String> for StreamId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PollChoiceIdRef>> for &'a PollChoiceIdRef"],["impl From<HexColor> for Box<HexColorRef>"],["impl From<String> for PollId"],["impl<'a> From<&'a HexColor> for Cow<'a, HexColorRef>"],["impl From<Box<PollIdRef, Global>> for PollId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CategoryIdRef>> for &'a CategoryIdRef"],["impl From<&str> for RewardId"],["impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>"],["impl From<String> for IgdbId"],["impl<'a> From<&'a ClipId> for Cow<'a, ClipIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EventSubIdRef>> for &'a EventSubIdRef"],["impl<'a> From<&'a str> for &'a EventSubIdRef"],["impl<'a> From<BlockedTermId> for Cow<'a, BlockedTermIdRef>"],["impl From<&HypeTrainIdRef> for Rc<HypeTrainIdRef>"],["impl From<&str> for TagId"],["impl From<&UserIdRef> for UserId"],["impl<'a> From<&'a Timestamp> for Cow<'a, TimestampRef>"],["impl From<&HexColorRef> for HexColor"],["impl<'a> From<RedemptionId> for Cow<'a, RedemptionIdRef>"],["impl<'a> From<&'a TeamId> for &'a TeamIdRef"],["impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef"],["impl From<String> for BlockedTermId"],["impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef"],["impl<'a> From<PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>"],["impl<'a> From<&'a RewardIdRef> for Cow<'a, RewardIdRef>"],["impl<'a> From<&'a DisplayName> for &'a DisplayNameRef"],["impl<'a> From<&'a NicknameRef> for Cow<'a, NicknameRef>"],["impl<'a> From<&'a IgdbIdRef> for Cow<'a, IgdbIdRef>"],["impl<'a> From<Cow<'a, PredictionIdRef>> for PredictionId"],["impl From<Box<str, Global>> for BlockedTermId"],["impl<'a> From<&'a UserId> for Cow<'a, UserIdRef>"],["impl From<StreamId> for Box<StreamIdRef>"],["impl From<&ChatBadgeIdRef> for ChatBadgeId"],["impl From<&CategoryIdRef> for Arc<CategoryIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, PollIdRef>> for &'a PollIdRef"],["impl<'a, 'b: 'a> From<&'a Cow<'b, VideoIdRef>> for &'a VideoIdRef"],["impl From<TeamId> for Box<TeamIdRef>"],["impl<'a> From<PredictionId> for Cow<'a, PredictionIdRef>"],["impl From<PollId> for Box<PollIdRef>"],["impl<'a> From<&'a CreatorGoalId> for Cow<'a, CreatorGoalIdRef>"],["impl From<StreamSegmentId> for Box<StreamSegmentIdRef>"],["impl From<&PredictionIdRef> for Arc<PredictionIdRef>"],["impl<'a> From<&'a str> for &'a MsgIdRef"],["impl From<&TeamIdRef> for Rc<TeamIdRef>"],["impl From<&PollIdRef> for Arc<PollIdRef>"],["impl From<&str> for CharityCampaignId"],["impl From<&str> for Nickname"],["impl From<&EmoteIdRef> for Rc<EmoteIdRef>"],["impl<'a> From<Cow<'a, TagIdRef>> for TagId"],["impl<'a> From<&'a String> for &'a HypeTrainIdRef"],["impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef"],["impl From<Box<str, Global>> for EventSubId"],["impl From<Box<str, Global>> for CategoryId"],["impl From<Timestamp> for String"],["impl From<&PollChoiceIdRef> for Rc<PollChoiceIdRef>"],["impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId"],["impl From<DisplayName> for Box<DisplayNameRef>"],["impl From<&StreamSegmentIdRef> for Rc<StreamSegmentIdRef>"],["impl From<&str> for HypeTrainId"],["impl<'a> From<&'a ChatBadgeIdRef> for Cow<'a, ChatBadgeIdRef>"],["impl<'a> From<&'a BadgeSetIdRef> for Cow<'a, BadgeSetIdRef>"],["impl From<Box<str, Global>> for CreatorGoalId"],["impl From<Box<EventSubIdRef, Global>> for EventSubId"],["impl From<String> for TeamId"],["impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>"],["impl<'a> From<&'a MsgId> for &'a MsgIdRef"],["impl<'a> From<Cow<'a, BlockedTermIdRef>> for BlockedTermId"],["impl<'a> From<&'a String> for &'a PollIdRef"],["impl From<&NicknameRef> for Rc<NicknameRef>"],["impl From<String> for CategoryId"],["impl<'a> From<&'a RewardId> for Cow<'a, RewardIdRef>"],["impl<'a> From<CharityDonationId> for Cow<'a, CharityDonationIdRef>"],["impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef"],["impl From<&TagIdRef> for Rc<TagIdRef>"],["impl<'a> From<&'a str> for &'a PredictionOutcomeIdRef"],["impl From<String> for HypeTrainId"],["impl From<&MsgIdRef> for Arc<MsgIdRef>"],["impl<'a> From<Cow<'a, IgdbIdRef>> for IgdbId"],["impl<'a> From<&'a str> for &'a RewardIdRef"],["impl From<Box<EmoteSetIdRef, Global>> for EmoteSetId"],["impl From<&RewardIdRef> for Arc<RewardIdRef>"],["impl From<Box<str, Global>> for IgdbId"],["impl From<&HexColorRef> for Arc<HexColorRef>"],["impl From<RedemptionId> for String"],["impl From<&str> for PredictionId"],["impl<'a> From<&'a Nickname> for Cow<'a, NicknameRef>"],["impl<'a> From<&'a ClipId> for &'a ClipIdRef"],["impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>"],["impl<'a> From<Cow<'a, ChatBadgeIdRef>> for ChatBadgeId"],["impl<'a> From<Cow<'a, CharityDonationIdRef>> for CharityDonationId"],["impl<'a> From<&'a BlockedTermIdRef> for Cow<'a, BlockedTermIdRef>"],["impl From<String> for CharityDonationId"],["impl<'a> From<&'a BlockedTermId> for Cow<'a, BlockedTermIdRef>"],["impl From<&str> for TeamId"],["impl From<&TagIdRef> for Arc<TagIdRef>"],["impl From<&str> for BlockedTermId"],["impl<'a> From<&'a str> for &'a TagIdRef"],["impl From<String> for BadgeSetId"],["impl From<EventSubId> for String"],["impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef"],["impl From<&EventSubIdRef> for EventSubId"],["impl From<&PollIdRef> for Rc<PollIdRef>"],["impl From<&StreamSegmentIdRef> for Arc<StreamSegmentIdRef>"],["impl From<&IgdbIdRef> for IgdbId"],["impl From<Box<str, Global>> for EmoteId"],["impl From<&str> for StreamId"],["impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>"],["impl<'a> From<&'a EmoteId> for Cow<'a, EmoteIdRef>"],["impl<'a> From<&'a str> for &'a PredictionIdRef"],["impl<'a> From<&'a EmoteId> for &'a EmoteIdRef"],["impl From<Box<str, Global>> for TeamId"],["impl From<&str> for StreamSegmentId"],["impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef"],["impl From<&CharityDonationIdRef> for CharityDonationId"],["impl From<String> for EventSubId"],["impl From<String> for EmoteSetId"],["impl<'a> From<&'a IgdbId> for &'a IgdbIdRef"],["impl<'a> From<&'a CategoryId> for Cow<'a, CategoryIdRef>"],["impl<'a> From<&'a HexColorRef> for Cow<'a, HexColorRef>"],["impl<'a> From<&'a UserIdRef> for Cow<'a, UserIdRef>"],["impl From<Box<BlockedTermIdRef, Global>> for BlockedTermId"],["impl From<String> for HexColor"],["impl<'a> From<&'a CategoryIdRef> for Cow<'a, CategoryIdRef>"],["impl From<&ChatBadgeIdRef> for Rc<ChatBadgeIdRef>"],["impl From<RewardId> for Box<RewardIdRef>"],["impl<'a> From<&'a String> for &'a RedemptionIdRef"],["impl<'a> From<&'a str> for &'a ChatBadgeIdRef"],["impl From<TagId> for String"],["impl From<Box<ChatBadgeIdRef, Global>> for ChatBadgeId"],["impl From<&VideoIdRef> for VideoId"],["impl From<&str> for CategoryId"],["impl<'a> From<&'a PollChoiceId> for Cow<'a, PollChoiceIdRef>"],["impl<'a> From<&'a EventSubId> for Cow<'a, EventSubIdRef>"],["impl From<String> for CharityCampaignId"],["impl From<&str> for CreatorGoalId"],["impl<'a> From<&'a PollId> for &'a PollIdRef"],["impl From<Box<NicknameRef, Global>> for Nickname"],["impl From<Box<str, Global>> for StreamId"],["impl From<&EmoteIdRef> for EmoteId"],["impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>"],["impl From<&NicknameRef> for Nickname"],["impl From<VideoId> for String"],["impl<'a> From<&'a String> for &'a DisplayNameRef"],["impl From<String> for StreamSegmentId"],["impl<'a> From<&'a String> for &'a IgdbIdRef"],["impl From<&RedemptionIdRef> for RedemptionId"],["impl<'a> From<Cow<'a, RedemptionIdRef>> for RedemptionId"],["impl<'a> From<&'a str> for &'a CategoryIdRef"],["impl From<&IgdbIdRef> for Arc<IgdbIdRef>"],["impl<'a> From<&'a VideoId> for &'a VideoIdRef"],["impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId"],["impl From<Nickname> for String"],["impl From<EmoteSetId> for String"],["impl<'a, 'b: 'a> From<&'a Cow<'b, TagIdRef>> for &'a TagIdRef"],["impl From<String> for PollChoiceId"],["impl<'a> From<&'a str> for &'a HexColorRef"],["impl From<&ClipIdRef> for Rc<ClipIdRef>"],["impl From<CharityCampaignId> for String"],["impl<'a> From<&'a str> for &'a EmoteSetIdRef"],["impl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>"],["impl From<Box<UserIdRef, Global>> for UserId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.TryFrom.js b/implementors/core/convert/trait.TryFrom.js index e7f9efd7..de5d9aca 100644 --- a/implementors/core/convert/trait.TryFrom.js +++ b/implementors/core/convert/trait.TryFrom.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl<'a> TryFrom<&'a str> for NamedUserColor<'a>"],["impl<'a> TryFrom<&'a str> for &'a TimestampRef"],["impl TryFrom<String> for Timestamp"],["impl TryFrom<OffsetDateTime> for Timestamp"],["impl TryFrom<u64> for CommercialLength"],["impl TryFrom<&str> for Timestamp"],["impl<'a> TryFrom<&'a String> for &'a TimestampRef"]] +"twitch_types":[["impl TryFrom<String> for Timestamp"],["impl TryFrom<u64> for CommercialLength"],["impl<'a> TryFrom<&'a str> for &'a TimestampRef"],["impl<'a> TryFrom<&'a str> for NamedUserColor<'a>"],["impl TryFrom<&str> for Timestamp"],["impl<'a> TryFrom<&'a String> for &'a TimestampRef"],["impl TryFrom<OffsetDateTime> for Timestamp"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/default/trait.Default.js b/implementors/core/default/trait.Default.js index 46ef75b5..a1d92874 100644 --- a/implementors/core/default/trait.Default.js +++ b/implementors/core/default/trait.Default.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Default for EmoteScale"],["impl Default for EmoteThemeMode"],["impl Default for UserType"],["impl Default for BroadcasterType"]] +"twitch_types":[["impl Default for UserType"],["impl Default for EmoteThemeMode"],["impl Default for EmoteScale"],["impl Default for BroadcasterType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index e700baae..52d819a7 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Debug for BadgeSetIdRef"],["impl Debug for PredictionStatus"],["impl Debug for User"],["impl<'a> Debug for NamedUserColor<'a>"],["impl Debug for EmoteIdRef"],["impl Debug for UserId"],["impl Debug for VideoPrivacy"],["impl Debug for RedemptionId"],["impl Debug for VideoId"],["impl<'a> Debug for EmoteUrlBuilder<'a>"],["impl Debug for PollChoiceIdRef"],["impl Debug for DisplayName"],["impl Debug for VideoIdRef"],["impl Debug for BadgeSetId"],["impl Debug for GlobalCooldown"],["impl Debug for IgdbId"],["impl Debug for MsgIdRef"],["impl Debug for RedemptionIdRef"],["impl Debug for RewardIdRef"],["impl Debug for VideoPeriod"],["impl Debug for StreamId"],["impl Debug for TimestampParseError"],["impl Debug for PollId"],["impl Debug for StreamIdRef"],["impl Debug for StreamSegmentIdRef"],["impl Debug for CommercialLengthParseError"],["impl Debug for PredictionId"],["impl Debug for BlockedTermId"],["impl Debug for TagIdRef"],["impl Debug for Nickname"],["impl Debug for HypeTrainIdRef"],["impl Debug for TagId"],["impl Debug for EventSubId"],["impl Debug for TeamIdRef"],["impl Debug for CreatorGoalType"],["impl Debug for UserIdRef"],["impl Debug for ChatBadgeId"],["impl Debug for CategoryIdRef"],["impl Debug for TwitchCategory"],["impl Debug for Image"],["impl Debug for MsgId"],["impl Debug for IgdbIdRef"],["impl Debug for CategoryId"],["impl Debug for UserType"],["impl Debug for PredictionIdRef"],["impl Debug for BroadcasterType"],["impl Debug for AutomodStatus"],["impl Debug for ClipId"],["impl Debug for CharityCampaignIdRef"],["impl Debug for RewardId"],["impl Debug for PredictionOutcome"],["impl Debug for EmoteSetId"],["impl Debug for ResubscriptionEmote"],["impl Debug for HexColorRef"],["impl Debug for TimestampRef"],["impl Debug for NicknameRef"],["impl Debug for PredictionTopPredictors"],["impl Debug for EmoteSetIdRef"],["impl Debug for Max"],["impl Debug for EventSubIdRef"],["impl Debug for CharityCampaignId"],["impl Debug for ChatBadgeIdRef"],["impl Debug for CreatorGoalIdRef"],["impl Debug for CreatorGoalId"],["impl Debug for EmoteThemeMode"],["impl Debug for Timestamp"],["impl Debug for TeamId"],["impl Debug for PollChoiceId"],["impl Debug for PollIdRef"],["impl Debug for EmoteAnimationSetting"],["impl Debug for CharityDonationIdRef"],["impl Debug for EmoteId"],["impl Debug for PollChoice"],["impl Debug for HypeTrainId"],["impl Debug for HexColor"],["impl Debug for EmoteScale"],["impl Debug for VideoType"],["impl Debug for PredictionOutcomeId"],["impl Debug for ContentClassificationId"],["impl Debug for PredictionOutcomeIdRef"],["impl Debug for CommercialLength"],["impl Debug for DisplayNameRef"],["impl Debug for SubscriptionTier"],["impl Debug for PollStatus"],["impl Debug for ClipIdRef"],["impl Debug for StreamSegmentId"],["impl Debug for BlockedTermIdRef"],["impl Debug for CharityDonationId"]] +"twitch_types":[["impl Debug for PredictionId"],["impl Debug for EmoteScale"],["impl Debug for PollChoiceId"],["impl Debug for Timestamp"],["impl Debug for CharityDonationId"],["impl Debug for PredictionStatus"],["impl Debug for EmoteId"],["impl Debug for PollStatus"],["impl Debug for DisplayName"],["impl Debug for HexColorRef"],["impl Debug for MsgId"],["impl Debug for CategoryId"],["impl Debug for BadgeSetId"],["impl Debug for User"],["impl Debug for TeamId"],["impl Debug for RedemptionId"],["impl Debug for VideoType"],["impl Debug for PredictionOutcomeId"],["impl Debug for TwitchCategory"],["impl Debug for UserIdRef"],["impl Debug for UserType"],["impl<'a> Debug for NamedUserColor<'a>"],["impl Debug for PollId"],["impl Debug for BroadcasterType"],["impl Debug for RedemptionIdRef"],["impl Debug for NicknameRef"],["impl Debug for ResubscriptionEmote"],["impl Debug for BlockedTermId"],["impl Debug for ClipId"],["impl Debug for CharityCampaignId"],["impl Debug for HypeTrainIdRef"],["impl Debug for ClipIdRef"],["impl Debug for TimestampParseError"],["impl Debug for TeamIdRef"],["impl Debug for EmoteThemeMode"],["impl Debug for CommercialLength"],["impl Debug for EmoteAnimationSetting"],["impl Debug for Image"],["impl Debug for PredictionIdRef"],["impl Debug for PollIdRef"],["impl Debug for StreamSegmentId"],["impl Debug for UserId"],["impl Debug for ChatBadgeId"],["impl Debug for PollChoiceIdRef"],["impl Debug for EmoteSetIdRef"],["impl Debug for VideoIdRef"],["impl Debug for VideoId"],["impl Debug for TimestampRef"],["impl Debug for EventSubIdRef"],["impl Debug for BadgeSetIdRef"],["impl Debug for Nickname"],["impl Debug for CommercialLengthParseError"],["impl Debug for PredictionOutcomeIdRef"],["impl Debug for StreamSegmentIdRef"],["impl Debug for PredictionTopPredictors"],["impl Debug for ChatBadgeIdRef"],["impl Debug for AutomodStatus"],["impl Debug for StreamId"],["impl Debug for CreatorGoalType"],["impl Debug for GlobalCooldown"],["impl Debug for EventSubId"],["impl Debug for ContentClassificationId"],["impl Debug for TagId"],["impl Debug for VideoPeriod"],["impl Debug for CharityDonationIdRef"],["impl Debug for HypeTrainId"],["impl Debug for EmoteSetId"],["impl Debug for PredictionOutcome"],["impl Debug for StreamIdRef"],["impl Debug for Max"],["impl Debug for MsgIdRef"],["impl Debug for SubscriptionTier"],["impl Debug for BlockedTermIdRef"],["impl Debug for IgdbIdRef"],["impl Debug for DisplayNameRef"],["impl Debug for VideoPrivacy"],["impl<'a> Debug for EmoteUrlBuilder<'a>"],["impl Debug for PollChoice"],["impl Debug for CategoryIdRef"],["impl Debug for IgdbId"],["impl Debug for TagIdRef"],["impl Debug for HexColor"],["impl Debug for CreatorGoalId"],["impl Debug for CharityCampaignIdRef"],["impl Debug for RewardId"],["impl Debug for EmoteIdRef"],["impl Debug for RewardIdRef"],["impl Debug for CreatorGoalIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Display.js b/implementors/core/fmt/trait.Display.js index 447352ea..34749879 100644 --- a/implementors/core/fmt/trait.Display.js +++ b/implementors/core/fmt/trait.Display.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Display for BlockedTermId"],["impl Display for PollChoiceId"],["impl Display for DisplayName"],["impl Display for ResubscriptionEmote"],["impl Display for Nickname"],["impl Display for NamedUserColor<'_>"],["impl Display for HypeTrainIdRef"],["impl Display for PollChoiceIdRef"],["impl Display for TimestampRef"],["impl Display for PollIdRef"],["impl Display for BadgeSetIdRef"],["impl Display for TagIdRef"],["impl Display for EmoteScale"],["impl Display for EmoteSetIdRef"],["impl Display for EmoteThemeMode"],["impl Display for HexColor"],["impl Display for BlockedTermIdRef"],["impl Display for CommercialLength"],["impl Display for UserIdRef"],["impl Display for StreamSegmentIdRef"],["impl Display for Timestamp"],["impl Display for PredictionOutcomeIdRef"],["impl Display for DisplayNameRef"],["impl Display for CreatorGoalIdRef"],["impl Display for HypeTrainId"],["impl Display for TeamIdRef"],["impl Display for PredictionOutcomeId"],["impl Display for RedemptionIdRef"],["impl Display for CreatorGoalId"],["impl Display for ChatBadgeId"],["impl Display for IgdbIdRef"],["impl Display for EmoteSetId"],["impl Display for TimestampParseError"],["impl Display for PredictionId"],["impl Display for EventSubIdRef"],["impl Display for StreamIdRef"],["impl Display for CharityDonationIdRef"],["impl Display for MsgId"],["impl Display for ClipIdRef"],["impl Display for TeamId"],["impl Display for EventSubId"],["impl Display for PredictionIdRef"],["impl Display for EmoteId"],["impl Display for PollId"],["impl Display for CategoryIdRef"],["impl Display for RewardIdRef"],["impl Display for StreamId"],["impl Display for StreamSegmentId"],["impl Display for RedemptionId"],["impl Display for CommercialLengthParseError"],["impl Display for CharityDonationId"],["impl Display for UserId"],["impl Display for CharityCampaignId"],["impl Display for EmoteIdRef"],["impl Display for TagId"],["impl Display for EmoteAnimationSetting"],["impl Display for IgdbId"],["impl Display for HexColorRef"],["impl Display for CharityCampaignIdRef"],["impl Display for ChatBadgeIdRef"],["impl Display for VideoId"],["impl Display for BadgeSetId"],["impl Display for CategoryId"],["impl Display for VideoIdRef"],["impl Display for ClipId"],["impl Display for NicknameRef"],["impl Display for RewardId"],["impl Display for MsgIdRef"]] +"twitch_types":[["impl Display for EmoteThemeMode"],["impl Display for BlockedTermId"],["impl Display for EmoteAnimationSetting"],["impl Display for ClipIdRef"],["impl Display for TagId"],["impl Display for HexColorRef"],["impl Display for TimestampRef"],["impl Display for TimestampParseError"],["impl Display for TeamIdRef"],["impl Display for TagIdRef"],["impl Display for CharityCampaignIdRef"],["impl Display for RewardId"],["impl Display for ClipId"],["impl Display for BlockedTermIdRef"],["impl Display for CharityDonationIdRef"],["impl Display for CharityDonationId"],["impl Display for RedemptionId"],["impl Display for IgdbId"],["impl Display for TeamId"],["impl Display for BadgeSetId"],["impl Display for EmoteId"],["impl Display for NamedUserColor<'_>"],["impl Display for PredictionIdRef"],["impl Display for StreamSegmentId"],["impl Display for EventSubIdRef"],["impl Display for PollChoiceIdRef"],["impl Display for EventSubId"],["impl Display for EmoteIdRef"],["impl Display for BadgeSetIdRef"],["impl Display for DisplayNameRef"],["impl Display for StreamIdRef"],["impl Display for MsgId"],["impl Display for CategoryIdRef"],["impl Display for PredictionId"],["impl Display for StreamSegmentIdRef"],["impl Display for UserIdRef"],["impl Display for RewardIdRef"],["impl Display for StreamId"],["impl Display for EmoteSetId"],["impl Display for PollId"],["impl Display for VideoIdRef"],["impl Display for ChatBadgeIdRef"],["impl Display for UserId"],["impl Display for PollIdRef"],["impl Display for HypeTrainIdRef"],["impl Display for HexColor"],["impl Display for RedemptionIdRef"],["impl Display for ChatBadgeId"],["impl Display for CreatorGoalId"],["impl Display for EmoteScale"],["impl Display for Timestamp"],["impl Display for Nickname"],["impl Display for CategoryId"],["impl Display for PollChoiceId"],["impl Display for CommercialLength"],["impl Display for NicknameRef"],["impl Display for DisplayName"],["impl Display for ResubscriptionEmote"],["impl Display for VideoId"],["impl Display for HypeTrainId"],["impl Display for PredictionOutcomeIdRef"],["impl Display for CharityCampaignId"],["impl Display for CommercialLengthParseError"],["impl Display for MsgIdRef"],["impl Display for PredictionOutcomeId"],["impl Display for EmoteSetIdRef"],["impl Display for CreatorGoalIdRef"],["impl Display for IgdbIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/hash/trait.Hash.js b/implementors/core/hash/trait.Hash.js index c01e8af1..12cbb814 100644 --- a/implementors/core/hash/trait.Hash.js +++ b/implementors/core/hash/trait.Hash.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Hash for ClipId"],["impl Hash for EventSubId"],["impl Hash for EventSubIdRef"],["impl Hash for BlockedTermId"],["impl Hash for StreamSegmentId"],["impl Hash for UserType"],["impl Hash for Timestamp"],["impl Hash for PollChoiceId"],["impl Hash for MsgId"],["impl Hash for CreatorGoalIdRef"],["impl Hash for PredictionOutcomeIdRef"],["impl Hash for PollChoiceIdRef"],["impl Hash for PredictionOutcomeId"],["impl Hash for UserId"],["impl Hash for PredictionIdRef"],["impl Hash for CharityDonationId"],["impl Hash for BroadcasterType"],["impl Hash for DisplayNameRef"],["impl Hash for BadgeSetIdRef"],["impl Hash for ClipIdRef"],["impl Hash for EmoteIdRef"],["impl Hash for Nickname"],["impl Hash for RedemptionId"],["impl Hash for CharityDonationIdRef"],["impl Hash for TagId"],["impl Hash for VideoIdRef"],["impl Hash for HexColorRef"],["impl Hash for ChatBadgeId"],["impl Hash for StreamIdRef"],["impl Hash for HypeTrainId"],["impl Hash for TimestampRef"],["impl Hash for EmoteId"],["impl Hash for HexColor"],["impl Hash for CategoryIdRef"],["impl Hash for PredictionId"],["impl Hash for BlockedTermIdRef"],["impl Hash for ChatBadgeIdRef"],["impl Hash for IgdbId"],["impl Hash for DisplayName"],["impl Hash for TeamIdRef"],["impl Hash for TeamId"],["impl Hash for RedemptionIdRef"],["impl Hash for RewardIdRef"],["impl Hash for CharityCampaignIdRef"],["impl Hash for PollId"],["impl Hash for VideoId"],["impl Hash for CreatorGoalId"],["impl Hash for EmoteSetIdRef"],["impl Hash for MsgIdRef"],["impl Hash for BadgeSetId"],["impl Hash for UserIdRef"],["impl Hash for TagIdRef"],["impl Hash for CategoryId"],["impl Hash for StreamId"],["impl Hash for PollIdRef"],["impl Hash for HypeTrainIdRef"],["impl Hash for EmoteSetId"],["impl Hash for NicknameRef"],["impl Hash for CharityCampaignId"],["impl Hash for IgdbIdRef"],["impl Hash for StreamSegmentIdRef"],["impl Hash for RewardId"]] +"twitch_types":[["impl Hash for TimestampRef"],["impl Hash for CategoryId"],["impl Hash for HexColor"],["impl Hash for HypeTrainIdRef"],["impl Hash for RedemptionId"],["impl Hash for ChatBadgeIdRef"],["impl Hash for BlockedTermId"],["impl Hash for VideoIdRef"],["impl Hash for CreatorGoalIdRef"],["impl Hash for Timestamp"],["impl Hash for HexColorRef"],["impl Hash for EventSubIdRef"],["impl Hash for PollId"],["impl Hash for TagIdRef"],["impl Hash for UserId"],["impl Hash for IgdbId"],["impl Hash for TagId"],["impl Hash for PredictionOutcomeIdRef"],["impl Hash for MsgIdRef"],["impl Hash for RewardIdRef"],["impl Hash for BadgeSetIdRef"],["impl Hash for IgdbIdRef"],["impl Hash for TeamId"],["impl Hash for ChatBadgeId"],["impl Hash for NicknameRef"],["impl Hash for StreamId"],["impl Hash for Nickname"],["impl Hash for BroadcasterType"],["impl Hash for PollChoiceId"],["impl Hash for ClipIdRef"],["impl Hash for UserType"],["impl Hash for DisplayNameRef"],["impl Hash for TeamIdRef"],["impl Hash for StreamIdRef"],["impl Hash for EmoteId"],["impl Hash for BadgeSetId"],["impl Hash for PollChoiceIdRef"],["impl Hash for ClipId"],["impl Hash for EmoteSetId"],["impl Hash for BlockedTermIdRef"],["impl Hash for PredictionIdRef"],["impl Hash for EmoteIdRef"],["impl Hash for CharityDonationId"],["impl Hash for CharityCampaignId"],["impl Hash for HypeTrainId"],["impl Hash for RedemptionIdRef"],["impl Hash for PredictionOutcomeId"],["impl Hash for CategoryIdRef"],["impl Hash for VideoId"],["impl Hash for CharityCampaignIdRef"],["impl Hash for MsgId"],["impl Hash for CreatorGoalId"],["impl Hash for EventSubId"],["impl Hash for RewardId"],["impl Hash for EmoteSetIdRef"],["impl Hash for UserIdRef"],["impl Hash for StreamSegmentIdRef"],["impl Hash for StreamSegmentId"],["impl Hash for DisplayName"],["impl Hash for PollIdRef"],["impl Hash for PredictionId"],["impl Hash for CharityDonationIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.Copy.js b/implementors/core/marker/trait.Copy.js index 09b51b26..62b76362 100644 --- a/implementors/core/marker/trait.Copy.js +++ b/implementors/core/marker/trait.Copy.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Copy for UserType"],["impl Copy for CommercialLength"],["impl Copy for BroadcasterType"]] +"twitch_types":[["impl Copy for BroadcasterType"],["impl Copy for CommercialLength"],["impl Copy for UserType"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralEq.js b/implementors/core/marker/trait.StructuralEq.js index d3611e67..21816f6c 100644 --- a/implementors/core/marker/trait.StructuralEq.js +++ b/implementors/core/marker/trait.StructuralEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl StructuralEq for HypeTrainIdRef"],["impl StructuralEq for TwitchCategory"],["impl StructuralEq for User"],["impl StructuralEq for IgdbIdRef"],["impl StructuralEq for VideoId"],["impl StructuralEq for TeamIdRef"],["impl StructuralEq for RewardId"],["impl StructuralEq for NicknameRef"],["impl StructuralEq for PollId"],["impl StructuralEq for VideoType"],["impl StructuralEq for SubscriptionTier"],["impl StructuralEq for TagId"],["impl StructuralEq for TagIdRef"],["impl StructuralEq for HexColorRef"],["impl StructuralEq for HexColor"],["impl StructuralEq for HypeTrainId"],["impl StructuralEq for PollIdRef"],["impl StructuralEq for EventSubIdRef"],["impl StructuralEq for RedemptionIdRef"],["impl StructuralEq for GlobalCooldown"],["impl StructuralEq for Nickname"],["impl StructuralEq for UserIdRef"],["impl StructuralEq for PredictionOutcome"],["impl StructuralEq for StreamIdRef"],["impl StructuralEq for Timestamp"],["impl StructuralEq for BroadcasterType"],["impl StructuralEq for EmoteIdRef"],["impl StructuralEq for PredictionOutcomeIdRef"],["impl StructuralEq for UserType"],["impl StructuralEq for EventSubId"],["impl StructuralEq for PredictionTopPredictors"],["impl StructuralEq for MsgIdRef"],["impl StructuralEq for ContentClassificationId"],["impl StructuralEq for CharityDonationIdRef"],["impl StructuralEq for EmoteSetId"],["impl StructuralEq for EmoteThemeMode"],["impl StructuralEq for ChatBadgeIdRef"],["impl StructuralEq for TimestampRef"],["impl StructuralEq for VideoPrivacy"],["impl StructuralEq for IgdbId"],["impl StructuralEq for CharityDonationId"],["impl StructuralEq for AutomodStatus"],["impl StructuralEq for DisplayNameRef"],["impl StructuralEq for StreamSegmentId"],["impl StructuralEq for DisplayName"],["impl StructuralEq for BlockedTermId"],["impl StructuralEq for RedemptionId"],["impl StructuralEq for CharityCampaignIdRef"],["impl StructuralEq for CategoryIdRef"],["impl StructuralEq for CreatorGoalType"],["impl StructuralEq for StreamSegmentIdRef"],["impl StructuralEq for Max"],["impl StructuralEq for StreamId"],["impl StructuralEq for ResubscriptionEmote"],["impl StructuralEq for EmoteScale"],["impl StructuralEq for MsgId"],["impl StructuralEq for BadgeSetId"],["impl StructuralEq for UserId"],["impl StructuralEq for CreatorGoalIdRef"],["impl StructuralEq for CommercialLength"],["impl StructuralEq for PredictionIdRef"],["impl StructuralEq for ClipIdRef"],["impl StructuralEq for CategoryId"],["impl StructuralEq for EmoteSetIdRef"],["impl StructuralEq for PollChoice"],["impl StructuralEq for Image"],["impl<'a> StructuralEq for NamedUserColor<'a>"],["impl StructuralEq for PollChoiceIdRef"],["impl StructuralEq for EmoteId"],["impl StructuralEq for PollChoiceId"],["impl StructuralEq for PredictionOutcomeId"],["impl StructuralEq for CharityCampaignId"],["impl StructuralEq for TeamId"],["impl StructuralEq for PollStatus"],["impl StructuralEq for BadgeSetIdRef"],["impl StructuralEq for PredictionId"],["impl StructuralEq for VideoPeriod"],["impl StructuralEq for VideoIdRef"],["impl StructuralEq for EmoteAnimationSetting"],["impl StructuralEq for ClipId"],["impl StructuralEq for PredictionStatus"],["impl StructuralEq for ChatBadgeId"],["impl StructuralEq for CreatorGoalId"],["impl StructuralEq for BlockedTermIdRef"],["impl StructuralEq for RewardIdRef"]] +"twitch_types":[["impl StructuralEq for User"],["impl StructuralEq for CharityCampaignId"],["impl StructuralEq for BroadcasterType"],["impl<'a> StructuralEq for NamedUserColor<'a>"],["impl StructuralEq for HexColorRef"],["impl StructuralEq for StreamIdRef"],["impl StructuralEq for StreamId"],["impl StructuralEq for PredictionStatus"],["impl StructuralEq for VideoType"],["impl StructuralEq for ContentClassificationId"],["impl StructuralEq for HypeTrainId"],["impl StructuralEq for MsgId"],["impl StructuralEq for StreamSegmentId"],["impl StructuralEq for CharityDonationId"],["impl StructuralEq for Timestamp"],["impl StructuralEq for TagId"],["impl StructuralEq for TeamId"],["impl StructuralEq for NicknameRef"],["impl StructuralEq for CategoryId"],["impl StructuralEq for UserType"],["impl StructuralEq for HexColor"],["impl StructuralEq for EmoteScale"],["impl StructuralEq for EmoteSetId"],["impl StructuralEq for PredictionId"],["impl StructuralEq for EmoteAnimationSetting"],["impl StructuralEq for EmoteIdRef"],["impl StructuralEq for ChatBadgeId"],["impl StructuralEq for PollChoice"],["impl StructuralEq for RewardIdRef"],["impl StructuralEq for PollStatus"],["impl StructuralEq for CreatorGoalId"],["impl StructuralEq for IgdbId"],["impl StructuralEq for ClipIdRef"],["impl StructuralEq for CharityDonationIdRef"],["impl StructuralEq for CommercialLength"],["impl StructuralEq for EventSubId"],["impl StructuralEq for VideoId"],["impl StructuralEq for TeamIdRef"],["impl StructuralEq for ResubscriptionEmote"],["impl StructuralEq for PredictionOutcomeIdRef"],["impl StructuralEq for PollChoiceIdRef"],["impl StructuralEq for VideoIdRef"],["impl StructuralEq for CreatorGoalType"],["impl StructuralEq for PollChoiceId"],["impl StructuralEq for ChatBadgeIdRef"],["impl StructuralEq for CharityCampaignIdRef"],["impl StructuralEq for TagIdRef"],["impl StructuralEq for PollIdRef"],["impl StructuralEq for CreatorGoalIdRef"],["impl StructuralEq for PollId"],["impl StructuralEq for VideoPeriod"],["impl StructuralEq for DisplayNameRef"],["impl StructuralEq for PredictionTopPredictors"],["impl StructuralEq for BlockedTermIdRef"],["impl StructuralEq for TwitchCategory"],["impl StructuralEq for PredictionIdRef"],["impl StructuralEq for BadgeSetId"],["impl StructuralEq for StreamSegmentIdRef"],["impl StructuralEq for CategoryIdRef"],["impl StructuralEq for EmoteThemeMode"],["impl StructuralEq for PredictionOutcome"],["impl StructuralEq for RewardId"],["impl StructuralEq for EmoteId"],["impl StructuralEq for DisplayName"],["impl StructuralEq for SubscriptionTier"],["impl StructuralEq for TimestampRef"],["impl StructuralEq for VideoPrivacy"],["impl StructuralEq for UserId"],["impl StructuralEq for Image"],["impl StructuralEq for Max"],["impl StructuralEq for ClipId"],["impl StructuralEq for MsgIdRef"],["impl StructuralEq for RedemptionId"],["impl StructuralEq for PredictionOutcomeId"],["impl StructuralEq for IgdbIdRef"],["impl StructuralEq for AutomodStatus"],["impl StructuralEq for RedemptionIdRef"],["impl StructuralEq for HypeTrainIdRef"],["impl StructuralEq for Nickname"],["impl StructuralEq for GlobalCooldown"],["impl StructuralEq for BadgeSetIdRef"],["impl StructuralEq for EmoteSetIdRef"],["impl StructuralEq for UserIdRef"],["impl StructuralEq for EventSubIdRef"],["impl StructuralEq for BlockedTermId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/marker/trait.StructuralPartialEq.js b/implementors/core/marker/trait.StructuralPartialEq.js index e1096dc6..4c7b46d2 100644 --- a/implementors/core/marker/trait.StructuralPartialEq.js +++ b/implementors/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl StructuralPartialEq for TagIdRef"],["impl StructuralPartialEq for Max"],["impl StructuralPartialEq for TwitchCategory"],["impl StructuralPartialEq for Timestamp"],["impl StructuralPartialEq for MsgIdRef"],["impl StructuralPartialEq for ResubscriptionEmote"],["impl StructuralPartialEq for StreamSegmentId"],["impl StructuralPartialEq for EmoteSetId"],["impl StructuralPartialEq for AutomodStatus"],["impl<'a> StructuralPartialEq for NamedUserColor<'a>"],["impl StructuralPartialEq for PollChoice"],["impl StructuralPartialEq for ClipIdRef"],["impl StructuralPartialEq for Nickname"],["impl StructuralPartialEq for VideoIdRef"],["impl StructuralPartialEq for BroadcasterType"],["impl StructuralPartialEq for CommercialLength"],["impl StructuralPartialEq for CharityCampaignIdRef"],["impl StructuralPartialEq for User"],["impl StructuralPartialEq for HexColor"],["impl StructuralPartialEq for PredictionOutcome"],["impl StructuralPartialEq for TagId"],["impl StructuralPartialEq for PollChoiceIdRef"],["impl StructuralPartialEq for RedemptionIdRef"],["impl StructuralPartialEq for EmoteId"],["impl StructuralPartialEq for PollChoiceId"],["impl StructuralPartialEq for SubscriptionTier"],["impl StructuralPartialEq for IgdbIdRef"],["impl StructuralPartialEq for HexColorRef"],["impl StructuralPartialEq for EmoteScale"],["impl StructuralPartialEq for DisplayName"],["impl StructuralPartialEq for RewardIdRef"],["impl StructuralPartialEq for PredictionOutcomeIdRef"],["impl StructuralPartialEq for CreatorGoalIdRef"],["impl StructuralPartialEq for UserType"],["impl StructuralPartialEq for CharityDonationId"],["impl StructuralPartialEq for ContentClassificationId"],["impl StructuralPartialEq for ChatBadgeId"],["impl StructuralPartialEq for EmoteThemeMode"],["impl StructuralPartialEq for EmoteAnimationSetting"],["impl StructuralPartialEq for HypeTrainId"],["impl StructuralPartialEq for BadgeSetIdRef"],["impl StructuralPartialEq for PredictionIdRef"],["impl StructuralPartialEq for EventSubId"],["impl StructuralPartialEq for UserId"],["impl StructuralPartialEq for CreatorGoalType"],["impl StructuralPartialEq for IgdbId"],["impl StructuralPartialEq for CategoryId"],["impl StructuralPartialEq for GlobalCooldown"],["impl StructuralPartialEq for ChatBadgeIdRef"],["impl StructuralPartialEq for VideoId"],["impl StructuralPartialEq for UserIdRef"],["impl StructuralPartialEq for StreamId"],["impl StructuralPartialEq for EventSubIdRef"],["impl StructuralPartialEq for PredictionOutcomeId"],["impl StructuralPartialEq for VideoPeriod"],["impl StructuralPartialEq for PredictionId"],["impl StructuralPartialEq for VideoType"],["impl StructuralPartialEq for VideoPrivacy"],["impl StructuralPartialEq for DisplayNameRef"],["impl StructuralPartialEq for PollId"],["impl StructuralPartialEq for PredictionStatus"],["impl StructuralPartialEq for MsgId"],["impl StructuralPartialEq for NicknameRef"],["impl StructuralPartialEq for PredictionTopPredictors"],["impl StructuralPartialEq for StreamSegmentIdRef"],["impl StructuralPartialEq for RedemptionId"],["impl StructuralPartialEq for HypeTrainIdRef"],["impl StructuralPartialEq for BadgeSetId"],["impl StructuralPartialEq for CharityDonationIdRef"],["impl StructuralPartialEq for EmoteSetIdRef"],["impl StructuralPartialEq for TimestampRef"],["impl StructuralPartialEq for TeamId"],["impl StructuralPartialEq for TeamIdRef"],["impl StructuralPartialEq for StreamIdRef"],["impl StructuralPartialEq for BlockedTermIdRef"],["impl StructuralPartialEq for RewardId"],["impl StructuralPartialEq for BlockedTermId"],["impl StructuralPartialEq for PollIdRef"],["impl StructuralPartialEq for PollStatus"],["impl StructuralPartialEq for EmoteIdRef"],["impl StructuralPartialEq for CharityCampaignId"],["impl StructuralPartialEq for CreatorGoalId"],["impl StructuralPartialEq for ClipId"],["impl StructuralPartialEq for Image"],["impl StructuralPartialEq for CategoryIdRef"]] +"twitch_types":[["impl StructuralPartialEq for ClipIdRef"],["impl StructuralPartialEq for Max"],["impl StructuralPartialEq for EmoteId"],["impl StructuralPartialEq for EmoteThemeMode"],["impl StructuralPartialEq for BadgeSetId"],["impl StructuralPartialEq for User"],["impl StructuralPartialEq for MsgIdRef"],["impl StructuralPartialEq for TagIdRef"],["impl StructuralPartialEq for PollIdRef"],["impl StructuralPartialEq for Image"],["impl StructuralPartialEq for PollChoice"],["impl StructuralPartialEq for MsgId"],["impl StructuralPartialEq for VideoPeriod"],["impl StructuralPartialEq for ClipId"],["impl StructuralPartialEq for TeamIdRef"],["impl StructuralPartialEq for IgdbIdRef"],["impl StructuralPartialEq for HypeTrainIdRef"],["impl StructuralPartialEq for CharityDonationId"],["impl StructuralPartialEq for VideoPrivacy"],["impl StructuralPartialEq for RewardIdRef"],["impl StructuralPartialEq for UserId"],["impl StructuralPartialEq for ChatBadgeId"],["impl StructuralPartialEq for UserType"],["impl StructuralPartialEq for EmoteSetId"],["impl StructuralPartialEq for PredictionStatus"],["impl StructuralPartialEq for VideoIdRef"],["impl StructuralPartialEq for BlockedTermIdRef"],["impl StructuralPartialEq for StreamSegmentId"],["impl StructuralPartialEq for BlockedTermId"],["impl StructuralPartialEq for PollChoiceId"],["impl StructuralPartialEq for CreatorGoalType"],["impl StructuralPartialEq for StreamIdRef"],["impl StructuralPartialEq for CreatorGoalIdRef"],["impl StructuralPartialEq for CommercialLength"],["impl StructuralPartialEq for ResubscriptionEmote"],["impl StructuralPartialEq for VideoType"],["impl StructuralPartialEq for HypeTrainId"],["impl StructuralPartialEq for SubscriptionTier"],["impl StructuralPartialEq for Timestamp"],["impl StructuralPartialEq for EmoteScale"],["impl StructuralPartialEq for VideoId"],["impl StructuralPartialEq for RewardId"],["impl StructuralPartialEq for PollChoiceIdRef"],["impl StructuralPartialEq for Nickname"],["impl StructuralPartialEq for EventSubId"],["impl StructuralPartialEq for RedemptionId"],["impl StructuralPartialEq for StreamSegmentIdRef"],["impl StructuralPartialEq for TimestampRef"],["impl StructuralPartialEq for StreamId"],["impl StructuralPartialEq for NicknameRef"],["impl StructuralPartialEq for PredictionTopPredictors"],["impl StructuralPartialEq for PredictionOutcome"],["impl<'a> StructuralPartialEq for NamedUserColor<'a>"],["impl StructuralPartialEq for TagId"],["impl StructuralPartialEq for BadgeSetIdRef"],["impl StructuralPartialEq for IgdbId"],["impl StructuralPartialEq for UserIdRef"],["impl StructuralPartialEq for PredictionId"],["impl StructuralPartialEq for CharityDonationIdRef"],["impl StructuralPartialEq for EventSubIdRef"],["impl StructuralPartialEq for EmoteSetIdRef"],["impl StructuralPartialEq for AutomodStatus"],["impl StructuralPartialEq for GlobalCooldown"],["impl StructuralPartialEq for CreatorGoalId"],["impl StructuralPartialEq for DisplayName"],["impl StructuralPartialEq for PollId"],["impl StructuralPartialEq for EmoteIdRef"],["impl StructuralPartialEq for ContentClassificationId"],["impl StructuralPartialEq for CharityCampaignIdRef"],["impl StructuralPartialEq for DisplayNameRef"],["impl StructuralPartialEq for EmoteAnimationSetting"],["impl StructuralPartialEq for RedemptionIdRef"],["impl StructuralPartialEq for PollStatus"],["impl StructuralPartialEq for CategoryIdRef"],["impl StructuralPartialEq for HexColor"],["impl StructuralPartialEq for PredictionOutcomeId"],["impl StructuralPartialEq for HexColorRef"],["impl StructuralPartialEq for ChatBadgeIdRef"],["impl StructuralPartialEq for CategoryId"],["impl StructuralPartialEq for CharityCampaignId"],["impl StructuralPartialEq for PredictionIdRef"],["impl StructuralPartialEq for TwitchCategory"],["impl StructuralPartialEq for TeamId"],["impl StructuralPartialEq for BroadcasterType"],["impl StructuralPartialEq for PredictionOutcomeIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/ops/deref/trait.Deref.js b/implementors/core/ops/deref/trait.Deref.js index ec28649b..3f68b5a8 100644 --- a/implementors/core/ops/deref/trait.Deref.js +++ b/implementors/core/ops/deref/trait.Deref.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Deref for BadgeSetId"],["impl Deref for TeamId"],["impl Deref for EmoteId"],["impl Deref for Timestamp"],["impl Deref for StreamId"],["impl Deref for EmoteSetId"],["impl Deref for PredictionId"],["impl Deref for DisplayName"],["impl Deref for CharityCampaignId"],["impl Deref for UserId"],["impl Deref for Nickname"],["impl Deref for PollId"],["impl Deref for PredictionOutcomeId"],["impl Deref for HexColor"],["impl Deref for CreatorGoalId"],["impl Deref for RedemptionId"],["impl Deref for VideoId"],["impl Deref for MsgId"],["impl Deref for PollChoiceId"],["impl Deref for CategoryId"],["impl Deref for ChatBadgeId"],["impl Deref for StreamSegmentId"],["impl Deref for CharityDonationId"],["impl Deref for BlockedTermId"],["impl Deref for ClipId"],["impl Deref for HypeTrainId"],["impl Deref for RewardId"],["impl Deref for TagId"],["impl Deref for IgdbId"],["impl Deref for EventSubId"]] +"twitch_types":[["impl Deref for ChatBadgeId"],["impl Deref for EmoteId"],["impl Deref for EventSubId"],["impl Deref for Nickname"],["impl Deref for PollId"],["impl Deref for StreamSegmentId"],["impl Deref for RewardId"],["impl Deref for HypeTrainId"],["impl Deref for TagId"],["impl Deref for HexColor"],["impl Deref for UserId"],["impl Deref for CharityDonationId"],["impl Deref for ClipId"],["impl Deref for EmoteSetId"],["impl Deref for TeamId"],["impl Deref for IgdbId"],["impl Deref for CharityCampaignId"],["impl Deref for PredictionOutcomeId"],["impl Deref for Timestamp"],["impl Deref for DisplayName"],["impl Deref for BlockedTermId"],["impl Deref for PollChoiceId"],["impl Deref for RedemptionId"],["impl Deref for BadgeSetId"],["impl Deref for MsgId"],["impl Deref for CreatorGoalId"],["impl Deref for CategoryId"],["impl Deref for StreamId"],["impl Deref for VideoId"],["impl Deref for PredictionId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/str/traits/trait.FromStr.js b/implementors/core/str/traits/trait.FromStr.js index 21600222..ccd4839f 100644 --- a/implementors/core/str/traits/trait.FromStr.js +++ b/implementors/core/str/traits/trait.FromStr.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl FromStr for Nickname"],["impl FromStr for PollChoiceId"],["impl FromStr for EmoteId"],["impl FromStr for RewardId"],["impl FromStr for Timestamp"],["impl FromStr for PollId"],["impl FromStr for VideoId"],["impl FromStr for MsgId"],["impl FromStr for UserId"],["impl FromStr for ChatBadgeId"],["impl FromStr for StreamSegmentId"],["impl FromStr for DisplayName"],["impl FromStr for TagId"],["impl FromStr for HypeTrainId"],["impl FromStr for CategoryId"],["impl FromStr for ClipId"],["impl FromStr for RedemptionId"],["impl FromStr for EmoteSetId"],["impl FromStr for IgdbId"],["impl FromStr for PredictionOutcomeId"],["impl FromStr for PredictionId"],["impl FromStr for BadgeSetId"],["impl FromStr for StreamId"],["impl FromStr for CharityDonationId"],["impl FromStr for TeamId"],["impl FromStr for CharityCampaignId"],["impl FromStr for HexColor"],["impl FromStr for CreatorGoalId"],["impl FromStr for EventSubId"],["impl FromStr for BlockedTermId"]] +"twitch_types":[["impl FromStr for CategoryId"],["impl FromStr for TeamId"],["impl FromStr for BlockedTermId"],["impl FromStr for HexColor"],["impl FromStr for CreatorGoalId"],["impl FromStr for ChatBadgeId"],["impl FromStr for HypeTrainId"],["impl FromStr for CharityCampaignId"],["impl FromStr for BadgeSetId"],["impl FromStr for IgdbId"],["impl FromStr for Nickname"],["impl FromStr for RewardId"],["impl FromStr for UserId"],["impl FromStr for EmoteId"],["impl FromStr for PollChoiceId"],["impl FromStr for CharityDonationId"],["impl FromStr for RedemptionId"],["impl FromStr for EventSubId"],["impl FromStr for TagId"],["impl FromStr for EmoteSetId"],["impl FromStr for PollId"],["impl FromStr for PredictionId"],["impl FromStr for StreamSegmentId"],["impl FromStr for Timestamp"],["impl FromStr for StreamId"],["impl FromStr for PredictionOutcomeId"],["impl FromStr for ClipId"],["impl FromStr for VideoId"],["impl FromStr for DisplayName"],["impl FromStr for MsgId"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/de/trait.Deserialize.js b/implementors/serde/de/trait.Deserialize.js index f5ae7170..500e7ac7 100644 --- a/implementors/serde/de/trait.Deserialize.js +++ b/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteIdRef"],["impl<'de> Deserialize<'de> for Box<CharityCampaignIdRef>"],["impl<'de> Deserialize<'de> for GlobalCooldown"],["impl<'de> Deserialize<'de> for AutomodStatus"],["impl<'de> Deserialize<'de> for Box<PredictionIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PollIdRef"],["impl<'de> Deserialize<'de> for Box<EmoteSetIdRef>"],["impl<'de> Deserialize<'de> for BroadcasterType"],["impl<'de> Deserialize<'de> for EmoteScale"],["impl<'de> Deserialize<'de> for EmoteAnimationSetting"],["impl<'de> Deserialize<'de> for PredictionOutcome"],["impl<'de> Deserialize<'de> for VideoPrivacy"],["impl<'de> Deserialize<'de> for PredictionOutcomeId"],["impl<'de> Deserialize<'de> for Box<IgdbIdRef>"],["impl<'de> Deserialize<'de> for MsgId"],["impl<'de> Deserialize<'de> for Box<PollIdRef>"],["impl<'de> Deserialize<'de> for Box<PollChoiceIdRef>"],["impl<'de> Deserialize<'de> for Box<UserIdRef>"],["impl<'de> Deserialize<'de> for PredictionId"],["impl<'de> Deserialize<'de> for PredictionStatus"],["impl<'de> Deserialize<'de> for RedemptionId"],["impl<'de> Deserialize<'de> for Box<CategoryIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a RedemptionIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TeamIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a EventSubIdRef"],["impl<'de> Deserialize<'de> for Box<StreamIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef"],["impl<'de> Deserialize<'de> for EmoteThemeMode"],["impl<'de> Deserialize<'de> for CategoryId"],["impl<'de> Deserialize<'de> for ClipId"],["impl<'de> Deserialize<'de> for EventSubId"],["impl<'de> Deserialize<'de> for Box<EventSubIdRef>"],["impl<'de> Deserialize<'de> for CharityCampaignId"],["impl<'de> Deserialize<'de> for Box<TagIdRef>"],["impl<'de> Deserialize<'de> for PollChoiceId"],["impl<'de> Deserialize<'de> for Max"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a HexColorRef"],["impl<'de> Deserialize<'de> for PollId"],["impl<'de> Deserialize<'de> for Box<TeamIdRef>"],["impl<'de> Deserialize<'de> for TwitchCategory"],["impl<'de> Deserialize<'de> for Timestamp"],["impl<'de> Deserialize<'de> for PredictionTopPredictors"],["impl<'de> Deserialize<'de> for IgdbId"],["impl<'de> Deserialize<'de> for Box<RewardIdRef>"],["impl<'de> Deserialize<'de> for Box<StreamSegmentIdRef>"],["impl<'de> Deserialize<'de> for PollChoice"],["impl<'de> Deserialize<'de> for Box<BadgeSetIdRef>"],["impl<'de> Deserialize<'de> for Box<HexColorRef>"],["impl<'de> Deserialize<'de> for CommercialLength"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef"],["impl<'de> Deserialize<'de> for VideoPeriod"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a BlockedTermIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a DisplayNameRef"],["impl<'de> Deserialize<'de> for StreamId"],["impl<'de> Deserialize<'de> for ChatBadgeId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef"],["impl<'de> Deserialize<'de> for ResubscriptionEmote"],["impl<'de> Deserialize<'de> for TagId"],["impl<'de> Deserialize<'de> for PollStatus"],["impl<'de> Deserialize<'de> for Box<CharityDonationIdRef>"],["impl<'de> Deserialize<'de> for Box<PredictionOutcomeIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for NamedUserColor<'a>"],["impl<'de> Deserialize<'de> for DisplayName"],["impl<'de> Deserialize<'de> for Image"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamSegmentIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef"],["impl<'de> Deserialize<'de> for EmoteSetId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CategoryIdRef"],["impl<'de> Deserialize<'de> for VideoType"],["impl<'de> Deserialize<'de> for BadgeSetId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a IgdbIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TimestampRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PollChoiceIdRef"],["impl<'de> Deserialize<'de> for VideoId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a NicknameRef"],["impl<'de> Deserialize<'de> for StreamSegmentId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a VideoIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a RewardIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a ClipIdRef"],["impl<'de> Deserialize<'de> for Box<HypeTrainIdRef>"],["impl<'de> Deserialize<'de> for Box<EmoteIdRef>"],["impl<'de> Deserialize<'de> for Box<TimestampRef>"],["impl<'de> Deserialize<'de> for Box<CreatorGoalIdRef>"],["impl<'de> Deserialize<'de> for Nickname"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a ChatBadgeIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionOutcomeIdRef"],["impl<'de> Deserialize<'de> for Box<RedemptionIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a HypeTrainIdRef"],["impl<'de> Deserialize<'de> for CreatorGoalId"],["impl<'de> Deserialize<'de> for CreatorGoalType"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityCampaignIdRef"],["impl<'de> Deserialize<'de> for HypeTrainId"],["impl<'de> Deserialize<'de> for SubscriptionTier"],["impl<'de> Deserialize<'de> for UserId"],["impl<'de> Deserialize<'de> for Box<ClipIdRef>"],["impl<'de> Deserialize<'de> for CharityDonationId"],["impl<'de> Deserialize<'de> for HexColor"],["impl<'de> Deserialize<'de> for UserType"],["impl<'de> Deserialize<'de> for Box<NicknameRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a UserIdRef"],["impl<'de> Deserialize<'de> for Box<DisplayNameRef>"],["impl<'de> Deserialize<'de> for RewardId"],["impl<'de> Deserialize<'de> for TeamId"],["impl<'de> Deserialize<'de> for Box<ChatBadgeIdRef>"],["impl<'de> Deserialize<'de> for EmoteId"],["impl<'de> Deserialize<'de> for Box<MsgIdRef>"],["impl<'de> Deserialize<'de> for ContentClassificationId"],["impl<'de> Deserialize<'de> for Box<BlockedTermIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a BadgeSetIdRef"],["impl<'de> Deserialize<'de> for Box<VideoIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionIdRef"],["impl<'de> Deserialize<'de> for BlockedTermId"],["impl<'de> Deserialize<'de> for User"]] +"twitch_types":[["impl<'de> Deserialize<'de> for IgdbId"],["impl<'de> Deserialize<'de> for TagId"],["impl<'de> Deserialize<'de> for Box<MsgIdRef>"],["impl<'de> Deserialize<'de> for Box<CategoryIdRef>"],["impl<'de> Deserialize<'de> for VideoPeriod"],["impl<'de> Deserialize<'de> for PollId"],["impl<'de> Deserialize<'de> for UserType"],["impl<'de> Deserialize<'de> for Box<RewardIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a RedemptionIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PollIdRef"],["impl<'de> Deserialize<'de> for PredictionOutcome"],["impl<'de> Deserialize<'de> for PredictionTopPredictors"],["impl<'de> Deserialize<'de> for BlockedTermId"],["impl<'de> Deserialize<'de> for PredictionOutcomeId"],["impl<'de> Deserialize<'de> for Nickname"],["impl<'de> Deserialize<'de> for DisplayName"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a HypeTrainIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a IgdbIdRef"],["impl<'de> Deserialize<'de> for CommercialLength"],["impl<'de> Deserialize<'de> for CreatorGoalId"],["impl<'de> Deserialize<'de> for Box<BadgeSetIdRef>"],["impl<'de> Deserialize<'de> for MsgId"],["impl<'de> Deserialize<'de> for Box<ChatBadgeIdRef>"],["impl<'de> Deserialize<'de> for StreamSegmentId"],["impl<'de> Deserialize<'de> for Box<RedemptionIdRef>"],["impl<'de> Deserialize<'de> for Box<BlockedTermIdRef>"],["impl<'de> Deserialize<'de> for HypeTrainId"],["impl<'de> Deserialize<'de> for Box<TimestampRef>"],["impl<'de> Deserialize<'de> for EmoteScale"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionIdRef"],["impl<'de> Deserialize<'de> for Box<EmoteSetIdRef>"],["impl<'de> Deserialize<'de> for AutomodStatus"],["impl<'de> Deserialize<'de> for HexColor"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a UserIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamSegmentIdRef"],["impl<'de> Deserialize<'de> for VideoType"],["impl<'de> Deserialize<'de> for Box<DisplayNameRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef"],["impl<'de> Deserialize<'de> for EmoteSetId"],["impl<'de> Deserialize<'de> for PollChoice"],["impl<'de> Deserialize<'de> for BadgeSetId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a VideoIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TimestampRef"],["impl<'de> Deserialize<'de> for SubscriptionTier"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityCampaignIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef"],["impl<'de> Deserialize<'de> for ClipId"],["impl<'de> Deserialize<'de> for Timestamp"],["impl<'de> Deserialize<'de> for CategoryId"],["impl<'de> Deserialize<'de> for PredictionId"],["impl<'de> Deserialize<'de> for TwitchCategory"],["impl<'de> Deserialize<'de> for Box<IgdbIdRef>"],["impl<'de> Deserialize<'de> for EmoteAnimationSetting"],["impl<'de> Deserialize<'de> for Box<CharityCampaignIdRef>"],["impl<'de> Deserialize<'de> for RewardId"],["impl<'de> Deserialize<'de> for Box<StreamSegmentIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a EventSubIdRef"],["impl<'de> Deserialize<'de> for Box<PredictionOutcomeIdRef>"],["impl<'de> Deserialize<'de> for ResubscriptionEmote"],["impl<'de: 'a, 'a> Deserialize<'de> for NamedUserColor<'a>"],["impl<'de> Deserialize<'de> for ChatBadgeId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a RewardIdRef"],["impl<'de> Deserialize<'de> for PollChoiceId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef"],["impl<'de> Deserialize<'de> for VideoPrivacy"],["impl<'de> Deserialize<'de> for EventSubId"],["impl<'de> Deserialize<'de> for EmoteId"],["impl<'de> Deserialize<'de> for User"],["impl<'de> Deserialize<'de> for StreamId"],["impl<'de> Deserialize<'de> for EmoteThemeMode"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a HexColorRef"],["impl<'de> Deserialize<'de> for GlobalCooldown"],["impl<'de> Deserialize<'de> for Image"],["impl<'de> Deserialize<'de> for Box<NicknameRef>"],["impl<'de> Deserialize<'de> for PredictionStatus"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a BlockedTermIdRef"],["impl<'de> Deserialize<'de> for Box<HexColorRef>"],["impl<'de> Deserialize<'de> for BroadcasterType"],["impl<'de> Deserialize<'de> for Box<TeamIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PollChoiceIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a DisplayNameRef"],["impl<'de> Deserialize<'de> for Box<PollChoiceIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a BadgeSetIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CategoryIdRef"],["impl<'de> Deserialize<'de> for Box<PollIdRef>"],["impl<'de> Deserialize<'de> for Box<TagIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef"],["impl<'de> Deserialize<'de> for Box<HypeTrainIdRef>"],["impl<'de> Deserialize<'de> for Box<ClipIdRef>"],["impl<'de> Deserialize<'de> for VideoId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a TeamIdRef"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamIdRef"],["impl<'de> Deserialize<'de> for Box<EmoteIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a NicknameRef"],["impl<'de> Deserialize<'de> for Box<UserIdRef>"],["impl<'de> Deserialize<'de> for PollStatus"],["impl<'de> Deserialize<'de> for CharityDonationId"],["impl<'de> Deserialize<'de> for Box<CharityDonationIdRef>"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a ChatBadgeIdRef"],["impl<'de> Deserialize<'de> for Max"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionOutcomeIdRef"],["impl<'de> Deserialize<'de> for Box<VideoIdRef>"],["impl<'de> Deserialize<'de> for CreatorGoalType"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a ClipIdRef"],["impl<'de> Deserialize<'de> for Box<StreamIdRef>"],["impl<'de> Deserialize<'de> for RedemptionId"],["impl<'de> Deserialize<'de> for Box<EventSubIdRef>"],["impl<'de> Deserialize<'de> for Box<CreatorGoalIdRef>"],["impl<'de> Deserialize<'de> for ContentClassificationId"],["impl<'de> Deserialize<'de> for TeamId"],["impl<'de> Deserialize<'de> for UserId"],["impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef"],["impl<'de> Deserialize<'de> for CharityCampaignId"],["impl<'de> Deserialize<'de> for Box<PredictionIdRef>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/serde/ser/trait.Serialize.js b/implementors/serde/ser/trait.Serialize.js index 4a203bb4..4f3f9c7d 100644 --- a/implementors/serde/ser/trait.Serialize.js +++ b/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl Serialize for CreatorGoalIdRef"],["impl Serialize for CreatorGoalId"],["impl Serialize for HexColorRef"],["impl Serialize for UserIdRef"],["impl Serialize for BadgeSetIdRef"],["impl Serialize for AutomodStatus"],["impl Serialize for PredictionId"],["impl Serialize for EventSubIdRef"],["impl Serialize for TwitchCategory"],["impl Serialize for NamedUserColor<'_>"],["impl Serialize for EmoteThemeMode"],["impl Serialize for ClipId"],["impl Serialize for TagIdRef"],["impl Serialize for PredictionStatus"],["impl Serialize for MsgId"],["impl Serialize for Nickname"],["impl Serialize for VideoType"],["impl Serialize for EmoteSetIdRef"],["impl Serialize for UserType"],["impl Serialize for IgdbIdRef"],["impl Serialize for VideoPrivacy"],["impl Serialize for TimestampRef"],["impl Serialize for ClipIdRef"],["impl Serialize for CommercialLength"],["impl Serialize for EmoteSetId"],["impl Serialize for IgdbId"],["impl Serialize for RewardIdRef"],["impl Serialize for StreamSegmentId"],["impl Serialize for CharityDonationIdRef"],["impl Serialize for ChatBadgeId"],["impl Serialize for PredictionOutcomeId"],["impl Serialize for PredictionOutcome"],["impl Serialize for ChatBadgeIdRef"],["impl Serialize for BroadcasterType"],["impl Serialize for PollStatus"],["impl Serialize for RewardId"],["impl Serialize for StreamIdRef"],["impl Serialize for RedemptionIdRef"],["impl Serialize for EmoteIdRef"],["impl Serialize for RedemptionId"],["impl Serialize for EventSubId"],["impl Serialize for ContentClassificationId"],["impl Serialize for EmoteAnimationSetting"],["impl Serialize for SubscriptionTier"],["impl Serialize for NicknameRef"],["impl Serialize for CreatorGoalType"],["impl Serialize for EmoteId"],["impl Serialize for CategoryId"],["impl Serialize for EmoteScale"],["impl Serialize for BlockedTermId"],["impl Serialize for User"],["impl Serialize for Timestamp"],["impl Serialize for PredictionTopPredictors"],["impl Serialize for StreamId"],["impl Serialize for Image"],["impl Serialize for PredictionIdRef"],["impl Serialize for PollChoiceId"],["impl Serialize for BadgeSetId"],["impl Serialize for HexColor"],["impl Serialize for TeamId"],["impl Serialize for HypeTrainIdRef"],["impl Serialize for UserId"],["impl Serialize for DisplayNameRef"],["impl Serialize for CharityDonationId"],["impl Serialize for TeamIdRef"],["impl Serialize for VideoId"],["impl Serialize for CharityCampaignIdRef"],["impl Serialize for GlobalCooldown"],["impl Serialize for Max"],["impl Serialize for CharityCampaignId"],["impl Serialize for StreamSegmentIdRef"],["impl Serialize for MsgIdRef"],["impl Serialize for CategoryIdRef"],["impl Serialize for VideoIdRef"],["impl Serialize for HypeTrainId"],["impl Serialize for PollChoice"],["impl Serialize for ResubscriptionEmote"],["impl Serialize for BlockedTermIdRef"],["impl Serialize for PollIdRef"],["impl Serialize for TagId"],["impl Serialize for PollChoiceIdRef"],["impl Serialize for VideoPeriod"],["impl Serialize for PredictionOutcomeIdRef"],["impl Serialize for PollId"],["impl Serialize for DisplayName"]] +"twitch_types":[["impl Serialize for CategoryId"],["impl Serialize for AutomodStatus"],["impl Serialize for EmoteAnimationSetting"],["impl Serialize for EmoteSetIdRef"],["impl Serialize for StreamIdRef"],["impl Serialize for ContentClassificationId"],["impl Serialize for BroadcasterType"],["impl Serialize for PollIdRef"],["impl Serialize for BadgeSetId"],["impl Serialize for MsgId"],["impl Serialize for RedemptionId"],["impl Serialize for PollId"],["impl Serialize for PredictionOutcomeId"],["impl Serialize for PollChoiceIdRef"],["impl Serialize for PredictionOutcomeIdRef"],["impl Serialize for Timestamp"],["impl Serialize for DisplayNameRef"],["impl Serialize for HypeTrainIdRef"],["impl Serialize for RewardId"],["impl Serialize for BlockedTermIdRef"],["impl Serialize for HexColor"],["impl Serialize for EmoteIdRef"],["impl Serialize for CharityDonationId"],["impl Serialize for VideoPrivacy"],["impl Serialize for TwitchCategory"],["impl Serialize for NamedUserColor<'_>"],["impl Serialize for PredictionId"],["impl Serialize for TagId"],["impl Serialize for VideoPeriod"],["impl Serialize for DisplayName"],["impl Serialize for VideoIdRef"],["impl Serialize for GlobalCooldown"],["impl Serialize for ChatBadgeIdRef"],["impl Serialize for CharityCampaignIdRef"],["impl Serialize for EmoteId"],["impl Serialize for ClipIdRef"],["impl Serialize for StreamSegmentIdRef"],["impl Serialize for EmoteSetId"],["impl Serialize for HypeTrainId"],["impl Serialize for PollStatus"],["impl Serialize for SubscriptionTier"],["impl Serialize for EmoteScale"],["impl Serialize for RedemptionIdRef"],["impl Serialize for CreatorGoalIdRef"],["impl Serialize for HexColorRef"],["impl Serialize for BadgeSetIdRef"],["impl Serialize for Image"],["impl Serialize for Nickname"],["impl Serialize for CategoryIdRef"],["impl Serialize for ChatBadgeId"],["impl Serialize for NicknameRef"],["impl Serialize for CreatorGoalId"],["impl Serialize for UserId"],["impl Serialize for EmoteThemeMode"],["impl Serialize for BlockedTermId"],["impl Serialize for User"],["impl Serialize for CommercialLength"],["impl Serialize for MsgIdRef"],["impl Serialize for TagIdRef"],["impl Serialize for PredictionIdRef"],["impl Serialize for ResubscriptionEmote"],["impl Serialize for UserType"],["impl Serialize for CharityCampaignId"],["impl Serialize for PredictionStatus"],["impl Serialize for Max"],["impl Serialize for TeamId"],["impl Serialize for StreamSegmentId"],["impl Serialize for PollChoice"],["impl Serialize for CharityDonationIdRef"],["impl Serialize for TeamIdRef"],["impl Serialize for VideoId"],["impl Serialize for PredictionOutcome"],["impl Serialize for TimestampRef"],["impl Serialize for VideoType"],["impl Serialize for RewardIdRef"],["impl Serialize for CreatorGoalType"],["impl Serialize for StreamId"],["impl Serialize for IgdbIdRef"],["impl Serialize for ClipId"],["impl Serialize for EventSubId"],["impl Serialize for EventSubIdRef"],["impl Serialize for IgdbId"],["impl Serialize for PollChoiceId"],["impl Serialize for UserIdRef"],["impl Serialize for PredictionTopPredictors"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/zerofrom/zero_from/trait.ZeroFrom.js b/implementors/zerofrom/zero_from/trait.ZeroFrom.js index 451a6c6b..0ec86a01 100644 --- a/implementors/zerofrom/zero_from/trait.ZeroFrom.js +++ b/implementors/zerofrom/zero_from/trait.ZeroFrom.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"twitch_types":[["impl<'zf> ZeroFrom<'zf, CategoryIdRef> for &'zf CategoryIdRef"],["impl<'zf> ZeroFrom<'zf, NicknameRef> for &'zf NicknameRef"],["impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef"],["impl<'zf> ZeroFrom<'zf, CharityCampaignId> for &'zf CharityCampaignIdRef"],["impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef"],["impl<'zf> ZeroFrom<'zf, HexColorRef> for &'zf HexColorRef"],["impl<'zf> ZeroFrom<'zf, StreamId> for &'zf StreamIdRef"],["impl<'zf> ZeroFrom<'zf, EmoteIdRef> for &'zf EmoteIdRef"],["impl<'zf> ZeroFrom<'zf, PollChoiceIdRef> for &'zf PollChoiceIdRef"],["impl<'zf> ZeroFrom<'zf, ClipId> for &'zf ClipIdRef"],["impl<'zf> ZeroFrom<'zf, RedemptionIdRef> for &'zf RedemptionIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef"],["impl<'zf> ZeroFrom<'zf, BlockedTermIdRef> for &'zf BlockedTermIdRef"],["impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef"],["impl<'zf> ZeroFrom<'zf, TeamIdRef> for &'zf TeamIdRef"],["impl<'zf> ZeroFrom<'zf, MsgIdRef> for &'zf MsgIdRef"],["impl<'zf> ZeroFrom<'zf, TeamId> for &'zf TeamIdRef"],["impl<'zf> ZeroFrom<'zf, CreatorGoalIdRef> for &'zf CreatorGoalIdRef"],["impl<'zf> ZeroFrom<'zf, HexColor> for &'zf HexColorRef"],["impl<'zf> ZeroFrom<'zf, DisplayNameRef> for &'zf DisplayNameRef"],["impl<'zf> ZeroFrom<'zf, TagIdRef> for &'zf TagIdRef"],["impl<'zf> ZeroFrom<'zf, StreamSegmentId> for &'zf StreamSegmentIdRef"],["impl<'zf> ZeroFrom<'zf, Timestamp> for &'zf TimestampRef"],["impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionOutcomeIdRef> for &'zf PredictionOutcomeIdRef"],["impl<'zf> ZeroFrom<'zf, IgdbIdRef> for &'zf IgdbIdRef"],["impl<'zf> ZeroFrom<'zf, TagId> for &'zf TagIdRef"],["impl<'zf> ZeroFrom<'zf, CharityDonationIdRef> for &'zf CharityDonationIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionIdRef> for &'zf PredictionIdRef"],["impl<'zf> ZeroFrom<'zf, StreamSegmentIdRef> for &'zf StreamSegmentIdRef"],["impl<'zf> ZeroFrom<'zf, RewardIdRef> for &'zf RewardIdRef"],["impl<'zf> ZeroFrom<'zf, StreamIdRef> for &'zf StreamIdRef"],["impl<'zf> ZeroFrom<'zf, IgdbId> for &'zf IgdbIdRef"],["impl<'zf, 'zf_inner> ZeroFrom<'zf, NamedUserColor<'zf_inner>> for NamedUserColor<'zf>"],["impl<'zf> ZeroFrom<'zf, EmoteSetIdRef> for &'zf EmoteSetIdRef"],["impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef"],["impl<'zf> ZeroFrom<'zf, EventSubIdRef> for &'zf EventSubIdRef"],["impl<'zf> ZeroFrom<'zf, DisplayName> for &'zf DisplayNameRef"],["impl<'zf> ZeroFrom<'zf, Nickname> for &'zf NicknameRef"],["impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef"],["impl<'zf> ZeroFrom<'zf, CharityDonationId> for &'zf CharityDonationIdRef"],["impl<'zf> ZeroFrom<'zf, CharityCampaignIdRef> for &'zf CharityCampaignIdRef"],["impl<'zf> ZeroFrom<'zf, PollIdRef> for &'zf PollIdRef"],["impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef"],["impl<'zf> ZeroFrom<'zf, CategoryId> for &'zf CategoryIdRef"],["impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef"],["impl<'zf> ZeroFrom<'zf, HypeTrainId> for &'zf HypeTrainIdRef"],["impl<'zf> ZeroFrom<'zf, TimestampRef> for &'zf TimestampRef"],["impl<'zf> ZeroFrom<'zf, VideoId> for &'zf VideoIdRef"],["impl<'zf> ZeroFrom<'zf, BadgeSetIdRef> for &'zf BadgeSetIdRef"],["impl<'zf> ZeroFrom<'zf, VideoIdRef> for &'zf VideoIdRef"],["impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef"],["impl<'zf> ZeroFrom<'zf, UserIdRef> for &'zf UserIdRef"],["impl<'zf> ZeroFrom<'zf, UserId> for &'zf UserIdRef"],["impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef"],["impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef"],["impl<'zf> ZeroFrom<'zf, HypeTrainIdRef> for &'zf HypeTrainIdRef"],["impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef"],["impl<'zf> ZeroFrom<'zf, EventSubId> for &'zf EventSubIdRef"],["impl<'zf> ZeroFrom<'zf, ChatBadgeIdRef> for &'zf ChatBadgeIdRef"],["impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef"]] +"twitch_types":[["impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef"],["impl<'zf> ZeroFrom<'zf, VideoId> for &'zf VideoIdRef"],["impl<'zf> ZeroFrom<'zf, HypeTrainIdRef> for &'zf HypeTrainIdRef"],["impl<'zf> ZeroFrom<'zf, HexColor> for &'zf HexColorRef"],["impl<'zf> ZeroFrom<'zf, VideoIdRef> for &'zf VideoIdRef"],["impl<'zf> ZeroFrom<'zf, TagIdRef> for &'zf TagIdRef"],["impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef"],["impl<'zf> ZeroFrom<'zf, HypeTrainId> for &'zf HypeTrainIdRef"],["impl<'zf> ZeroFrom<'zf, StreamSegmentId> for &'zf StreamSegmentIdRef"],["impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef"],["impl<'zf> ZeroFrom<'zf, TagId> for &'zf TagIdRef"],["impl<'zf> ZeroFrom<'zf, CategoryId> for &'zf CategoryIdRef"],["impl<'zf> ZeroFrom<'zf, EmoteIdRef> for &'zf EmoteIdRef"],["impl<'zf> ZeroFrom<'zf, Timestamp> for &'zf TimestampRef"],["impl<'zf> ZeroFrom<'zf, ChatBadgeIdRef> for &'zf ChatBadgeIdRef"],["impl<'zf> ZeroFrom<'zf, StreamId> for &'zf StreamIdRef"],["impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef"],["impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef"],["impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef"],["impl<'zf> ZeroFrom<'zf, RewardIdRef> for &'zf RewardIdRef"],["impl<'zf> ZeroFrom<'zf, IgdbId> for &'zf IgdbIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef"],["impl<'zf> ZeroFrom<'zf, ClipId> for &'zf ClipIdRef"],["impl<'zf> ZeroFrom<'zf, BlockedTermIdRef> for &'zf BlockedTermIdRef"],["impl<'zf> ZeroFrom<'zf, CharityDonationIdRef> for &'zf CharityDonationIdRef"],["impl<'zf> ZeroFrom<'zf, StreamSegmentIdRef> for &'zf StreamSegmentIdRef"],["impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef"],["impl<'zf> ZeroFrom<'zf, CreatorGoalIdRef> for &'zf CreatorGoalIdRef"],["impl<'zf> ZeroFrom<'zf, CharityDonationId> for &'zf CharityDonationIdRef"],["impl<'zf> ZeroFrom<'zf, CharityCampaignId> for &'zf CharityCampaignIdRef"],["impl<'zf> ZeroFrom<'zf, PollIdRef> for &'zf PollIdRef"],["impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef"],["impl<'zf> ZeroFrom<'zf, StreamIdRef> for &'zf StreamIdRef"],["impl<'zf> ZeroFrom<'zf, IgdbIdRef> for &'zf IgdbIdRef"],["impl<'zf, 'zf_inner> ZeroFrom<'zf, NamedUserColor<'zf_inner>> for NamedUserColor<'zf>"],["impl<'zf> ZeroFrom<'zf, UserId> for &'zf UserIdRef"],["impl<'zf> ZeroFrom<'zf, PredictionIdRef> for &'zf PredictionIdRef"],["impl<'zf> ZeroFrom<'zf, CategoryIdRef> for &'zf CategoryIdRef"],["impl<'zf> ZeroFrom<'zf, Nickname> for &'zf NicknameRef"],["impl<'zf> ZeroFrom<'zf, EmoteSetIdRef> for &'zf EmoteSetIdRef"],["impl<'zf> ZeroFrom<'zf, EventSubIdRef> for &'zf EventSubIdRef"],["impl<'zf> ZeroFrom<'zf, BadgeSetIdRef> for &'zf BadgeSetIdRef"],["impl<'zf> ZeroFrom<'zf, RedemptionIdRef> for &'zf RedemptionIdRef"],["impl<'zf> ZeroFrom<'zf, NicknameRef> for &'zf NicknameRef"],["impl<'zf> ZeroFrom<'zf, DisplayNameRef> for &'zf DisplayNameRef"],["impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef"],["impl<'zf> ZeroFrom<'zf, UserIdRef> for &'zf UserIdRef"],["impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef"],["impl<'zf> ZeroFrom<'zf, TimestampRef> for &'zf TimestampRef"],["impl<'zf> ZeroFrom<'zf, PredictionOutcomeIdRef> for &'zf PredictionOutcomeIdRef"],["impl<'zf> ZeroFrom<'zf, DisplayName> for &'zf DisplayNameRef"],["impl<'zf> ZeroFrom<'zf, TeamIdRef> for &'zf TeamIdRef"],["impl<'zf> ZeroFrom<'zf, MsgIdRef> for &'zf MsgIdRef"],["impl<'zf> ZeroFrom<'zf, TeamId> for &'zf TeamIdRef"],["impl<'zf> ZeroFrom<'zf, PollChoiceIdRef> for &'zf PollChoiceIdRef"],["impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef"],["impl<'zf> ZeroFrom<'zf, EventSubId> for &'zf EventSubIdRef"],["impl<'zf> ZeroFrom<'zf, CharityCampaignIdRef> for &'zf CharityCampaignIdRef"],["impl<'zf> ZeroFrom<'zf, HexColorRef> for &'zf HexColorRef"],["impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/search-index.js b/search-index.js index a5a16a13..ff5fc1f2 100644 --- a/search-index.js +++ b/search-index.js @@ -1,5 +1,5 @@ var searchIndex = JSON.parse('{\ -"twitch_types":{"doc":"Twitch types","t":"NNEDDNIDDDDNNNNDDGGELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLKLLLLLLLLLLLLALLLLLLLLLLLLALLLLLLLLLLLLLLALLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLNNNNNNNNNNDDNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDDDDNEDDEDDEDDNDNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNEDDNNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNDNNENNNDDDDDEDDDDDEDDDNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLMMMMNNDDDDDDDDEEENNNNDDDDNNNNNNNNNNNNNNNNNNNNDDDDEDDDDNNNDNDDEEENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNDEDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMCDCLLLLLMLLLLMLMMLLLLL","n":["Admin","Affiliate","BroadcasterType","DisplayName","DisplayNameRef","GlobalMod","IntoCow","MsgId","MsgIdRef","Nickname","NicknameRef","None","None","Partner","Staff","UserId","UserIdRef","UserName","UserNameRef","UserType","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","color","default","default","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","emote","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","eventsub","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","goal","hash","hash","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","moderation","new","new","new","parse","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","points","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","stream","take","take","take","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","user","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","Blue","BlueViolet","CadetBlue","Chocolate","Coral","DodgerBlue","Firebrick","GoldenRod","Green","Hex","HexColor","HexColorRef","HotPink","NamedUserColor","OrangeRed","Red","SeaGreen","SpringGreen","YellowGreen","all","arbitrary","arbitrary","as_cow","as_hex","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","deref","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","serialize","size_hint","take","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","type_id","type_id","type_id","zero_from","zero_from","zero_from","Animated","BadgeSetId","BadgeSetIdRef","ChatBadgeId","ChatBadgeIdRef","Dark","EmoteAnimationSetting","EmoteId","EmoteIdRef","EmoteScale","EmoteSetId","EmoteSetIdRef","EmoteThemeMode","EmoteUrlBuilder","Image","Light","ResubscriptionEmote","Size1_0","Size2_0","Size3_0","Static","animation_animated","animation_default","animation_static","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","begin","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","dark_mode","default","default","default_render","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","end","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","hash","hash","hash","hash","hash","hash","hash","hash","id","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","light_mode","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","render","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_1x","size_2x","size_3x","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","url","url_1x","url_2x","url_4x","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","EventSubId","EventSubIdRef","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","cmp","cmp","deref","deserialize","deserialize","eq","eq","eq","eq","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","size_hint","size_hint","take","to_owned","to_owned","to_string","to_string","try_from","try_into","type_id","type_id","zero_from","zero_from","CreatorGoalId","CreatorGoalIdRef","CreatorGoalType","Follower","NewSubscription","NewSubscriptionCount","Subscription","SubscriptionCount","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","deref","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","serialize","size_hint","size_hint","take","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","type_id","zero_from","zero_from","Allowed","AutomodStatus","BlockedTermId","BlockedTermIdRef","Denied","Expired","MsgId","MsgIdRef","Pending","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","hash","hash","hash","hash","into","into","into","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","zero_from","zero_from","zero_from","zero_from","Active","Active","Archived","Canceled","Completed","GlobalCooldown","Invalid","Locked","Max","MaxPerStream","MaxPerUserPerStream","Moderated","PollChoice","PollChoiceId","PollChoiceIdRef","PollId","PollIdRef","PollStatus","PredictionId","PredictionIdRef","PredictionOutcome","PredictionOutcomeId","PredictionOutcomeIdRef","PredictionStatus","PredictionTopPredictors","RedemptionId","RedemptionIdRef","Resolved","RewardId","RewardIdRef","Terminated","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","as_str","as_str","bits_votes","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","channel_points","channel_points_used","channel_points_votes","channel_points_won","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","color","deref","deref","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","global_cooldown_seconds","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","id","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","is_enabled","login","name","new","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","take","take","title","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","top_predictors","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","users","votes","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","is_enabled","is_enabled","max_per_stream","max_per_user_per_stream","All","Archive","CategoryId","CategoryIdRef","CharityCampaignId","CharityCampaignIdRef","CharityDonationId","CharityDonationIdRef","ClipId","ClipIdRef","CommercialLength","CommercialLengthParseError","ContentClassificationId","Day","DrugsIntoxication","Gambling","Highlight","HypeTrainId","HypeTrainIdRef","IgdbId","IgdbIdRef","InvalidLength","Length120","Length150","Length180","Length30","Length60","Length90","Live","MatureGame","Month","Other","Other","Playlist","Premiere","Prime","Private","ProfanityVulgarity","Public","Rerun","SexualThemes","StreamId","StreamIdRef","StreamSegmentId","StreamSegmentIdRef","SubscriptionTier","TagId","TagIdRef","TeamId","TeamIdRef","Tier1","Tier2","Tier3","TwitchCategory","Upload","VideoId","VideoIdRef","VideoPeriod","VideoPrivacy","VideoType","ViolentGraphic","WatchParty","WatchPartyPremiere","WatchPartyRerun","Week","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","box_art_url","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","id","igdb_id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","name","new","new","new","new","new","new","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","take","take","take","take","take","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","InvalidFormat","Other","TimeError","TimeFormatError","Timestamp","TimestampParseError","TimestampRef","arbitrary","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","day","deref","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","from_str_unchecked","hash","hash","hour","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","is_before","millis","minute","month","new","new_unchecked","normalize","now","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","second","serialize","serialize","source","take","to_day","to_fixed_offset","to_owned","to_owned","to_string","to_string","to_string","to_utc","today","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","type_id","type_id","type_id","year","zero_from","zero_from","location","s","BroadcasterType","User","UserType","borrow","borrow_mut","clone","clone_into","deserialize","display_name","eq","equivalent","fmt","from","id","into","login","profile_image_url","serialize","to_owned","try_from","try_into","type_id"],"q":[[0,"twitch_types"],[297,"twitch_types::color"],[413,"twitch_types::emote"],[852,"twitch_types::eventsub"],[930,"twitch_types::goal"],[1029,"twitch_types::moderation"],[1205,"twitch_types::points"],[1815,"twitch_types::points::Max"],[1819,"twitch_types::stream"],[2842,"twitch_types::time"],[2953,"twitch_types::time::TimestampParseError"],[2955,"twitch_types::user"]],"d":["Admin","Affiliate","Broadcaster types: “partner”, “affiliate”, or “…","A users display name","A users display name","Global Moderator","Convert a type into a Cow","A message ID","A message ID","A nickname, not capitalized.","A nickname, not capitalized.","None","None","Partner","Staff","A user ID.","A user ID.","A username, also specified as login. Should not be …","A reference to a borrowed UserName, also specified as …","User types: “staff”, “admin”, “global_mod”, or …","","","","","","","","","","","","","Get a Cow<'_, UserIdRef>","Get a Cow<'_, DisplayNameRef>","Get a Cow<'_, NicknameRef>","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for colors","","","","","","","","","","","","","","types for emotes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for eventsub related things","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newUserIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newDisplayNamefrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newNicknamefrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","types for goals","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this UserId into a Box<UserIdRef>","Converts this DisplayName into a Box<DisplayNameRef>","Converts this Nickname into a Box<NicknameRef>","Make the cow with proper ownership, muu","","","","","","","","","","Converts a Box<UserIdRef> into a UserId without copying or …","Converts a Box<DisplayNameRef> into a DisplayName without …","Converts a Box<NicknameRef> into a Nickname without …","types for moderation","Constructs a new UserId","Constructs a new DisplayName","Constructs a new Nickname","Parse a string into a UserType","","","","","","","","","types for points","","","","","","","","","","","","","","","types for stream related things","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","types for time","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for user related things","","","","","","","Blue","Blue Violet","Cadet Blue","Chocolate","Coral","Dodger Blue","Firebrick","Golden Rod","Green","A hex color","A color in hex","A color in hex","Hot Pink","Colors a user can have","Orange Red","Red","Sea Green","Spring Green","Yellow Green","All named colors","","","Get a Cow<'_, HexColorRef>","Return this color in hex","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","Constructs a newHexColorfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Calls U::from(self).","Converts this HexColor into a Box<HexColorRef>","","","","Converts a Box<HexColorRef> into a HexColor without …","Constructs a new HexColor","","","","","","","Unwraps the underlying String value","","","Creates a owned NamedUserColor<’static> from a borrowed …","","","","","","","","","","","","","","","","Animated","A Badge set ID","A Badge set ID","A channel chat badge ID","A channel chat badge ID","Dark","Formats for an emote.","A chat Emote ID","A chat Emote ID","Scales available for an emote.","An Emote Set ID","An Emote Set ID","Background themes available for an emote.","Builder for emote URLs.","Links to the same image of different sizes","Light","An emote index as defined by eventsub, similar to IRC …","1.0","2.0","3.0","Static","Set animation mode to animate","Set animation mode to default","Set animation mode to static","","","","","","","","","","","","","","","","","Get a Cow<'_, BadgeSetIdRef>","Get a Cow<'_, ChatBadgeIdRef>","Get a Cow<'_, EmoteIdRef>","Get a Cow<'_, EmoteSetIdRef>","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","The index of where the Emote starts in the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Set theme to dark mode","","","Generates url for this emote.","","","","","","","","","","","","","","","","","","The index of where the Emote ends in the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newBadgeSetIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newChatBadgeIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newEmoteIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newEmoteSetIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","","","","","The emote ID.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this BadgeSetId into a Box<BadgeSetIdRef>","Converts this ChatBadgeId into a Box<ChatBadgeIdRef>","Converts this EmoteId into a Box<EmoteIdRef>","Converts this EmoteSetId into a Box<EmoteSetIdRef>","","","","","","","","","","","","","Converts a Box<BadgeSetIdRef> into a BadgeSetId without …","Converts a Box<ChatBadgeIdRef> into a ChatBadgeId without …","Converts a Box<EmoteIdRef> into a EmoteId without copying …","Converts a Box<EmoteSetIdRef> into a EmoteSetId without …","Set theme to light mode","Constructs a new BadgeSetId","Constructs a new ChatBadgeId","Constructs a new EmoteId","Construct a new EmoteUrlBuilder from a EmoteId","Constructs a new EmoteSetId","","","","","","","","","Create the URL for this emote.","","","","","","","","","","","","","","Set size to 1.0","Set size to 2.0","Set size to 3.0","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a EmoteUrlBuilder for this emote","URL to png of size 28x28","URL to png of size 56x56","URL to png of size 112x112","","","","","","","","","An EventSub Subscription ID","An EventSub Subscription ID","","","","","Get a Cow<'_, EventSubIdRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Constructs a newEventSubIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Converts this EventSubId into a Box<EventSubIdRef>","","","","Converts a Box<EventSubIdRef> into a EventSubId without …","Constructs a new EventSubId","","","","","","","Unwraps the underlying String value","","","","","","","","","","","A Creator Goal ID","A Creator Goal ID","Type of creator goal","The goal is to increase followers.","The goal is to increase subscriptions. This type shows …","The goal is to increase subscriptions. This type shows …","The goal is to increase subscriptions. This type shows the …","The goal is to increase subscriptions. This type shows the …","","","","","Get a Cow<'_, CreatorGoalIdRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Constructs a newCreatorGoalIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Calls U::from(self).","Converts this CreatorGoalId into a Box<CreatorGoalIdRef>","","","","Converts a Box<CreatorGoalIdRef> into a CreatorGoalId …","Constructs a new CreatorGoalId","","","","","","","","Unwraps the underlying String value","","","","","","","","","","","","","","","Message has been allowed","Status of a message that is or was in AutoMod queue","A blocked term ID","A blocked term ID","Message has been denied","Automod message expired in queue","A message ID","A message ID","Message has been caught and pending moderation","","","","","","","","","Get a Cow<'_, MsgIdRef>","Get a Cow<'_, BlockedTermIdRef>","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","Constructs a newMsgIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newBlockedTermIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this MsgId into a Box<MsgIdRef>","Converts this BlockedTermId into a Box<BlockedTermIdRef>","","","","","","","Converts a Box<MsgIdRef> into a MsgId without copying or …","Converts a Box<BlockedTermIdRef> into a BlockedTermId …","Constructs a new MsgId","Constructs a new BlockedTermId","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","Poll is currently in progress.","The Prediction is active and viewers can make predictions.","Poll is no longer visible on the channel.","The Prediction has been canceled and the Channel Points …","Poll has reached its ended_at time.","Information about global cooldown","Something went wrong determining the state.","The Prediction has been locked and viewers can no longer …","Reward redemption max","Max per stream","Max per user per stream","Poll is no longer visible to any user on Twitch.","Poll choice","A poll choice ID","A poll choice ID","A poll ID","A poll ID","Status of a poll","A prediction ID","A prediction ID","Outcome for the Prediction","A prediction choice ID","A prediction choice ID","Status of the Prediction","Users who were the top predictors.","A reward redemption ID.","A reward redemption ID.","A winning outcome has been chosen and the Channel Points …","A reward ID.","A reward ID.","Poll has been manually terminated before its ended_at time.","","","","","","","","","","","","","","","","","","","","","","","","","Get a Cow<'_, RewardIdRef>","Get a Cow<'_, RedemptionIdRef>","Get a Cow<'_, PollIdRef>","Get a Cow<'_, PollChoiceIdRef>","Get a Cow<'_, PredictionIdRef>","Get a Cow<'_, PredictionOutcomeIdRef>","","","","","","","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Number of votes received via Bits.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Number of Channel Points used for the outcome.","Number of Channel Points used by the user.","Number of votes received via Channel Points.","Number of Channel Points won by the user.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Color for the outcome. Valid values: BLUE, PINK","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newRewardIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newRedemptionIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPollIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPollChoiceIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPredictionIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPredictionOutcomeIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","Cooldown amount","","","","","","","","","","","","","ID for the choice.","ID for the outcome.","ID of the user.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this RewardId into a Box<RewardIdRef>","Converts this RedemptionId into a Box<RedemptionIdRef>","Converts this PollId into a Box<PollIdRef>","Converts this PollChoiceId into a Box<PollChoiceIdRef>","Converts this PredictionId into a Box<PredictionIdRef>","Converts this PredictionOutcomeId into a …","","","","","","","","","","","","","","","","","","","Converts a Box<RewardIdRef> into a RewardId without …","Converts a Box<RedemptionIdRef> into a RedemptionId …","Converts a Box<PollIdRef> into a PollId without copying or …","Converts a Box<PollChoiceIdRef> into a PollChoiceId …","Converts a Box<PredictionIdRef> into a PredictionId …","Converts a Box<PredictionOutcomeIdRef> into a …","Cooldown enabled","Login of the user.","Display name of the user.","Constructs a new RewardId","Constructs a new RedemptionId","Constructs a new PollId","Constructs a new PollChoiceId","Constructs a new PredictionId","Constructs a new PredictionOutcomeId","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Text displayed for the choice.","Text displayed for outcome.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Array of users who were the top predictors. null if none. …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Number of unique users that chose the outcome.","Total number of votes received for the choice across all …","","","","","","","","","","","","","Max per stream is enabled","Max per user per stream is enabled","Max amount of redemptions per stream","Max amount of redemptions per user per stream","Filter by all. Effectively a no-op","An archived video","A game or category ID","A game or category ID","A Charity Campaign ID","A Charity Campaign ID","A Charity Donation ID","A Charity Donation ID","A clip ID","A clip ID","Length of the commercial in seconds","Error for the TryFrom on CommercialLength","IDs for content classification labels also known as CCLs","Filter by from this day only","Drugs, Intoxication, or Excessive Tobacco Use","Gambling","A highlight","A Hype Train ID","A Hype Train ID","A IGDB ID","A IGDB ID","invalid length of {0}","120s","150s","180s","30s","60s","90s","A live video","Mature-rated game","Filter by this month","Other","Other","A playlist video","A premiere","Prime subscription","Video is private","Significant Profanity or Vulgarity","Video is public","A rerun","Sexual Themes","A Stream ID","A Stream ID","A Stream Segment ID.","A Stream Segment ID.","Subscription tiers","A tag ID","A tag ID","A Team ID","A Team ID","Tier 1. $4.99","Tier 1. $9.99","Tier 1. $24.99","A game or category as defined by Twitch","A uploaded video","A video ID","A video ID","Period during which the video was created","Type of video","Type of video","Violent and Graphic Depictions","A watch party","A watchparty premiere,","A watchparty rerun","Filter by this week","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get a Cow<'_, StreamIdRef>","Get a Cow<'_, CategoryIdRef>","Get a Cow<'_, TagIdRef>","Get a Cow<'_, TeamIdRef>","Get a Cow<'_, VideoIdRef>","Get a Cow<'_, ClipIdRef>","Get a Cow<'_, StreamSegmentIdRef>","Get a Cow<'_, HypeTrainIdRef>","Get a Cow<'_, CharityCampaignIdRef>","Get a Cow<'_, CharityDonationIdRef>","Get a Cow<'_, IgdbIdRef>","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Template URL for the game’s box art.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newStreamIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCategoryIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newTagIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newTeamIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newVideoIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newClipIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newStreamSegmentIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newHypeTrainIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCharityCampaignIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCharityDonationIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newIgdbIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","","","","","","","","","","","","","","","","","","","Game or category ID.","The ID that IGDB uses to identify this game.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this StreamId into a Box<StreamIdRef>","Converts this CategoryId into a Box<CategoryIdRef>","Converts this TagId into a Box<TagIdRef>","Converts this TeamId into a Box<TeamIdRef>","Converts this VideoId into a Box<VideoIdRef>","Converts this ClipId into a Box<ClipIdRef>","Converts this StreamSegmentId into a …","Converts this HypeTrainId into a Box<HypeTrainIdRef>","Converts this CharityCampaignId into a …","Converts this CharityDonationId into a …","Converts this IgdbId into a Box<IgdbIdRef>","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Converts a Box<StreamIdRef> into a StreamId without …","Converts a Box<CategoryIdRef> into a CategoryId without …","Converts a Box<TagIdRef> into a TagId without copying or …","Converts a Box<TeamIdRef> into a TeamId without copying or …","Converts a Box<VideoIdRef> into a VideoId without copying …","Converts a Box<ClipIdRef> into a ClipId without copying or …","Converts a Box<StreamSegmentIdRef> into a StreamSegmentId …","Converts a Box<HypeTrainIdRef> into a HypeTrainId without …","Converts a Box<CharityCampaignIdRef> into a …","Converts a Box<CharityDonationIdRef> into a …","Converts a Box<IgdbIdRef> into a IgdbId without copying or …","Game name.","Constructs a new StreamId","Constructs a new CategoryId","Constructs a new TagId","Constructs a new TeamId","Constructs a new VideoId","Constructs a new ClipId","Constructs a new StreamSegmentId","Constructs a new HypeTrainId","Constructs a new CharityCampaignId","Constructs a new CharityDonationId","Constructs a new IgdbId","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Timestamp has an invalid format.","Other error","Could not parse the timestamp using time","Could not format the timestamp using time","RFC3339 timestamp","Errors that can occur when parsing a timestamp.","RFC3339 timestamp","","Get a Cow<'_, TimestampRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","Get the day","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","Constructs a new Timestamp from a static reference if it …","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","Transparently reinterprets the string slice as a …","","","Get the hour","Calls U::from(self).","Calls U::from(self).","Converts this Timestamp into a Box<TimestampRef>","","","","Converts a Box<TimestampRef> into a Timestamp without …","Compare another time and return self < other.","Get the millis","Get the minute","Get the month","Constructs a new Timestamp if it conforms to Timestamp","Constructs a new Timestamp without validation","Normalize the timestamp into UTC time.","Create a timestamp corresponding to current time","","","","","","Get the second","","","","Unwraps the underlying String value","Make a timestamp with the time component set to 00:00:00.","Construct into a OffsetDateTime time.","","","","","","Construct into a OffsetDateTime time with a guaranteed UTC …","Create a timestamp corresponding to the start of the …","","","","","","","","","","","","","Get the year","","","location of error","Thing that failed","","A user according to many endpoints","","","","","","","Display name of user","","","","Returns the argument unchanged.","ID of the user","Calls U::from(self).","Login name of the user, not capitalized","URL of the user’s profile","","","","",""],"i":[13,12,0,0,0,13,0,0,0,0,0,12,13,12,13,0,0,0,0,0,2,5,6,7,8,9,2,5,6,7,8,9,5,7,9,2,2,5,6,6,7,8,8,9,5,7,9,2,2,2,5,5,6,6,6,7,7,8,8,8,9,9,12,13,2,5,6,7,8,9,12,13,2,6,8,12,13,2,6,8,12,13,2,5,6,7,8,9,12,13,0,12,13,2,6,8,2,5,6,7,8,9,12,13,0,2,2,2,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,12,13,2,5,6,7,8,9,12,13,0,2,2,5,5,6,6,7,7,8,8,9,9,12,13,2,2,2,2,2,2,2,5,5,5,5,6,6,6,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,12,13,2,5,6,7,8,9,2,5,6,7,8,9,0,2,5,6,7,8,9,12,13,2,6,8,12,13,2,6,8,115,2,2,5,6,6,7,8,8,9,5,7,9,0,2,6,8,13,2,5,6,7,8,9,12,13,0,2,5,6,7,8,9,12,13,2,5,6,7,8,9,0,2,6,8,0,2,5,6,7,8,9,12,13,2,5,6,7,8,9,2,6,8,12,13,2,6,8,12,13,2,5,6,7,8,9,12,13,0,5,5,7,7,9,9,26,26,26,26,26,26,26,26,26,26,0,0,26,0,26,26,26,26,26,26,28,26,30,26,28,28,30,30,28,28,28,30,30,26,28,30,26,28,26,28,26,28,30,28,28,30,26,28,28,28,30,30,30,26,28,30,26,28,28,30,30,26,26,28,28,28,28,28,28,28,30,30,30,30,26,26,26,28,30,28,30,28,30,28,26,28,28,28,30,30,28,28,30,28,30,26,26,28,28,30,26,26,28,30,26,28,26,26,28,26,28,30,26,30,30,26,40,0,0,0,0,41,0,0,0,0,0,0,0,0,0,41,0,42,42,42,40,31,31,31,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,33,35,37,39,32,32,33,34,34,35,36,36,37,38,38,39,33,35,37,39,43,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,40,41,42,31,38,38,38,39,39,43,44,32,33,34,35,36,37,40,41,42,31,38,39,43,44,32,34,36,40,41,42,31,38,43,44,32,34,36,40,41,42,31,38,43,44,32,33,34,35,36,37,38,39,31,41,42,37,32,34,36,38,32,33,34,35,36,37,40,41,42,38,39,43,44,43,32,32,32,33,33,33,34,34,34,35,35,35,36,36,36,37,37,37,40,41,42,38,38,38,39,39,39,43,44,32,33,34,35,36,37,40,41,42,38,39,43,44,32,32,33,33,34,34,35,35,36,36,37,37,40,40,41,41,42,42,31,38,38,39,39,43,43,44,32,32,32,32,32,32,32,33,33,33,33,34,34,34,34,34,34,34,35,35,35,35,36,36,36,36,36,36,36,37,37,37,37,40,41,42,31,38,38,38,38,38,38,38,39,39,39,39,43,44,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,43,32,34,36,40,41,42,31,38,43,44,32,34,36,38,32,32,33,34,34,35,36,36,37,38,38,39,33,35,37,39,31,32,34,36,31,38,32,33,34,35,36,37,38,39,31,32,33,34,35,36,37,40,41,42,38,39,43,44,31,31,31,32,33,34,35,36,37,38,39,32,34,36,38,32,33,34,35,36,37,40,41,42,31,38,39,43,44,32,33,34,35,36,37,40,41,42,38,39,43,32,34,36,40,41,42,31,38,43,44,32,34,36,40,41,42,31,38,43,44,32,33,34,35,36,37,40,41,42,31,38,39,43,44,37,44,44,44,33,33,35,35,37,37,39,39,0,0,45,46,45,46,46,45,45,46,46,45,45,45,46,46,45,46,45,45,45,46,45,45,46,45,45,45,46,46,46,45,46,45,45,46,46,45,45,45,45,45,45,45,46,46,46,46,45,46,45,46,45,46,45,45,45,45,46,46,45,45,46,45,46,45,46,45,45,46,45,46,45,45,45,46,46,46,0,0,0,49,49,49,49,49,47,48,47,48,48,47,47,48,48,47,47,47,48,48,49,47,48,49,47,49,47,49,47,48,47,47,48,49,47,47,47,48,48,48,49,47,48,49,47,47,48,48,49,47,47,47,47,47,47,47,48,48,48,48,49,47,48,47,48,47,48,47,49,47,47,47,48,48,47,47,48,47,48,49,47,48,47,47,48,49,47,48,47,49,47,49,47,48,49,48,48,54,0,0,0,54,54,0,0,54,50,51,52,53,50,51,52,53,51,53,50,50,51,52,52,53,51,53,50,50,50,51,51,52,52,52,53,53,54,50,51,52,53,54,50,52,54,50,52,54,50,51,52,53,50,52,50,51,52,53,54,50,50,50,51,51,51,52,52,52,53,53,53,54,50,51,52,53,54,50,50,51,51,52,52,53,53,54,50,50,50,50,50,50,50,51,51,51,51,52,52,52,52,52,52,52,53,53,53,53,54,50,51,52,53,50,51,52,53,50,51,52,53,50,52,54,50,52,50,50,51,52,52,53,51,53,50,52,50,51,52,53,50,51,52,53,54,50,51,52,53,50,52,50,51,52,53,54,50,51,52,53,50,52,54,50,52,54,50,51,52,53,54,51,51,53,53,70,71,70,71,70,0,70,71,0,67,67,70,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71,0,0,70,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,56,58,60,62,64,66,55,55,56,57,57,58,59,59,60,61,61,62,63,63,64,65,65,66,56,58,60,62,64,66,69,55,55,55,56,56,57,57,57,58,58,59,59,59,60,60,61,61,61,62,62,63,63,63,64,64,65,65,65,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,72,73,69,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,72,55,57,59,61,63,65,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,55,55,56,56,56,57,57,57,58,58,58,59,59,59,60,60,60,61,61,61,62,62,62,63,63,63,64,64,64,65,65,65,66,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,55,56,56,57,57,58,58,59,59,60,60,61,61,62,62,63,63,64,64,65,65,66,66,67,68,69,70,71,72,73,55,55,55,55,55,55,55,56,56,56,56,57,57,57,57,57,57,57,58,58,58,58,59,59,59,59,59,59,59,60,60,60,60,61,61,61,61,61,61,61,62,62,62,62,63,63,63,63,63,63,63,64,64,64,64,65,65,65,65,65,65,65,66,66,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,68,55,56,57,58,59,60,61,62,63,64,65,66,69,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,55,55,56,57,57,58,59,59,60,61,61,62,63,63,64,65,65,66,56,58,60,62,64,66,68,73,73,55,57,59,61,63,65,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,55,57,59,61,63,65,69,72,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,72,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,72,69,56,56,58,58,60,60,62,62,64,64,66,66,116,117,116,117,98,99,0,0,0,0,0,0,0,0,0,0,0,98,102,102,99,0,0,0,0,103,101,101,101,101,101,101,99,102,98,97,102,99,99,97,100,102,100,99,102,0,0,0,0,0,0,0,0,0,97,97,97,0,99,0,0,0,0,0,102,99,99,99,98,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,75,77,79,81,83,85,87,89,91,93,95,74,74,75,76,76,77,78,78,79,80,80,81,82,82,83,84,84,85,86,86,87,88,88,89,90,90,91,92,92,93,94,94,95,75,77,79,81,83,85,87,89,91,93,95,74,74,74,75,75,76,76,76,77,77,78,78,78,79,79,80,80,80,81,81,82,82,82,83,83,84,84,84,85,85,86,86,86,87,87,88,88,88,89,89,90,90,90,91,91,92,92,92,93,93,94,94,94,95,95,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,96,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,102,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,74,74,75,75,75,76,76,76,77,77,77,78,78,78,79,79,79,80,80,80,81,81,81,82,82,82,83,83,83,84,84,84,85,85,85,86,86,86,87,87,87,88,88,88,89,89,89,90,90,90,91,91,91,92,92,92,93,93,93,94,94,94,95,95,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,74,75,75,76,76,77,77,78,78,79,79,80,80,81,81,82,82,83,83,84,84,85,85,86,86,87,87,88,88,89,89,90,90,91,91,92,92,93,93,94,94,95,95,96,97,98,99,100,101,101,103,103,102,74,74,74,74,74,74,74,75,75,75,75,76,76,76,76,76,76,76,77,77,77,77,78,78,78,78,78,78,78,79,79,79,79,80,80,80,80,80,80,80,81,81,81,81,82,82,82,82,82,82,82,83,83,83,83,84,84,84,84,84,84,84,85,85,85,85,86,86,86,86,86,86,86,87,87,87,87,88,88,88,88,88,88,88,89,89,89,89,90,90,90,90,90,90,90,91,91,91,91,92,92,92,92,92,92,92,93,93,93,93,94,94,94,94,94,94,94,95,95,95,95,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,96,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,103,102,74,76,78,80,82,84,86,88,90,92,94,74,74,75,76,76,77,78,78,79,80,80,81,82,82,83,84,84,85,86,86,87,88,88,89,90,90,91,92,92,93,94,94,95,75,77,79,81,83,85,87,89,91,93,95,96,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,101,103,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,101,103,102,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,75,75,77,77,79,79,81,81,83,83,85,85,87,87,89,89,91,91,93,93,95,95,108,108,108,108,0,0,0,105,106,105,105,106,106,105,105,105,106,106,108,105,106,108,105,105,106,105,105,106,105,105,105,105,106,106,106,106,105,106,105,105,106,106,108,108,105,105,105,105,106,106,108,108,108,108,105,106,105,106,106,105,106,106,105,108,105,105,105,106,106,106,106,106,106,105,105,106,105,105,105,106,106,106,106,105,106,108,105,106,106,105,106,105,106,108,106,105,105,105,105,105,106,106,108,105,108,105,106,108,106,106,106,118,118,0,0,0,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[2,3]]]],[1,[[4,[5,3]]]],[1,[[4,[6,3]]]],[1,[[4,[7,3]]]],[1,[[4,[8,3]]]],[1,[[4,[9,3]]]],[1,[[4,[2,3]]]],[1,[[4,[5,3]]]],[1,[[4,[6,3]]]],[1,[[4,[7,3]]]],[1,[[4,[8,3]]]],[1,[[4,[9,3]]]],[5,[[10,[5]]]],[7,[[10,[7]]]],[9,[[10,[9]]]],[2,11],[2,5],[5,11],[6,7],[6,11],[7,11],[8,9],[8,11],[9,11],[5,11],[7,11],[9,11],[2,11],[[]],[2,5],[5,11],[[]],[6,11],[6,7],[[]],[[]],[7,11],[8,11],[8,9],[[]],[[]],[9,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,2],[6,6],[8,8],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[2,2],14],[[5,5],14],[[6,6],14],[[7,7],14],[[8,8],14],[[9,9],14],[[12,12],14],[[13,13],14],0,[[],12],[[],13],[2],[6],[8],[15,[[4,[2]]]],[15,[[4,[5]]]],[15,[[4,[6]]]],[15,[[4,[7]]]],[15,[[4,[8]]]],[15,[[4,[9]]]],[15,[[4,[12]]]],[15,[[4,[13]]]],0,[[2,5],16],[[2,5],16],[[2,2],16],[[5,5],16],[[5,2],16],[[5,2],16],[[6,7],16],[[6,7],16],[[6,6],16],[[7,6],16],[[7,6],16],[[7,7],16],[[8,8],16],[[8,9],16],[[8,9],16],[[9,9],16],[[9,8],16],[[9,8],16],[[12,12],16],[[13,13],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],0,[[2,17],18],[[2,17],18],[[5,17],18],[[5,17],18],[[6,17],18],[[6,17],18],[[7,17],18],[[7,17],18],[[8,17],18],[[8,17],18],[[9,17],18],[[9,17],18],[[12,17],18],[[13,17],18],[[[19,[5]]],2],[20,2],[[]],[[[10,[5]]],2],[5,2],[11,2],[[[19,[11]]],2],[[[10,[5]]],5],[2,5],[20,5],[11,5],[7,6],[[[19,[7]]],6],[[[10,[7]]],6],[[]],[20,6],[11,6],[[[19,[11]]],6],[11,7],[20,7],[6,7],[[[10,[7]]],7],[[[19,[11]]],8],[[[19,[9]]],8],[[[10,[9]]],8],[9,8],[11,8],[[]],[20,8],[[[10,[9]]],9],[11,9],[20,9],[8,9],[[]],[[]],[11,2],[11,5],[11,6],[11,7],[11,8],[11,9],[11,[[4,[2]]]],[11,5],[11,[[4,[6]]]],[11,7],[11,[[4,[8]]]],[11,9],0,[[2,21]],[[5,21]],[[6,21]],[[7,21]],[[8,21]],[[9,21]],[[12,21]],[[13,21]],[[]],[[]],[[]],[[]],[[]],[2,[[19,[5]]]],[6,[[19,[7]]]],[8,[[19,[9]]]],[[],10],[2,[[10,[5]]]],[2,[[10,[5]]]],[5,[[10,[5]]]],[6,[[10,[7]]]],[6,[[10,[7]]]],[7,[[10,[7]]]],[8,[[10,[9]]]],[8,[[10,[9]]]],[9,[[10,[9]]]],[[[19,[5]]],2],[[[19,[7]]],6],[[[19,[9]]],8],0,[20,2],[20,6],[20,8],[11,13],[[2,2],[[22,[14]]]],[[5,5],[[22,[14]]]],[[6,6],[[22,[14]]]],[[7,7],[[22,[14]]]],[[8,8],[[22,[14]]]],[[9,9],[[22,[14]]]],[[12,12],[[22,[14]]]],[[13,13],[[22,[14]]]],0,[[2,23],4],[[5,23],4],[[6,23],4],[[7,23],4],[[8,23],4],[[9,23],4],[[12,23],4],[[13,23],4],[24],[24],[24],[24],[24],[24],0,[2,20],[6,20],[8,20],0,[[]],[5],[[]],[7],[[]],[9],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],0,[5,5],[2,5],[7,7],[6,7],[9,9],[8,9],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[27,[26]]]],[1,[[29,[28]]]],[1,[[29,[26]]]],[30,[[10,[30]]]],[26,30],[28,11],[28,30],[30,11],[30,11],[28,30],[[]],[28,11],[30,11],[[]],[[]],[[]],[[]],[[]],[28,28],[26,26],[[]],[[]],[[28,28],14],[[30,30],14],[28],[15,[[4,[28]]]],[15,[[4,[30]]]],[15,[[4,[26]]]],[[28,28],16],[[28,30],16],[[28,30],16],[[30,28],16],[[30,28],16],[[30,30],16],[[26,26],16],[[],16],[[],16],[[],16],[[28,17],18],[[28,17],18],[[30,17],18],[[30,17],18],[[26,17],18],[[26,17],18],[[[10,[30]]],28],[[]],[[[19,[30]]],28],[[[19,[11]]],28],[20,28],[11,28],[30,28],[28,30],[11,30],[[[10,[30]]],30],[20,30],[28,26],[[[10,[30]]],26],[[]],[11,28],[11,30],[11,[[4,[28]]]],[11,30],[[28,21]],[[30,21]],[[]],[[]],[28,[[19,[30]]]],[28,[[10,[30]]]],[28,[[10,[30]]]],[30,[[10,[30]]]],[[[19,[30]]],28],[20,28],[[28,28],[[22,[14]]]],[[30,30],[[22,[14]]]],[[28,23],4],[[30,23],4],[[26,23],4],[24],[28,20],[[]],[30],[26,26],[[]],[[],20],[[],20],[[],20],[[],4],[[],4],[11,[[4,[26]]]],[[],4],[[],4],[[],25],[[],25],[[],25],[30,30],[28,30],[26,26],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[31,31],[31,31],[31,31],[1,[[4,[32,3]]]],[1,[[4,[33,3]]]],[1,[[4,[34,3]]]],[1,[[4,[35,3]]]],[1,[[4,[36,3]]]],[1,[[4,[37,3]]]],[1,[[4,[38,3]]]],[1,[[4,[39,3]]]],[1,[[4,[32,3]]]],[1,[[4,[33,3]]]],[1,[[4,[34,3]]]],[1,[[4,[35,3]]]],[1,[[4,[36,3]]]],[1,[[4,[37,3]]]],[1,[[4,[38,3]]]],[1,[[4,[39,3]]]],[33,[[10,[33]]]],[35,[[10,[35]]]],[37,[[10,[37]]]],[39,[[10,[39]]]],[32,11],[32,33],[33,11],[34,35],[34,11],[35,11],[36,37],[36,11],[37,11],[38,39],[38,11],[39,11],[33,11],[35,11],[37,11],[39,11],0,[[]],[32,11],[32,33],[[]],[33,11],[[]],[34,35],[34,11],[[]],[35,11],[36,11],[[]],[36,37],[[]],[37,11],[[]],[[]],[[]],[[]],[38,39],[[]],[38,11],[[]],[39,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[32,32],[34,34],[36,36],[40,40],[41,41],[42,42],[31,31],[38,38],[43,43],[44,44],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[32,32],14],[[33,33],14],[[34,34],14],[[35,35],14],[[36,36],14],[[37,37],14],[[38,38],14],[[39,39],14],[31,31],[[],41],[[],42],[37,20],[32],[34],[36],[38],[15,[[4,[32]]]],[15,[[4,[33]]]],[15,[[4,[34]]]],[15,[[4,[35]]]],[15,[[4,[36]]]],[15,[[4,[37]]]],[15,[[4,[40]]]],[15,[[4,[41]]]],[15,[[4,[42]]]],[15,[[4,[38]]]],[15,[[4,[39]]]],[15,[[4,[43]]]],[15,[[4,[44]]]],0,[[32,33],16],[[32,33],16],[[32,32],16],[[33,32],16],[[33,32],16],[[33,33],16],[[34,35],16],[[34,35],16],[[34,34],16],[[35,35],16],[[35,34],16],[[35,34],16],[[36,36],16],[[36,37],16],[[36,37],16],[[37,36],16],[[37,36],16],[[37,37],16],[[40,40],16],[[41,41],16],[[42,42],16],[[38,39],16],[[38,39],16],[[38,38],16],[[39,38],16],[[39,38],16],[[39,39],16],[[43,43],16],[[44,44],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[32,17],18],[[32,17],18],[[33,17],18],[[33,17],18],[[34,17],18],[[34,17],18],[[35,17],18],[[35,17],18],[[36,17],18],[[36,17],18],[[37,17],18],[[37,17],18],[[40,17],18],[[40,17],18],[[41,17],18],[[41,17],18],[[42,17],18],[[42,17],18],[[31,17],18],[[38,17],18],[[38,17],18],[[39,17],18],[[39,17],18],[[43,17],18],[[43,17],18],[[44,17],18],[20,32],[[[10,[33]]],32],[[]],[[[19,[11]]],32],[33,32],[11,32],[[[19,[33]]],32],[32,33],[[[10,[33]]],33],[20,33],[11,33],[[[19,[35]]],34],[[[19,[11]]],34],[20,34],[35,34],[[]],[11,34],[[[10,[35]]],34],[20,35],[34,35],[11,35],[[[10,[35]]],35],[20,36],[[[19,[37]]],36],[[[10,[37]]],36],[37,36],[[[19,[11]]],36],[[]],[11,36],[11,37],[20,37],[36,37],[[[10,[37]]],37],[[]],[[]],[[]],[[]],[[[19,[11]]],38],[[[19,[39]]],38],[39,38],[[]],[[[10,[39]]],38],[20,38],[11,38],[[[10,[39]]],39],[20,39],[11,39],[38,39],[[]],[[]],[11,32],[11,33],[11,34],[11,35],[11,36],[11,37],[11,38],[11,39],[11,[[4,[32]]]],[11,33],[11,[[4,[34]]]],[11,35],[11,[[4,[36]]]],[11,37],[11,[[4,[38]]]],[11,39],[[32,21]],[[33,21]],[[34,21]],[[35,21]],[[36,21]],[[37,21]],[[38,21]],[[39,21]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[32,[[19,[33]]]],[34,[[19,[35]]]],[36,[[19,[37]]]],[38,[[19,[39]]]],[32,[[10,[33]]]],[32,[[10,[33]]]],[33,[[10,[33]]]],[34,[[10,[35]]]],[34,[[10,[35]]]],[35,[[10,[35]]]],[36,[[10,[37]]]],[36,[[10,[37]]]],[37,[[10,[37]]]],[38,[[10,[39]]]],[38,[[10,[39]]]],[39,[[10,[39]]]],[[[19,[33]]],32],[[[19,[35]]],34],[[[19,[37]]],36],[[[19,[39]]],38],[31,31],[20,32],[20,34],[20,36],[37,31],[20,38],[[32,32],[[22,[14]]]],[[33,33],[[22,[14]]]],[[34,34],[[22,[14]]]],[[35,35],[[22,[14]]]],[[36,36],[[22,[14]]]],[[37,37],[[22,[14]]]],[[38,38],[[22,[14]]]],[[39,39],[[22,[14]]]],[31,20],[[32,23],4],[[33,23],4],[[34,23],4],[[35,23],4],[[36,23],4],[[37,23],4],[[40,23],4],[[41,23],4],[[42,23],4],[[38,23],4],[[39,23],4],[[43,23],4],[[44,23],4],[31,31],[31,31],[31,31],[24],[24],[24],[24],[24],[24],[24],[24],[32,20],[34,20],[36,20],[38,20],[[]],[33],[[]],[35],[[]],[37],[[]],[[]],[[]],[[]],[[]],[39],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[37,31],0,0,0,[33,33],[32,33],[34,35],[35,35],[37,37],[36,37],[39,39],[38,39],0,0,[1,[[4,[45,3]]]],[1,[[4,[46,3]]]],[1,[[4,[45,3]]]],[1,[[4,[46,3]]]],[46,[[10,[46]]]],[45,46],[45,11],[46,11],[46,11],[45,46],[[]],[45,11],[46,11],[[]],[[]],[[]],[45,45],[[]],[[45,45],14],[[46,46],14],[45],[15,[[4,[45]]]],[15,[[4,[46]]]],[[45,46],16],[[45,46],16],[[45,45],16],[[46,45],16],[[46,45],16],[[46,46],16],[[],16],[[],16],[[45,17],18],[[45,17],18],[[46,17],18],[[46,17],18],[46,45],[[[19,[11]]],45],[20,45],[[]],[11,45],[[[10,[46]]],45],[[[19,[46]]],45],[11,46],[[[10,[46]]],46],[45,46],[20,46],[11,45],[11,46],[11,[[4,[45]]]],[11,46],[[45,21]],[[46,21]],[[]],[45,[[19,[46]]]],[45,[[10,[46]]]],[45,[[10,[46]]]],[46,[[10,[46]]]],[[[19,[46]]],45],[20,45],[[45,45],[[22,[14]]]],[[46,46],[[22,[14]]]],[[45,23],4],[[46,23],4],[24],[24],[45,20],[[]],[46],[[],20],[[],20],[[],4],[[],4],[[],25],[[],25],[45,46],[46,46],0,0,0,0,0,0,0,0,[1,[[4,[47,3]]]],[1,[[4,[48,3]]]],[1,[[4,[47,3]]]],[1,[[4,[48,3]]]],[48,[[10,[48]]]],[47,11],[47,48],[48,11],[48,11],[47,48],[[]],[47,11],[[]],[48,11],[[]],[[]],[[]],[[]],[47,47],[49,49],[[]],[[]],[[47,47],14],[[48,48],14],[47],[15,[[4,[47]]]],[15,[[4,[48]]]],[15,[[4,[49]]]],[[47,48],16],[[47,48],16],[[47,47],16],[[48,48],16],[[48,47],16],[[48,47],16],[[49,49],16],[[],16],[[],16],[[],16],[[47,17],18],[[47,17],18],[[48,17],18],[[48,17],18],[[49,17],18],[[[19,[11]]],47],[[[10,[48]]],47],[11,47],[48,47],[20,47],[[[19,[48]]],47],[[]],[20,48],[11,48],[47,48],[[[10,[48]]],48],[[]],[11,47],[11,48],[11,[[4,[47]]]],[11,48],[[47,21]],[[48,21]],[[]],[[]],[47,[[19,[48]]]],[47,[[10,[48]]]],[47,[[10,[48]]]],[48,[[10,[48]]]],[[[19,[48]]],47],[20,47],[[47,47],[[22,[14]]]],[[48,48],[[22,[14]]]],[[47,23],4],[[48,23],4],[[49,23],4],[24],[24],[47,20],[[]],[48],[[]],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[48,48],[47,48],0,0,0,0,0,0,0,0,0,[1,[[4,[50,3]]]],[1,[[4,[51,3]]]],[1,[[4,[52,3]]]],[1,[[4,[53,3]]]],[1,[[4,[50,3]]]],[1,[[4,[51,3]]]],[1,[[4,[52,3]]]],[1,[[4,[53,3]]]],[51,[[10,[51]]]],[53,[[10,[53]]]],[50,11],[50,51],[51,11],[52,11],[52,53],[53,11],[51,11],[53,11],[50,11],[50,51],[[]],[[]],[51,11],[52,11],[52,53],[[]],[53,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[50,50],[52,52],[54,54],[[]],[[]],[[]],[[50,50],14],[[51,51],14],[[52,52],14],[[53,53],14],[50],[52],[15,[[4,[50]]]],[15,[[4,[51]]]],[15,[[4,[52]]]],[15,[[4,[53]]]],[15,[[4,[54]]]],[[50,51],16],[[50,51],16],[[50,50],16],[[51,50],16],[[51,51],16],[[51,50],16],[[52,53],16],[[52,52],16],[[52,53],16],[[53,52],16],[[53,52],16],[[53,53],16],[[54,54],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[50,17],18],[[50,17],18],[[51,17],18],[[51,17],18],[[52,17],18],[[52,17],18],[[53,17],18],[[53,17],18],[[54,17],18],[51,50],[[[19,[11]]],50],[[[19,[51]]],50],[[[10,[51]]],50],[11,50],[20,50],[[]],[11,51],[50,51],[[[10,[51]]],51],[20,51],[[[19,[53]]],52],[11,52],[[]],[[[19,[11]]],52],[20,52],[53,52],[[[10,[53]]],52],[[[10,[53]]],53],[11,53],[20,53],[52,53],[[]],[11,50],[11,51],[11,52],[11,53],[11,[[4,[50]]]],[11,51],[11,[[4,[52]]]],[11,53],[[50,21]],[[51,21]],[[52,21]],[[53,21]],[[]],[[]],[[]],[50,[[19,[51]]]],[52,[[19,[53]]]],[50,[[10,[51]]]],[50,[[10,[51]]]],[51,[[10,[51]]]],[52,[[10,[53]]]],[52,[[10,[53]]]],[53,[[10,[53]]]],[[[19,[51]]],50],[[[19,[53]]],52],[20,50],[20,52],[[50,50],[[22,[14]]]],[[51,51],[[22,[14]]]],[[52,52],[[22,[14]]]],[[53,53],[[22,[14]]]],[[50,23],4],[[51,23],4],[[52,23],4],[[53,23],4],[[54,23],4],[24],[24],[24],[24],[50,20],[52,20],[[]],[51],[[]],[53],[[]],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[51,51],[50,51],[53,53],[52,53],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[55,3]]]],[1,[[4,[56,3]]]],[1,[[4,[57,3]]]],[1,[[4,[58,3]]]],[1,[[4,[59,3]]]],[1,[[4,[60,3]]]],[1,[[4,[61,3]]]],[1,[[4,[62,3]]]],[1,[[4,[63,3]]]],[1,[[4,[64,3]]]],[1,[[4,[65,3]]]],[1,[[4,[66,3]]]],[1,[[4,[55,3]]]],[1,[[4,[56,3]]]],[1,[[4,[57,3]]]],[1,[[4,[58,3]]]],[1,[[4,[59,3]]]],[1,[[4,[60,3]]]],[1,[[4,[61,3]]]],[1,[[4,[62,3]]]],[1,[[4,[63,3]]]],[1,[[4,[64,3]]]],[1,[[4,[65,3]]]],[1,[[4,[66,3]]]],[56,[[10,[56]]]],[58,[[10,[58]]]],[60,[[10,[60]]]],[62,[[10,[62]]]],[64,[[10,[64]]]],[66,[[10,[66]]]],[55,56],[55,11],[56,11],[57,11],[57,58],[58,11],[59,60],[59,11],[60,11],[61,62],[61,11],[62,11],[63,11],[63,64],[64,11],[65,66],[65,11],[66,11],[56,11],[58,11],[60,11],[62,11],[64,11],[66,11],0,[55,11],[[]],[55,56],[[]],[56,11],[[]],[57,11],[57,58],[58,11],[[]],[[]],[59,11],[59,60],[60,11],[[]],[61,62],[61,11],[[]],[[]],[62,11],[[]],[63,64],[63,11],[[]],[64,11],[65,11],[[]],[65,66],[[]],[66,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[55,55],[57,57],[59,59],[61,61],[63,63],[65,65],[67,67],[68,68],[69,69],[70,70],[71,71],[72,72],[73,73],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[55,55],14],[[56,56],14],[[57,57],14],[[58,58],14],[[59,59],14],[[60,60],14],[[61,61],14],[[62,62],14],[[63,63],14],[[64,64],14],[[65,65],14],[[66,66],14],0,[55],[57],[59],[61],[63],[65],[15,[[4,[55]]]],[15,[[4,[56]]]],[15,[[4,[57]]]],[15,[[4,[58]]]],[15,[[4,[59]]]],[15,[[4,[60]]]],[15,[[4,[61]]]],[15,[[4,[62]]]],[15,[[4,[63]]]],[15,[[4,[64]]]],[15,[[4,[65]]]],[15,[[4,[66]]]],[15,[[4,[67]]]],[15,[[4,[68]]]],[15,[[4,[69]]]],[15,[[4,[70]]]],[15,[[4,[71]]]],[15,[[4,[72]]]],[15,[[4,[73]]]],[[55,55],16],[[55,56],16],[[55,56],16],[[56,55],16],[[56,55],16],[[56,56],16],[[57,58],16],[[57,58],16],[[57,57],16],[[58,57],16],[[58,58],16],[[58,57],16],[[59,60],16],[[59,60],16],[[59,59],16],[[60,59],16],[[60,60],16],[[60,59],16],[[61,61],16],[[61,62],16],[[61,62],16],[[62,62],16],[[62,61],16],[[62,61],16],[[63,63],16],[[63,64],16],[[63,64],16],[[64,63],16],[[64,63],16],[[64,64],16],[[65,66],16],[[65,65],16],[[65,66],16],[[66,66],16],[[66,65],16],[[66,65],16],[[67,67],16],[[68,68],16],[[69,69],16],[[70,70],16],[[71,71],16],[[72,72],16],[[73,73],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[55,17],18],[[55,17],18],[[56,17],18],[[56,17],18],[[57,17],18],[[57,17],18],[[58,17],18],[[58,17],18],[[59,17],18],[[59,17],18],[[60,17],18],[[60,17],18],[[61,17],18],[[61,17],18],[[62,17],18],[[62,17],18],[[63,17],18],[[63,17],18],[[64,17],18],[[64,17],18],[[65,17],18],[[65,17],18],[[66,17],18],[[66,17],18],[[67,17],18],[[68,17],18],[[69,17],18],[[70,17],18],[[71,17],18],[[72,17],18],[[73,17],18],[20,55],[[[10,[56]]],55],[[]],[11,55],[[[19,[56]]],55],[[[19,[11]]],55],[56,55],[55,56],[20,56],[[[10,[56]]],56],[11,56],[11,57],[[[19,[11]]],57],[[[19,[58]]],57],[[]],[20,57],[[[10,[58]]],57],[58,57],[57,58],[11,58],[20,58],[[[10,[58]]],58],[[]],[20,59],[11,59],[[[19,[60]]],59],[[[19,[11]]],59],[60,59],[[[10,[60]]],59],[[[10,[60]]],60],[11,60],[59,60],[20,60],[11,61],[[[19,[62]]],61],[[[10,[62]]],61],[20,61],[[[19,[11]]],61],[62,61],[[]],[61,62],[11,62],[20,62],[[[10,[62]]],62],[64,63],[[[10,[64]]],63],[[[19,[11]]],63],[[]],[11,63],[[[19,[64]]],63],[20,63],[11,64],[[[10,[64]]],64],[20,64],[63,64],[[[19,[66]]],65],[20,65],[[[10,[66]]],65],[66,65],[[[19,[11]]],65],[[]],[11,65],[11,66],[65,66],[[[10,[66]]],66],[20,66],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[11,55],[11,56],[11,57],[11,58],[11,59],[11,60],[11,61],[11,62],[11,63],[11,64],[11,65],[11,66],[11,[[4,[55]]]],[11,56],[11,[[4,[57]]]],[11,58],[11,[[4,[59]]]],[11,60],[11,[[4,[61]]]],[11,62],[11,[[4,[63]]]],[11,64],[11,[[4,[65]]]],[11,66],0,[[55,21]],[[56,21]],[[57,21]],[[58,21]],[[59,21]],[[60,21]],[[61,21]],[[62,21]],[[63,21]],[[64,21]],[[65,21]],[[66,21]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[55,[[19,[56]]]],[57,[[19,[58]]]],[59,[[19,[60]]]],[61,[[19,[62]]]],[63,[[19,[64]]]],[65,[[19,[66]]]],[55,[[10,[56]]]],[55,[[10,[56]]]],[56,[[10,[56]]]],[57,[[10,[58]]]],[57,[[10,[58]]]],[58,[[10,[58]]]],[59,[[10,[60]]]],[59,[[10,[60]]]],[60,[[10,[60]]]],[61,[[10,[62]]]],[61,[[10,[62]]]],[62,[[10,[62]]]],[63,[[10,[64]]]],[63,[[10,[64]]]],[64,[[10,[64]]]],[65,[[10,[66]]]],[65,[[10,[66]]]],[66,[[10,[66]]]],[[[19,[56]]],55],[[[19,[58]]],57],[[[19,[60]]],59],[[[19,[62]]],61],[[[19,[64]]],63],[[[19,[66]]],65],0,0,0,[20,55],[20,57],[20,59],[20,61],[20,63],[20,65],[[55,55],[[22,[14]]]],[[56,56],[[22,[14]]]],[[57,57],[[22,[14]]]],[[58,58],[[22,[14]]]],[[59,59],[[22,[14]]]],[[60,60],[[22,[14]]]],[[61,61],[[22,[14]]]],[[62,62],[[22,[14]]]],[[63,63],[[22,[14]]]],[[64,64],[[22,[14]]]],[[65,65],[[22,[14]]]],[[66,66],[[22,[14]]]],[[55,23],4],[[56,23],4],[[57,23],4],[[58,23],4],[[59,23],4],[[60,23],4],[[61,23],4],[[62,23],4],[[63,23],4],[[64,23],4],[[65,23],4],[[66,23],4],[[67,23],4],[[68,23],4],[[69,23],4],[[70,23],4],[[71,23],4],[[72,23],4],[[73,23],4],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[55,20],[57,20],[59,20],[61,20],[63,20],[65,20],0,0,[[]],[56],[[]],[58],[[]],[60],[[]],[62],[[]],[64],[[]],[66],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],0,0,[56,56],[55,56],[57,58],[58,58],[59,60],[60,60],[61,62],[62,62],[64,64],[63,64],[65,66],[66,66],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[74,3]]]],[1,[[4,[75,3]]]],[1,[[4,[76,3]]]],[1,[[4,[77,3]]]],[1,[[4,[78,3]]]],[1,[[4,[79,3]]]],[1,[[4,[80,3]]]],[1,[[4,[81,3]]]],[1,[[4,[82,3]]]],[1,[[4,[83,3]]]],[1,[[4,[84,3]]]],[1,[[4,[85,3]]]],[1,[[4,[86,3]]]],[1,[[4,[87,3]]]],[1,[[4,[88,3]]]],[1,[[4,[89,3]]]],[1,[[4,[90,3]]]],[1,[[4,[91,3]]]],[1,[[4,[92,3]]]],[1,[[4,[93,3]]]],[1,[[4,[94,3]]]],[1,[[4,[95,3]]]],[1,[[4,[74,3]]]],[1,[[4,[75,3]]]],[1,[[4,[76,3]]]],[1,[[4,[77,3]]]],[1,[[4,[78,3]]]],[1,[[4,[79,3]]]],[1,[[4,[80,3]]]],[1,[[4,[81,3]]]],[1,[[4,[82,3]]]],[1,[[4,[83,3]]]],[1,[[4,[84,3]]]],[1,[[4,[85,3]]]],[1,[[4,[86,3]]]],[1,[[4,[87,3]]]],[1,[[4,[88,3]]]],[1,[[4,[89,3]]]],[1,[[4,[90,3]]]],[1,[[4,[91,3]]]],[1,[[4,[92,3]]]],[1,[[4,[93,3]]]],[1,[[4,[94,3]]]],[1,[[4,[95,3]]]],[75,[[10,[75]]]],[77,[[10,[77]]]],[79,[[10,[79]]]],[81,[[10,[81]]]],[83,[[10,[83]]]],[85,[[10,[85]]]],[87,[[10,[87]]]],[89,[[10,[89]]]],[91,[[10,[91]]]],[93,[[10,[93]]]],[95,[[10,[95]]]],[74,75],[74,11],[75,11],[76,77],[76,11],[77,11],[78,79],[78,11],[79,11],[80,11],[80,81],[81,11],[82,83],[82,11],[83,11],[84,11],[84,85],[85,11],[86,11],[86,87],[87,11],[88,89],[88,11],[89,11],[90,11],[90,91],[91,11],[92,93],[92,11],[93,11],[94,95],[94,11],[95,11],[75,11],[77,11],[79,11],[81,11],[83,11],[85,11],[87,11],[89,11],[91,11],[93,11],[95,11],[[]],[74,11],[74,75],[75,11],[[]],[76,11],[76,77],[[]],[77,11],[[]],[78,11],[78,79],[[]],[79,11],[[]],[80,11],[[]],[80,81],[[]],[81,11],[82,11],[[]],[82,83],[[]],[83,11],[[]],[84,11],[84,85],[85,11],[[]],[86,11],[86,87],[[]],[87,11],[[]],[88,11],[[]],[88,89],[[]],[89,11],[90,91],[[]],[90,11],[91,11],[[]],[92,11],[[]],[92,93],[[]],[93,11],[94,11],[[]],[94,95],[[]],[95,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[74,74],[76,76],[78,78],[80,80],[82,82],[84,84],[86,86],[88,88],[90,90],[92,92],[94,94],[96,96],[97,97],[98,98],[99,99],[100,100],[101,101],[102,102],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[74,74],14],[[75,75],14],[[76,76],14],[[77,77],14],[[78,78],14],[[79,79],14],[[80,80],14],[[81,81],14],[[82,82],14],[[83,83],14],[[84,84],14],[[85,85],14],[[86,86],14],[[87,87],14],[[88,88],14],[[89,89],14],[[90,90],14],[[91,91],14],[[92,92],14],[[93,93],14],[[94,94],14],[[95,95],14],[74],[76],[78],[80],[82],[84],[86],[88],[90],[92],[94],[15,[[4,[74]]]],[15,[[4,[75]]]],[15,[[4,[76]]]],[15,[[4,[77]]]],[15,[[4,[78]]]],[15,[[4,[79]]]],[15,[[4,[80]]]],[15,[[4,[81]]]],[15,[[4,[82]]]],[15,[[4,[83]]]],[15,[[4,[84]]]],[15,[[4,[85]]]],[15,[[4,[86]]]],[15,[[4,[87]]]],[15,[[4,[88]]]],[15,[[4,[89]]]],[15,[[4,[90]]]],[15,[[4,[91]]]],[15,[[4,[92]]]],[15,[[4,[93]]]],[15,[[4,[94]]]],[15,[[4,[95]]]],[15,[[4,[96]]]],[15,[[4,[97]]]],[15,[[4,[98]]]],[15,[[4,[99]]]],[15,[[4,[100]]]],[15,[[4,[101]]]],[15,[[4,[102]]]],[[74,75],16],[[74,74],16],[[74,75],16],[[75,74],16],[[75,74],16],[[75,75],16],[[76,77],16],[[76,76],16],[[76,77],16],[[77,77],16],[[77,76],16],[[77,76],16],[[78,79],16],[[78,79],16],[[78,78],16],[[79,78],16],[[79,78],16],[[79,79],16],[[80,81],16],[[80,81],16],[[80,80],16],[[81,81],16],[[81,80],16],[[81,80],16],[[82,82],16],[[82,83],16],[[82,83],16],[[83,83],16],[[83,82],16],[[83,82],16],[[84,85],16],[[84,85],16],[[84,84],16],[[85,85],16],[[85,84],16],[[85,84],16],[[86,87],16],[[86,86],16],[[86,87],16],[[87,86],16],[[87,87],16],[[87,86],16],[[88,88],16],[[88,89],16],[[88,89],16],[[89,88],16],[[89,88],16],[[89,89],16],[[90,91],16],[[90,90],16],[[90,91],16],[[91,90],16],[[91,91],16],[[91,90],16],[[92,92],16],[[92,93],16],[[92,93],16],[[93,92],16],[[93,93],16],[[93,92],16],[[94,95],16],[[94,94],16],[[94,95],16],[[95,94],16],[[95,95],16],[[95,94],16],[[96,96],16],[[97,97],16],[[98,98],16],[[99,99],16],[[100,100],16],[[101,101],16],[[102,102],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[74,17],18],[[74,17],18],[[75,17],18],[[75,17],18],[[76,17],18],[[76,17],18],[[77,17],18],[[77,17],18],[[78,17],18],[[78,17],18],[[79,17],18],[[79,17],18],[[80,17],18],[[80,17],18],[[81,17],18],[[81,17],18],[[82,17],18],[[82,17],18],[[83,17],18],[[83,17],18],[[84,17],18],[[84,17],18],[[85,17],18],[[85,17],18],[[86,17],18],[[86,17],18],[[87,17],18],[[87,17],18],[[88,17],18],[[88,17],18],[[89,17],18],[[89,17],18],[[90,17],18],[[90,17],18],[[91,17],18],[[91,17],18],[[92,17],18],[[92,17],18],[[93,17],18],[[93,17],18],[[94,17],18],[[94,17],18],[[95,17],18],[[95,17],18],[[96,17],18],[[97,17],18],[[98,17],18],[[99,17],18],[[100,17],18],[[101,17],18],[[101,17],18],[[103,17],18],[[103,17],18],[[102,17],18],[[[19,[75]]],74],[[[19,[11]]],74],[75,74],[11,74],[[]],[20,74],[[[10,[75]]],74],[[[10,[75]]],75],[20,75],[74,75],[11,75],[77,76],[20,76],[[[19,[77]]],76],[11,76],[[[19,[11]]],76],[[[10,[77]]],76],[[]],[20,77],[11,77],[76,77],[[[10,[77]]],77],[[[10,[79]]],78],[79,78],[20,78],[11,78],[[]],[[[19,[79]]],78],[[[19,[11]]],78],[78,79],[[[10,[79]]],79],[20,79],[11,79],[11,80],[[]],[[[19,[11]]],80],[81,80],[20,80],[[[19,[81]]],80],[[[10,[81]]],80],[11,81],[20,81],[80,81],[[[10,[81]]],81],[11,82],[[[19,[11]]],82],[20,82],[[[10,[83]]],82],[83,82],[[[19,[83]]],82],[[]],[82,83],[[[10,[83]]],83],[20,83],[11,83],[[[10,[85]]],84],[20,84],[[[19,[85]]],84],[[]],[85,84],[[[19,[11]]],84],[11,84],[84,85],[20,85],[[[10,[85]]],85],[11,85],[[[19,[11]]],86],[[]],[11,86],[20,86],[[[19,[87]]],86],[87,86],[[[10,[87]]],86],[20,87],[[[10,[87]]],87],[86,87],[11,87],[[[19,[89]]],88],[[[19,[11]]],88],[[[10,[89]]],88],[11,88],[[]],[89,88],[20,88],[20,89],[11,89],[88,89],[[[10,[89]]],89],[11,90],[[[10,[91]]],90],[[[19,[11]]],90],[[]],[20,90],[91,90],[[[19,[91]]],90],[[[10,[91]]],91],[11,91],[20,91],[90,91],[93,92],[20,92],[11,92],[[[10,[93]]],92],[[[19,[11]]],92],[[[19,[93]]],92],[[]],[92,93],[20,93],[11,93],[[[10,[93]]],93],[[]],[[[19,[11]]],94],[11,94],[20,94],[95,94],[[[10,[95]]],94],[[[19,[95]]],94],[[[10,[95]]],95],[94,95],[11,95],[20,95],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[11,74],[11,75],[11,76],[11,77],[11,78],[11,79],[11,80],[11,81],[11,82],[11,83],[11,84],[11,85],[11,86],[11,87],[11,88],[11,89],[11,90],[11,91],[11,92],[11,93],[11,94],[11,95],[11,[[4,[74]]]],[11,75],[11,[[4,[76]]]],[11,77],[11,[[4,[78]]]],[11,79],[11,[[4,[80]]]],[11,81],[11,[[4,[82]]]],[11,83],[11,[[4,[84]]]],[11,85],[11,[[4,[86]]]],[11,87],[11,[[4,[88]]]],[11,89],[11,[[4,[90]]]],[11,91],[11,[[4,[92]]]],[11,93],[11,[[4,[94]]]],[11,95],[[74,21]],[[75,21]],[[76,21]],[[77,21]],[[78,21]],[[79,21]],[[80,21]],[[81,21]],[[82,21]],[[83,21]],[[84,21]],[[85,21]],[[86,21]],[[87,21]],[[88,21]],[[89,21]],[[90,21]],[[91,21]],[[92,21]],[[93,21]],[[94,21]],[[95,21]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[74,[[19,[75]]]],[76,[[19,[77]]]],[78,[[19,[79]]]],[80,[[19,[81]]]],[82,[[19,[83]]]],[84,[[19,[85]]]],[86,[[19,[87]]]],[88,[[19,[89]]]],[90,[[19,[91]]]],[92,[[19,[93]]]],[94,[[19,[95]]]],[74,[[10,[75]]]],[74,[[10,[75]]]],[75,[[10,[75]]]],[76,[[10,[77]]]],[76,[[10,[77]]]],[77,[[10,[77]]]],[78,[[10,[79]]]],[78,[[10,[79]]]],[79,[[10,[79]]]],[80,[[10,[81]]]],[80,[[10,[81]]]],[81,[[10,[81]]]],[82,[[10,[83]]]],[82,[[10,[83]]]],[83,[[10,[83]]]],[84,[[10,[85]]]],[84,[[10,[85]]]],[85,[[10,[85]]]],[86,[[10,[87]]]],[86,[[10,[87]]]],[87,[[10,[87]]]],[88,[[10,[89]]]],[88,[[10,[89]]]],[89,[[10,[89]]]],[90,[[10,[91]]]],[90,[[10,[91]]]],[91,[[10,[91]]]],[92,[[10,[93]]]],[92,[[10,[93]]]],[93,[[10,[93]]]],[94,[[10,[95]]]],[94,[[10,[95]]]],[95,[[10,[95]]]],[[[19,[75]]],74],[[[19,[77]]],76],[[[19,[79]]],78],[[[19,[81]]],80],[[[19,[83]]],82],[[[19,[85]]],84],[[[19,[87]]],86],[[[19,[89]]],88],[[[19,[91]]],90],[[[19,[93]]],92],[[[19,[95]]],94],0,[20,74],[20,76],[20,78],[20,80],[20,82],[20,84],[20,86],[20,88],[20,90],[20,92],[20,94],[[74,74],[[22,[14]]]],[[75,75],[[22,[14]]]],[[76,76],[[22,[14]]]],[[77,77],[[22,[14]]]],[[78,78],[[22,[14]]]],[[79,79],[[22,[14]]]],[[80,80],[[22,[14]]]],[[81,81],[[22,[14]]]],[[82,82],[[22,[14]]]],[[83,83],[[22,[14]]]],[[84,84],[[22,[14]]]],[[85,85],[[22,[14]]]],[[86,86],[[22,[14]]]],[[87,87],[[22,[14]]]],[[88,88],[[22,[14]]]],[[89,89],[[22,[14]]]],[[90,90],[[22,[14]]]],[[91,91],[[22,[14]]]],[[92,92],[[22,[14]]]],[[93,93],[[22,[14]]]],[[94,94],[[22,[14]]]],[[95,95],[[22,[14]]]],[[74,23],4],[[75,23],4],[[76,23],4],[[77,23],4],[[78,23],4],[[79,23],4],[[80,23],4],[[81,23],4],[[82,23],4],[[83,23],4],[[84,23],4],[[85,23],4],[[86,23],4],[[87,23],4],[[88,23],4],[[89,23],4],[[90,23],4],[[91,23],4],[[92,23],4],[[93,23],4],[[94,23],4],[[95,23],4],[[96,23],4],[[97,23],4],[[98,23],4],[[99,23],4],[[100,23],4],[[101,23],4],[[102,23],4],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[74,20],[76,20],[78,20],[80,20],[82,20],[84,20],[86,20],[88,20],[90,20],[92,20],[94,20],[[]],[75],[[]],[77],[[]],[79],[[]],[81],[[]],[83],[[]],[85],[[]],[87],[[]],[89],[[]],[91],[[]],[93],[[]],[95],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[104,[[4,[101]]]],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[75,75],[74,75],[76,77],[77,77],[78,79],[79,79],[80,81],[81,81],[83,83],[82,83],[85,85],[84,85],[86,87],[87,87],[89,89],[88,89],[90,91],[91,91],[92,93],[93,93],[95,95],[94,95],0,0,0,0,0,0,0,[1,[[29,[105]]]],[106,[[10,[106]]]],[105,106],[105,11],[106,11],[106,11],[105,11],[[]],[105,106],[106,11],[[]],[[]],[[]],[[]],[[]],[105,105],[[]],[106,11],[105],[15,[[4,[105]]]],[15,[[4,[106]]]],[[105,107],16],[[105,106],16],[[105,105],16],[[105,106],16],[[106,105],16],[[106,107],16],[[106,105],16],[[106,106],16],[[],16],[[],16],[[105,17],18],[[105,17],18],[[106,17],18],[[106,17],18],[[108,17],18],[[108,17],18],[[[10,[106]]],105],[106,105],[[[19,[106]]],105],[[]],[105,106],[[[10,[106]]],106],[109,108],[[]],[110,108],[111,108],[11,105],[11,106],[11,[[4,[105]]]],[11,[[4,[106,108]]]],[11,106],[[105,21]],[[106,21]],[106,11],[[]],[[]],[105,[[19,[106]]]],[105,[[10,[106]]]],[105,[[10,[106]]]],[106,[[10,[106]]]],[[[19,[106]]],105],[[106,112],16],[106,[[22,[11]]]],[106,11],[106,11],[20,[[4,[105,108]]]],[20,105],[106,[[4,[[10,[106]],108]]]],[[],105],[[105,107],[[22,[14]]]],[[105,105],[[22,[14]]]],[[106,106],[[22,[14]]]],[[106,107],[[22,[14]]]],[[106,105],[[22,[14]]]],[106,11],[[105,23],4],[[106,23],4],[108,[[22,[113]]]],[105,20],[106,105],[106,107],[[]],[106],[[],20],[[],20],[[],20],[106,107],[[],105],[11,[[4,[105]]]],[20,[[4,[105]]]],[107,[[4,[105]]]],[[],4],[11,[[4,[106]]]],[20,[[4,[106,108]]]],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[106,11],[106,106],[105,106],0,0,0,0,0,[[]],[[]],[114,114],[[]],[15,[[4,[114]]]],0,[[114,114],16],[[],16],[[114,17],18],[[]],0,[[]],0,0,[[114,23],4],[[]],[[],4],[[],4],[[],25]],"c":[],"p":[[3,"Unstructured"],[3,"UserId"],[4,"Error"],[4,"Result"],[3,"UserIdRef"],[3,"DisplayName"],[3,"DisplayNameRef"],[3,"Nickname"],[3,"NicknameRef"],[4,"Cow"],[15,"str"],[4,"BroadcasterType"],[4,"UserType"],[4,"Ordering"],[8,"Deserializer"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"Box"],[3,"String"],[8,"Hasher"],[4,"Option"],[8,"Serializer"],[15,"usize"],[3,"TypeId"],[4,"NamedUserColor"],[15,"slice"],[3,"HexColor"],[6,"Result"],[3,"HexColorRef"],[3,"EmoteUrlBuilder"],[3,"BadgeSetId"],[3,"BadgeSetIdRef"],[3,"ChatBadgeId"],[3,"ChatBadgeIdRef"],[3,"EmoteId"],[3,"EmoteIdRef"],[3,"EmoteSetId"],[3,"EmoteSetIdRef"],[4,"EmoteAnimationSetting"],[4,"EmoteThemeMode"],[4,"EmoteScale"],[3,"ResubscriptionEmote"],[3,"Image"],[3,"EventSubId"],[3,"EventSubIdRef"],[3,"CreatorGoalId"],[3,"CreatorGoalIdRef"],[4,"CreatorGoalType"],[3,"MsgId"],[3,"MsgIdRef"],[3,"BlockedTermId"],[3,"BlockedTermIdRef"],[4,"AutomodStatus"],[3,"RewardId"],[3,"RewardIdRef"],[3,"RedemptionId"],[3,"RedemptionIdRef"],[3,"PollId"],[3,"PollIdRef"],[3,"PollChoiceId"],[3,"PollChoiceIdRef"],[3,"PredictionId"],[3,"PredictionIdRef"],[3,"PredictionOutcomeId"],[3,"PredictionOutcomeIdRef"],[4,"Max"],[3,"GlobalCooldown"],[3,"PollChoice"],[4,"PollStatus"],[4,"PredictionStatus"],[3,"PredictionOutcome"],[3,"PredictionTopPredictors"],[3,"StreamId"],[3,"StreamIdRef"],[3,"CategoryId"],[3,"CategoryIdRef"],[3,"TagId"],[3,"TagIdRef"],[3,"TeamId"],[3,"TeamIdRef"],[3,"VideoId"],[3,"VideoIdRef"],[3,"ClipId"],[3,"ClipIdRef"],[3,"StreamSegmentId"],[3,"StreamSegmentIdRef"],[3,"HypeTrainId"],[3,"HypeTrainIdRef"],[3,"CharityCampaignId"],[3,"CharityCampaignIdRef"],[3,"CharityDonationId"],[3,"CharityDonationIdRef"],[3,"IgdbId"],[3,"IgdbIdRef"],[3,"TwitchCategory"],[4,"SubscriptionTier"],[4,"VideoPeriod"],[4,"VideoType"],[4,"VideoPrivacy"],[4,"CommercialLength"],[4,"ContentClassificationId"],[4,"CommercialLengthParseError"],[15,"u64"],[3,"Timestamp"],[3,"TimestampRef"],[3,"OffsetDateTime"],[4,"TimestampParseError"],[4,"Infallible"],[4,"Parse"],[4,"Format"],[8,"Sized"],[8,"Error"],[3,"User"],[8,"IntoCow"],[13,"MaxPerStream"],[13,"MaxPerUserPerStream"],[13,"InvalidFormat"]]}\ +"twitch_types":{"doc":"Twitch types","t":"NNEDDNIDDDDNNNNDDGGELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLLLLLLLLLLLKLLLLLLLLLLLLALLLLLLLLLLLLALLLLLLLLLLLLLLALLLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLALLLLLLNNNNNNNNNNDDNENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNDDDDNEDDEDDEDDNDNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLDDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLDDENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNEDDNNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNDNNENNNDDDDDEDDDDDEDDDNDDNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLMMMMNNDDDDDDDDEEENNNNDDDDNNNNNNNNNNNNNNNNNNNNDDDDEDDDDNNNDNDDEEENNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNDEDLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMMCDCLLLLLMLLLLMLMMLLLLL","n":["Admin","Affiliate","BroadcasterType","DisplayName","DisplayNameRef","GlobalMod","IntoCow","MsgId","MsgIdRef","Nickname","NicknameRef","None","None","Partner","Staff","UserId","UserIdRef","UserName","UserNameRef","UserType","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","color","default","default","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","emote","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","eventsub","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","goal","hash","hash","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","moderation","new","new","new","parse","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","points","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","stream","take","take","take","time","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","user","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","Blue","BlueViolet","CadetBlue","Chocolate","Coral","DodgerBlue","Firebrick","GoldenRod","Green","Hex","HexColor","HexColorRef","HotPink","NamedUserColor","OrangeRed","Red","SeaGreen","SpringGreen","YellowGreen","all","arbitrary","arbitrary","as_cow","as_hex","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","deref","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","serialize","size_hint","take","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","type_id","type_id","type_id","zero_from","zero_from","zero_from","Animated","BadgeSetId","BadgeSetIdRef","ChatBadgeId","ChatBadgeIdRef","Dark","EmoteAnimationSetting","EmoteId","EmoteIdRef","EmoteScale","EmoteSetId","EmoteSetIdRef","EmoteThemeMode","EmoteUrlBuilder","Image","Light","ResubscriptionEmote","Size1_0","Size2_0","Size3_0","Static","animation_animated","animation_default","animation_static","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","begin","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","dark_mode","default","default","default_render","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","end","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","hash","hash","hash","hash","hash","hash","hash","hash","id","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","light_mode","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","render","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_1x","size_2x","size_3x","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","url","url_1x","url_2x","url_4x","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","EventSubId","EventSubIdRef","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","cmp","cmp","deref","deserialize","deserialize","eq","eq","eq","eq","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","size_hint","size_hint","take","to_owned","to_owned","to_string","to_string","try_from","try_into","type_id","type_id","zero_from","zero_from","CreatorGoalId","CreatorGoalIdRef","CreatorGoalType","Follower","NewSubscription","NewSubscriptionCount","Subscription","SubscriptionCount","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","cmp","cmp","deref","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","hash","hash","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","new","partial_cmp","partial_cmp","serialize","serialize","serialize","size_hint","size_hint","take","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_into","try_into","type_id","type_id","type_id","zero_from","zero_from","Allowed","AutomodStatus","BlockedTermId","BlockedTermIdRef","Denied","Expired","MsgId","MsgIdRef","Pending","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","hash","hash","hash","hash","into","into","into","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","zero_from","zero_from","zero_from","zero_from","Active","Active","Archived","Canceled","Completed","GlobalCooldown","Invalid","Locked","Max","MaxPerStream","MaxPerUserPerStream","Moderated","PollChoice","PollChoiceId","PollChoiceIdRef","PollId","PollIdRef","PollStatus","PredictionId","PredictionIdRef","PredictionOutcome","PredictionOutcomeId","PredictionOutcomeIdRef","PredictionStatus","PredictionTopPredictors","RedemptionId","RedemptionIdRef","Resolved","RewardId","RewardIdRef","Terminated","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","as_str","as_str","bits_votes","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","channel_points","channel_points_used","channel_points_votes","channel_points_won","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","color","deref","deref","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","global_cooldown_seconds","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","id","id","id","into","into","into","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","is_enabled","login","name","new","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","take","take","title","title","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","top_predictors","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","users","votes","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","is_enabled","is_enabled","max_per_stream","max_per_user_per_stream","All","Archive","CategoryId","CategoryIdRef","CharityCampaignId","CharityCampaignIdRef","CharityDonationId","CharityDonationIdRef","ClipId","ClipIdRef","CommercialLength","CommercialLengthParseError","ContentClassificationId","Day","DrugsIntoxication","Gambling","Highlight","HypeTrainId","HypeTrainIdRef","IgdbId","IgdbIdRef","InvalidLength","Length120","Length150","Length180","Length30","Length60","Length90","Live","MatureGame","Month","Other","Other","Playlist","Premiere","Prime","Private","ProfanityVulgarity","Public","Rerun","SexualThemes","StreamId","StreamIdRef","StreamSegmentId","StreamSegmentIdRef","SubscriptionTier","TagId","TagIdRef","TeamId","TeamIdRef","Tier1","Tier2","Tier3","TwitchCategory","Upload","VideoId","VideoIdRef","VideoPeriod","VideoPrivacy","VideoType","ViolentGraphic","WatchParty","WatchPartyPremiere","WatchPartyRerun","Week","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","arbitrary_take_rest","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_cow","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_ref","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","box_art_url","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","cmp","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deref","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_static","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","from_str","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","hash","id","igdb_id","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_boxed_ref","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_cow","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","into_owned","name","new","new","new","new","new","new","new","new","new","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","size_hint","take","take","take","take","take","take","take","take","take","take","take","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","zero_from","InvalidFormat","Other","TimeError","TimeFormatError","Timestamp","TimestampParseError","TimestampRef","arbitrary","as_cow","as_ref","as_ref","as_ref","as_str","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone_into","day","deref","deserialize","deserialize","eq","eq","eq","eq","eq","eq","eq","eq","equivalent","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from_static","from_static","from_str","from_str","from_str_unchecked","hash","hash","hour","into","into","into_boxed_ref","into_cow","into_cow","into_cow","into_owned","is_before","millis","minute","month","new","new_unchecked","normalize","now","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","second","serialize","serialize","source","take","to_day","to_fixed_offset","to_owned","to_owned","to_string","to_string","to_string","to_utc","today","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","type_id","type_id","type_id","year","zero_from","zero_from","location","s","BroadcasterType","User","UserType","borrow","borrow_mut","clone","clone_into","deserialize","display_name","eq","equivalent","fmt","from","id","into","login","profile_image_url","serialize","to_owned","try_from","try_into","type_id"],"q":[[0,"twitch_types"],[297,"twitch_types::color"],[413,"twitch_types::emote"],[852,"twitch_types::eventsub"],[930,"twitch_types::goal"],[1029,"twitch_types::moderation"],[1205,"twitch_types::points"],[1815,"twitch_types::points::Max"],[1819,"twitch_types::stream"],[2842,"twitch_types::time"],[2953,"twitch_types::time::TimestampParseError"],[2955,"twitch_types::user"],[2977,"arbitrary::unstructured"],[2978,"arbitrary::error"],[2979,"core::result"],[2980,"alloc::borrow"],[2981,"core::cmp"],[2982,"serde::de"],[2983,"core::fmt"],[2984,"core::fmt"],[2985,"alloc::string"],[2986,"core::hash"],[2987,"core::option"],[2988,"serde::ser"],[2989,"core::any"],[2990,"arbitrary::error"],[2991,"time::error::format"],[2992,"core::convert"],[2993,"time::error::parse"],[2994,"core::marker"],[2995,"core::error"]],"d":["Admin","Affiliate","Broadcaster types: “partner”, “affiliate”, or “…","A users display name","A users display name","Global Moderator","Convert a type into a Cow","A message ID","A message ID","A nickname, not capitalized.","A nickname, not capitalized.","None","None","Partner","Staff","A user ID.","A user ID.","A username, also specified as login. Should not be …","A reference to a borrowed UserName, also specified as …","User types: “staff”, “admin”, “global_mod”, or …","","","","","","","","","","","","","Get a Cow<'_, UserIdRef>","Get a Cow<'_, DisplayNameRef>","Get a Cow<'_, NicknameRef>","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for colors","","","","","","","","","","","","","","types for emotes","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for eventsub related things","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newUserIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newDisplayNamefrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newNicknamefrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","types for goals","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this UserId into a Box<UserIdRef>","Converts this DisplayName into a Box<DisplayNameRef>","Converts this Nickname into a Box<NicknameRef>","Make the cow with proper ownership, muu","","","","","","","","","","Converts a Box<UserIdRef> into a UserId without copying or …","Converts a Box<DisplayNameRef> into a DisplayName without …","Converts a Box<NicknameRef> into a Nickname without …","types for moderation","Constructs a new UserId","Constructs a new DisplayName","Constructs a new Nickname","Parse a string into a UserType","","","","","","","","","types for points","","","","","","","","","","","","","","","types for stream related things","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","types for time","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","types for user related things","","","","","","","Blue","Blue Violet","Cadet Blue","Chocolate","Coral","Dodger Blue","Firebrick","Golden Rod","Green","A hex color","A color in hex","A color in hex","Hot Pink","Colors a user can have","Orange Red","Red","Sea Green","Spring Green","Yellow Green","All named colors","","","Get a Cow<'_, HexColorRef>","Return this color in hex","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","","Constructs a newHexColorfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Calls U::from(self).","Converts this HexColor into a Box<HexColorRef>","","","","Converts a Box<HexColorRef> into a HexColor without …","Constructs a new HexColor","","","","","","","Unwraps the underlying String value","","","","Creates a owned NamedUserColor<’static> from a borrowed …","","","","","","","","","","","","","","","Animated","A Badge set ID","A Badge set ID","A channel chat badge ID","A channel chat badge ID","Dark","Formats for an emote.","A chat Emote ID","A chat Emote ID","Scales available for an emote.","An Emote Set ID","An Emote Set ID","Background themes available for an emote.","Builder for emote URLs.","Links to the same image of different sizes","Light","An emote index as defined by eventsub, similar to IRC …","1.0","2.0","3.0","Static","Set animation mode to animate","Set animation mode to default","Set animation mode to static","","","","","","","","","","","","","","","","","Get a Cow<'_, BadgeSetIdRef>","Get a Cow<'_, ChatBadgeIdRef>","Get a Cow<'_, EmoteIdRef>","Get a Cow<'_, EmoteSetIdRef>","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","The index of where the Emote starts in the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Set theme to dark mode","","","Generates url for this emote.","","","","","","","","","","","","","","","","","","The index of where the Emote ends in the text.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newBadgeSetIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newChatBadgeIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newEmoteIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newEmoteSetIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","","","","","The emote ID.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this BadgeSetId into a Box<BadgeSetIdRef>","Converts this ChatBadgeId into a Box<ChatBadgeIdRef>","Converts this EmoteId into a Box<EmoteIdRef>","Converts this EmoteSetId into a Box<EmoteSetIdRef>","","","","","","","","","","","","","Converts a Box<BadgeSetIdRef> into a BadgeSetId without …","Converts a Box<ChatBadgeIdRef> into a ChatBadgeId without …","Converts a Box<EmoteIdRef> into a EmoteId without copying …","Converts a Box<EmoteSetIdRef> into a EmoteSetId without …","Set theme to light mode","Constructs a new BadgeSetId","Constructs a new ChatBadgeId","Constructs a new EmoteId","Construct a new EmoteUrlBuilder from a EmoteId","Constructs a new EmoteSetId","","","","","","","","","Create the URL for this emote.","","","","","","","","","","","","","","Set size to 1.0","Set size to 2.0","Set size to 3.0","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Create a EmoteUrlBuilder for this emote","URL to png of size 28x28","URL to png of size 56x56","URL to png of size 112x112","","","","","","","","","An EventSub Subscription ID","An EventSub Subscription ID","","","","","Get a Cow<'_, EventSubIdRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Constructs a newEventSubIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Converts this EventSubId into a Box<EventSubIdRef>","","","","Converts a Box<EventSubIdRef> into a EventSubId without …","Constructs a new EventSubId","","","","","","","Unwraps the underlying String value","","","","","","","","","","","A Creator Goal ID","A Creator Goal ID","Type of creator goal","The goal is to increase followers.","The goal is to increase subscriptions. This type shows …","The goal is to increase subscriptions. This type shows …","The goal is to increase subscriptions. This type shows the …","The goal is to increase subscriptions. This type shows the …","","","","","Get a Cow<'_, CreatorGoalIdRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","Constructs a newCreatorGoalIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","","Calls U::from(self).","Calls U::from(self).","Converts this CreatorGoalId into a Box<CreatorGoalIdRef>","","","","Converts a Box<CreatorGoalIdRef> into a CreatorGoalId …","Constructs a new CreatorGoalId","","","","","","","","Unwraps the underlying String value","","","","","","","","","","","","","","","Message has been allowed","Status of a message that is or was in AutoMod queue","A blocked term ID","A blocked term ID","Message has been denied","Automod message expired in queue","A message ID","A message ID","Message has been caught and pending moderation","","","","","","","","","Get a Cow<'_, MsgIdRef>","Get a Cow<'_, BlockedTermIdRef>","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","Constructs a newMsgIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newBlockedTermIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this MsgId into a Box<MsgIdRef>","Converts this BlockedTermId into a Box<BlockedTermIdRef>","","","","","","","Converts a Box<MsgIdRef> into a MsgId without copying or …","Converts a Box<BlockedTermIdRef> into a BlockedTermId …","Constructs a new MsgId","Constructs a new BlockedTermId","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","Poll is currently in progress.","The Prediction is active and viewers can make predictions.","Poll is no longer visible on the channel.","The Prediction has been canceled and the Channel Points …","Poll has reached its ended_at time.","Information about global cooldown","Something went wrong determining the state.","The Prediction has been locked and viewers can no longer …","Reward redemption max","Max per stream","Max per user per stream","Poll is no longer visible to any user on Twitch.","Poll choice","A poll choice ID","A poll choice ID","A poll ID","A poll ID","Status of a poll","A prediction ID","A prediction ID","Outcome for the Prediction","A prediction choice ID","A prediction choice ID","Status of the Prediction","Users who were the top predictors.","A reward redemption ID.","A reward redemption ID.","A winning outcome has been chosen and the Channel Points …","A reward ID.","A reward ID.","Poll has been manually terminated before its ended_at time.","","","","","","","","","","","","","","","","","","","","","","","","","Get a Cow<'_, RewardIdRef>","Get a Cow<'_, RedemptionIdRef>","Get a Cow<'_, PollIdRef>","Get a Cow<'_, PollChoiceIdRef>","Get a Cow<'_, PredictionIdRef>","Get a Cow<'_, PredictionOutcomeIdRef>","","","","","","","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Number of votes received via Bits.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Number of Channel Points used for the outcome.","Number of Channel Points used by the user.","Number of votes received via Channel Points.","Number of Channel Points won by the user.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Color for the outcome. Valid values: BLUE, PINK","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newRewardIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newRedemptionIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPollIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPollChoiceIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPredictionIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newPredictionOutcomeIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","Cooldown amount","","","","","","","","","","","","","ID for the choice.","ID for the outcome.","ID of the user.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this RewardId into a Box<RewardIdRef>","Converts this RedemptionId into a Box<RedemptionIdRef>","Converts this PollId into a Box<PollIdRef>","Converts this PollChoiceId into a Box<PollChoiceIdRef>","Converts this PredictionId into a Box<PredictionIdRef>","Converts this PredictionOutcomeId into a …","","","","","","","","","","","","","","","","","","","Converts a Box<RewardIdRef> into a RewardId without …","Converts a Box<RedemptionIdRef> into a RedemptionId …","Converts a Box<PollIdRef> into a PollId without copying or …","Converts a Box<PollChoiceIdRef> into a PollChoiceId …","Converts a Box<PredictionIdRef> into a PredictionId …","Converts a Box<PredictionOutcomeIdRef> into a …","Cooldown enabled","Login of the user.","Display name of the user.","Constructs a new RewardId","Constructs a new RedemptionId","Constructs a new PollId","Constructs a new PollChoiceId","Constructs a new PredictionId","Constructs a new PredictionOutcomeId","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Text displayed for the choice.","Text displayed for outcome.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Array of users who were the top predictors. null if none. …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Number of unique users that chose the outcome.","Total number of votes received for the choice across all …","","","","","","","","","","","","","Max per stream is enabled","Max per user per stream is enabled","Max amount of redemptions per stream","Max amount of redemptions per user per stream","Filter by all. Effectively a no-op","An archived video","A game or category ID","A game or category ID","A Charity Campaign ID","A Charity Campaign ID","A Charity Donation ID","A Charity Donation ID","A clip ID","A clip ID","Length of the commercial in seconds","Error for the TryFrom on CommercialLength","IDs for content classification labels also known as CCLs","Filter by from this day only","Drugs, Intoxication, or Excessive Tobacco Use","Gambling","A highlight","A Hype Train ID","A Hype Train ID","A IGDB ID","A IGDB ID","invalid length of {0}","120s","150s","180s","30s","60s","90s","A live video","Mature-rated game","Filter by this month","Other","Other","A playlist video","A premiere","Prime subscription","Video is private","Significant Profanity or Vulgarity","Video is public","A rerun","Sexual Themes","A Stream ID","A Stream ID","A Stream Segment ID.","A Stream Segment ID.","Subscription tiers","A tag ID","A tag ID","A Team ID","A Team ID","Tier 1. $4.99","Tier 1. $9.99","Tier 1. $24.99","A game or category as defined by Twitch","A uploaded video","A video ID","A video ID","Period during which the video was created","Type of video","Type of video","Violent and Graphic Depictions","A watch party","A watchparty premiere,","A watchparty rerun","Filter by this week","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Get a Cow<'_, StreamIdRef>","Get a Cow<'_, CategoryIdRef>","Get a Cow<'_, TagIdRef>","Get a Cow<'_, TeamIdRef>","Get a Cow<'_, VideoIdRef>","Get a Cow<'_, ClipIdRef>","Get a Cow<'_, StreamSegmentIdRef>","Get a Cow<'_, HypeTrainIdRef>","Get a Cow<'_, CharityCampaignIdRef>","Get a Cow<'_, CharityDonationIdRef>","Get a Cow<'_, IgdbIdRef>","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","Provides access to the underlying value as a string slice.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Template URL for the game’s box art.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","","","","Returns the argument unchanged.","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Constructs a newStreamIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCategoryIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newTagIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newTeamIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newVideoIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newClipIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newStreamSegmentIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newHypeTrainIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCharityCampaignIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newCharityDonationIdfrom a static reference","Transparently reinterprets the static string slice as a …","Constructs a newIgdbIdfrom a static reference","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","Transparently reinterprets the string slice as a …","","","","","","","","","","","","","","","","","","","","","","","Game or category ID.","The ID that IGDB uses to identify this game.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Converts this StreamId into a Box<StreamIdRef>","Converts this CategoryId into a Box<CategoryIdRef>","Converts this TagId into a Box<TagIdRef>","Converts this TeamId into a Box<TeamIdRef>","Converts this VideoId into a Box<VideoIdRef>","Converts this ClipId into a Box<ClipIdRef>","Converts this StreamSegmentId into a …","Converts this HypeTrainId into a Box<HypeTrainIdRef>","Converts this CharityCampaignId into a …","Converts this CharityDonationId into a …","Converts this IgdbId into a Box<IgdbIdRef>","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Converts a Box<StreamIdRef> into a StreamId without …","Converts a Box<CategoryIdRef> into a CategoryId without …","Converts a Box<TagIdRef> into a TagId without copying or …","Converts a Box<TeamIdRef> into a TeamId without copying or …","Converts a Box<VideoIdRef> into a VideoId without copying …","Converts a Box<ClipIdRef> into a ClipId without copying or …","Converts a Box<StreamSegmentIdRef> into a StreamSegmentId …","Converts a Box<HypeTrainIdRef> into a HypeTrainId without …","Converts a Box<CharityCampaignIdRef> into a …","Converts a Box<CharityDonationIdRef> into a …","Converts a Box<IgdbIdRef> into a IgdbId without copying or …","Game name.","Constructs a new StreamId","Constructs a new CategoryId","Constructs a new TagId","Constructs a new TeamId","Constructs a new VideoId","Constructs a new ClipId","Constructs a new StreamSegmentId","Constructs a new HypeTrainId","Constructs a new CharityCampaignId","Constructs a new CharityDonationId","Constructs a new IgdbId","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","Unwraps the underlying String value","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Timestamp has an invalid format.","Other error","Could not parse the timestamp using time","Could not format the timestamp using time","RFC3339 timestamp","Errors that can occur when parsing a timestamp.","RFC3339 timestamp","","Get a Cow<'_, TimestampRef>","","","","Provides access to the underlying value as a string slice.","","","","","","","","","","","","Get the day","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","","","","Constructs a new Timestamp from a static reference if it …","Transparently reinterprets the static string slice as a …","","Transparently reinterprets the string slice as a …","Transparently reinterprets the string slice as a …","","","Get the hour","Calls U::from(self).","Calls U::from(self).","Converts this Timestamp into a Box<TimestampRef>","","","","Converts a Box<TimestampRef> into a Timestamp without …","Compare another time and return self < other.","Get the millis","Get the minute","Get the month","Constructs a new Timestamp if it conforms to Timestamp","Constructs a new Timestamp without validation","Normalize the timestamp into UTC time.","Create a timestamp corresponding to current time","","","","","","Get the second","","","","Unwraps the underlying String value","Make a timestamp with the time component set to 00:00:00.","Construct into a OffsetDateTime time.","","","","","","Construct into a OffsetDateTime time with a guaranteed UTC …","Create a timestamp corresponding to the start of the …","","","","","","","","","","","","","Get the year","","","location of error","Thing that failed","","A user according to many endpoints","","","","","","","Display name of user","","","","Returns the argument unchanged.","ID of the user","Calls U::from(self).","Login name of the user, not capitalized","URL of the user’s profile","","","","",""],"i":[13,12,0,0,0,13,0,0,0,0,0,12,13,12,13,0,0,0,0,0,2,5,6,7,8,9,2,5,6,7,8,9,5,7,9,2,2,5,6,6,7,8,8,9,5,7,9,2,2,2,5,5,6,6,6,7,7,8,8,8,9,9,12,13,2,5,6,7,8,9,12,13,2,6,8,12,13,2,6,8,12,13,2,5,6,7,8,9,12,13,0,12,13,2,6,8,2,5,6,7,8,9,12,13,0,2,2,2,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,12,13,2,5,6,7,8,9,12,13,0,2,2,5,5,6,6,7,7,8,8,9,9,12,13,2,2,2,2,2,2,2,5,5,5,5,6,6,6,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,9,9,9,9,12,13,2,5,6,7,8,9,2,5,6,7,8,9,0,2,5,6,7,8,9,12,13,2,6,8,12,13,2,6,8,115,2,2,5,6,6,7,8,8,9,5,7,9,0,2,6,8,13,2,5,6,7,8,9,12,13,0,2,5,6,7,8,9,12,13,2,5,6,7,8,9,0,2,6,8,0,2,5,6,7,8,9,12,13,2,5,6,7,8,9,2,6,8,12,13,2,6,8,12,13,2,5,6,7,8,9,12,13,0,5,5,7,7,9,9,26,26,26,26,26,26,26,26,26,26,0,0,26,0,26,26,26,26,26,26,28,26,30,26,28,28,30,30,28,28,28,30,30,26,28,30,26,28,26,28,26,28,30,28,28,30,26,28,28,28,30,30,30,26,28,30,26,28,28,30,30,26,26,28,28,28,28,28,28,28,30,30,30,30,26,26,26,28,30,28,30,28,30,28,26,28,28,28,30,30,28,28,30,28,30,26,26,28,28,30,26,26,28,30,26,28,26,26,28,26,28,30,26,30,30,26,40,0,0,0,0,41,0,0,0,0,0,0,0,0,0,41,0,42,42,42,40,31,31,31,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,33,35,37,39,32,32,33,34,34,35,36,36,37,38,38,39,33,35,37,39,43,32,32,32,33,33,34,34,34,35,35,36,36,36,37,37,40,41,42,31,38,38,38,39,39,43,44,32,33,34,35,36,37,40,41,42,31,38,39,43,44,32,34,36,40,41,42,31,38,43,44,32,34,36,40,41,42,31,38,43,44,32,33,34,35,36,37,38,39,31,41,42,37,32,34,36,38,32,33,34,35,36,37,40,41,42,38,39,43,44,43,32,32,32,33,33,33,34,34,34,35,35,35,36,36,36,37,37,37,40,41,42,38,38,38,39,39,39,43,44,32,33,34,35,36,37,40,41,42,38,39,43,44,32,32,33,33,34,34,35,35,36,36,37,37,40,40,41,41,42,42,31,38,38,39,39,43,43,44,32,32,32,32,32,32,32,33,33,33,33,34,34,34,34,34,34,34,35,35,35,35,36,36,36,36,36,36,36,37,37,37,37,40,41,42,31,38,38,38,38,38,38,38,39,39,39,39,43,44,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,32,33,34,35,36,37,38,39,43,32,34,36,40,41,42,31,38,43,44,32,34,36,38,32,32,33,34,34,35,36,36,37,38,38,39,33,35,37,39,31,32,34,36,31,38,32,33,34,35,36,37,38,39,31,32,33,34,35,36,37,40,41,42,38,39,43,44,31,31,31,32,33,34,35,36,37,38,39,32,34,36,38,32,33,34,35,36,37,40,41,42,31,38,39,43,44,32,33,34,35,36,37,40,41,42,38,39,43,32,34,36,40,41,42,31,38,43,44,32,34,36,40,41,42,31,38,43,44,32,33,34,35,36,37,40,41,42,31,38,39,43,44,37,44,44,44,33,33,35,35,37,37,39,39,0,0,45,46,45,46,46,45,45,46,46,45,45,45,46,46,45,46,45,45,45,46,45,45,46,45,45,45,46,46,46,45,46,45,45,46,46,45,45,45,45,45,45,45,46,46,46,46,45,46,45,46,45,46,45,45,45,45,46,46,45,45,46,45,46,45,46,45,45,46,45,46,45,45,45,46,46,46,0,0,0,49,49,49,49,49,47,48,47,48,48,47,47,48,48,47,47,47,48,48,49,47,48,49,47,49,47,49,47,48,47,47,48,49,47,47,47,48,48,48,49,47,48,49,47,47,48,48,49,47,47,47,47,47,47,47,48,48,48,48,49,47,48,47,48,47,48,47,49,47,47,47,48,48,47,47,48,47,48,49,47,48,47,47,48,49,47,48,47,49,47,49,47,48,49,48,48,54,0,0,0,54,54,0,0,54,50,51,52,53,50,51,52,53,51,53,50,50,51,52,52,53,51,53,50,50,50,51,51,52,52,52,53,53,54,50,51,52,53,54,50,52,54,50,52,54,50,51,52,53,50,52,50,51,52,53,54,50,50,50,51,51,51,52,52,52,53,53,53,54,50,51,52,53,54,50,50,51,51,52,52,53,53,54,50,50,50,50,50,50,50,51,51,51,51,52,52,52,52,52,52,52,53,53,53,53,54,50,51,52,53,50,51,52,53,50,51,52,53,50,52,54,50,52,50,50,51,52,52,53,51,53,50,52,50,51,52,53,50,51,52,53,54,50,51,52,53,50,52,50,51,52,53,54,50,51,52,53,50,52,54,50,52,54,50,51,52,53,54,51,51,53,53,70,71,70,71,70,0,70,71,0,67,67,70,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71,0,0,70,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,56,58,60,62,64,66,55,55,56,57,57,58,59,59,60,61,61,62,63,63,64,65,65,66,56,58,60,62,64,66,69,55,55,55,56,56,57,57,57,58,58,59,59,59,60,60,61,61,61,62,62,63,63,63,64,64,65,65,65,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,72,73,69,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,72,55,57,59,61,63,65,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,55,55,56,56,56,57,57,57,58,58,58,59,59,59,60,60,60,61,61,61,62,62,62,63,63,63,64,64,64,65,65,65,66,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,55,56,56,57,57,58,58,59,59,60,60,61,61,62,62,63,63,64,64,65,65,66,66,67,68,69,70,71,72,73,55,55,55,55,55,55,55,56,56,56,56,57,57,57,57,57,57,57,58,58,58,58,59,59,59,59,59,59,59,60,60,60,60,61,61,61,61,61,61,61,62,62,62,62,63,63,63,63,63,63,63,64,64,64,64,65,65,65,65,65,65,65,66,66,66,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,68,55,56,57,58,59,60,61,62,63,64,65,66,69,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,55,55,56,57,57,58,59,59,60,61,61,62,63,63,64,65,65,66,56,58,60,62,64,66,68,73,73,55,57,59,61,63,65,55,56,57,58,59,60,61,62,63,64,65,66,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,55,57,59,61,63,65,69,72,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,72,55,57,59,61,63,65,67,68,69,70,71,72,73,55,57,59,61,63,65,67,68,69,70,71,72,73,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,72,69,56,56,58,58,60,60,62,62,64,64,66,66,116,117,116,117,98,99,0,0,0,0,0,0,0,0,0,0,0,98,102,102,99,0,0,0,0,103,101,101,101,101,101,101,99,102,98,97,102,99,99,97,100,102,100,99,102,0,0,0,0,0,0,0,0,0,97,97,97,0,99,0,0,0,0,0,102,99,99,99,98,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,75,77,79,81,83,85,87,89,91,93,95,74,74,75,76,76,77,78,78,79,80,80,81,82,82,83,84,84,85,86,86,87,88,88,89,90,90,91,92,92,93,94,94,95,75,77,79,81,83,85,87,89,91,93,95,74,74,74,75,75,76,76,76,77,77,78,78,78,79,79,80,80,80,81,81,82,82,82,83,83,84,84,84,85,85,86,86,86,87,87,88,88,88,89,89,90,90,90,91,91,92,92,92,93,93,94,94,94,95,95,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,96,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,102,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,74,74,75,75,75,76,76,76,77,77,77,78,78,78,79,79,79,80,80,80,81,81,81,82,82,82,83,83,83,84,84,84,85,85,85,86,86,86,87,87,87,88,88,88,89,89,89,90,90,90,91,91,91,92,92,92,93,93,93,94,94,94,95,95,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,74,75,75,76,76,77,77,78,78,79,79,80,80,81,81,82,82,83,83,84,84,85,85,86,86,87,87,88,88,89,89,90,90,91,91,92,92,93,93,94,94,95,95,96,97,98,99,100,101,101,103,103,102,74,74,74,74,74,74,74,75,75,75,75,76,76,76,76,76,76,76,77,77,77,77,78,78,78,78,78,78,78,79,79,79,79,80,80,80,80,80,80,80,81,81,81,81,82,82,82,82,82,82,82,83,83,83,83,84,84,84,84,84,84,84,85,85,85,85,86,86,86,86,86,86,86,87,87,87,87,88,88,88,88,88,88,88,89,89,89,89,90,90,90,90,90,90,90,91,91,91,91,92,92,92,92,92,92,92,93,93,93,93,94,94,94,94,94,94,94,95,95,95,95,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,96,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,103,102,74,76,78,80,82,84,86,88,90,92,94,74,74,75,76,76,77,78,78,79,80,80,81,82,82,83,84,84,85,86,86,87,88,88,89,90,90,91,92,92,93,94,94,95,75,77,79,81,83,85,87,89,91,93,95,96,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,74,76,78,80,82,84,86,88,90,92,94,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,101,103,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,101,103,102,74,76,78,80,82,84,86,88,90,92,94,96,97,98,99,100,101,103,102,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,103,102,75,75,77,77,79,79,81,81,83,83,85,85,87,87,89,89,91,91,93,93,95,95,108,108,108,108,0,0,0,105,106,105,105,106,106,105,105,105,106,106,108,105,106,108,105,105,106,105,105,106,105,105,105,105,106,106,106,106,105,106,105,105,106,106,108,108,105,105,105,105,106,106,108,108,108,108,105,106,105,106,106,105,106,106,105,108,105,105,105,106,106,106,106,106,106,105,105,106,105,105,105,106,106,106,106,105,106,108,105,106,106,105,106,105,106,108,106,105,105,105,105,105,106,106,108,105,108,105,106,108,106,106,106,118,118,0,0,0,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114,114],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[2,3]]]],[1,[[4,[5,3]]]],[1,[[4,[6,3]]]],[1,[[4,[7,3]]]],[1,[[4,[8,3]]]],[1,[[4,[9,3]]]],[1,[[4,[2,3]]]],[1,[[4,[5,3]]]],[1,[[4,[6,3]]]],[1,[[4,[7,3]]]],[1,[[4,[8,3]]]],[1,[[4,[9,3]]]],[5,[[10,[5]]]],[7,[[10,[7]]]],[9,[[10,[9]]]],[2,11],[2,5],[5,11],[6,7],[6,11],[7,11],[8,9],[8,11],[9,11],[5,11],[7,11],[9,11],[2,11],[[]],[2,5],[[]],[5,11],[6,7],[6,11],[[]],[[]],[7,11],[[]],[8,11],[8,9],[[]],[9,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[2,2],[6,6],[8,8],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[2,2],14],[[5,5],14],[[6,6],14],[[7,7],14],[[8,8],14],[[9,9],14],[[12,12],14],[[13,13],14],0,[[],12],[[],13],[2],[6],[8],[15,[[4,[2]]]],[15,[[4,[5]]]],[15,[[4,[6]]]],[15,[[4,[7]]]],[15,[[4,[8]]]],[15,[[4,[9]]]],[15,[[4,[12]]]],[15,[[4,[13]]]],0,[[2,2],16],[[2,5],16],[[2,5],16],[[5,2],16],[[5,2],16],[[5,5],16],[[6,7],16],[[6,7],16],[[6,6],16],[[7,6],16],[[7,7],16],[[7,6],16],[[8,9],16],[[8,9],16],[[8,8],16],[[9,9],16],[[9,8],16],[[9,8],16],[[12,12],16],[[13,13],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],0,[[2,17],18],[[2,17],18],[[5,17],18],[[5,17],18],[[6,17],18],[[6,17],18],[[7,17],18],[[7,17],18],[[8,17],18],[[8,17],18],[[9,17],18],[[9,17],18],[[12,17],18],[[13,17],18],[[[19,[5]]],2],[[]],[5,2],[11,2],[20,2],[[[10,[5]]],2],[[[19,[11]]],2],[11,5],[20,5],[2,5],[[[10,[5]]],5],[7,6],[[[19,[11]]],6],[[]],[[[19,[7]]],6],[20,6],[[[10,[7]]],6],[11,6],[11,7],[20,7],[[[10,[7]]],7],[6,7],[20,8],[[[19,[9]]],8],[9,8],[11,8],[[[10,[9]]],8],[[[19,[11]]],8],[[]],[20,9],[8,9],[[[10,[9]]],9],[11,9],[[]],[[]],[11,2],[11,5],[11,6],[11,7],[11,8],[11,9],[11,[[4,[2]]]],[11,5],[11,[[4,[6]]]],[11,7],[11,[[4,[8]]]],[11,9],0,[[2,21]],[[5,21]],[[6,21]],[[7,21]],[[8,21]],[[9,21]],[[12,21]],[[13,21]],[[]],[[]],[[]],[[]],[[]],[2,[[19,[5]]]],[6,[[19,[7]]]],[8,[[19,[9]]]],[[],10],[2,[[10,[5]]]],[2,[[10,[5]]]],[5,[[10,[5]]]],[6,[[10,[7]]]],[6,[[10,[7]]]],[7,[[10,[7]]]],[8,[[10,[9]]]],[8,[[10,[9]]]],[9,[[10,[9]]]],[[[19,[5]]],2],[[[19,[7]]],6],[[[19,[9]]],8],0,[20,2],[20,6],[20,8],[11,13],[[2,2],[[22,[14]]]],[[5,5],[[22,[14]]]],[[6,6],[[22,[14]]]],[[7,7],[[22,[14]]]],[[8,8],[[22,[14]]]],[[9,9],[[22,[14]]]],[[12,12],[[22,[14]]]],[[13,13],[[22,[14]]]],0,[[2,23],4],[[5,23],4],[[6,23],4],[[7,23],4],[[8,23],4],[[9,23],4],[[12,23],4],[[13,23],4],[24],[24],[24],[24],[24],[24],0,[2,20],[6,20],[8,20],0,[[]],[5],[[]],[7],[[]],[9],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],0,[2,5],[5,5],[6,7],[7,7],[8,9],[9,9],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],[[27,[26]]]],[1,[[29,[28]]]],[1,[[29,[26]]]],[30,[[10,[30]]]],[26,30],[28,30],[28,11],[30,11],[30,11],[[]],[28,30],[28,11],[30,11],[[]],[[]],[[]],[[]],[[]],[28,28],[26,26],[[]],[[]],[[28,28],14],[[30,30],14],[28],[15,[[4,[28]]]],[15,[[4,[30]]]],[15,[[4,[26]]]],[[28,30],16],[[28,28],16],[[28,30],16],[[30,30],16],[[30,28],16],[[30,28],16],[[26,26],16],[[],16],[[],16],[[],16],[[28,17],18],[[28,17],18],[[30,17],18],[[30,17],18],[[26,17],18],[[26,17],18],[[[19,[30]]],28],[[]],[[[10,[30]]],28],[11,28],[30,28],[[[19,[11]]],28],[20,28],[11,30],[20,30],[28,30],[[[10,[30]]],30],[[[10,[30]]],26],[[]],[28,26],[11,28],[11,30],[11,[[4,[28]]]],[11,30],[[28,21]],[[30,21]],[[]],[[]],[28,[[19,[30]]]],[28,[[10,[30]]]],[28,[[10,[30]]]],[30,[[10,[30]]]],[[[19,[30]]],28],[20,28],[[28,28],[[22,[14]]]],[[30,30],[[22,[14]]]],[[28,23],4],[[30,23],4],[[26,23],4],[24],[28,20],[[]],[30],[[]],[26,26],[[],20],[[],20],[[],20],[[],4],[[],4],[11,[[4,[26]]]],[[],4],[[],4],[[],25],[[],25],[[],25],[28,30],[30,30],[26,26],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[31,31],[31,31],[31,31],[1,[[4,[32,3]]]],[1,[[4,[33,3]]]],[1,[[4,[34,3]]]],[1,[[4,[35,3]]]],[1,[[4,[36,3]]]],[1,[[4,[37,3]]]],[1,[[4,[38,3]]]],[1,[[4,[39,3]]]],[1,[[4,[32,3]]]],[1,[[4,[33,3]]]],[1,[[4,[34,3]]]],[1,[[4,[35,3]]]],[1,[[4,[36,3]]]],[1,[[4,[37,3]]]],[1,[[4,[38,3]]]],[1,[[4,[39,3]]]],[33,[[10,[33]]]],[35,[[10,[35]]]],[37,[[10,[37]]]],[39,[[10,[39]]]],[32,11],[32,33],[33,11],[34,11],[34,35],[35,11],[36,37],[36,11],[37,11],[38,39],[38,11],[39,11],[33,11],[35,11],[37,11],[39,11],0,[32,11],[[]],[32,33],[33,11],[[]],[[]],[34,35],[34,11],[[]],[35,11],[[]],[36,11],[36,37],[[]],[37,11],[[]],[[]],[[]],[[]],[[]],[38,11],[38,39],[39,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[32,32],[34,34],[36,36],[40,40],[41,41],[42,42],[31,31],[38,38],[43,43],[44,44],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[32,32],14],[[33,33],14],[[34,34],14],[[35,35],14],[[36,36],14],[[37,37],14],[[38,38],14],[[39,39],14],[31,31],[[],41],[[],42],[37,20],[32],[34],[36],[38],[15,[[4,[32]]]],[15,[[4,[33]]]],[15,[[4,[34]]]],[15,[[4,[35]]]],[15,[[4,[36]]]],[15,[[4,[37]]]],[15,[[4,[40]]]],[15,[[4,[41]]]],[15,[[4,[42]]]],[15,[[4,[38]]]],[15,[[4,[39]]]],[15,[[4,[43]]]],[15,[[4,[44]]]],0,[[32,33],16],[[32,33],16],[[32,32],16],[[33,32],16],[[33,33],16],[[33,32],16],[[34,35],16],[[34,35],16],[[34,34],16],[[35,35],16],[[35,34],16],[[35,34],16],[[36,36],16],[[36,37],16],[[36,37],16],[[37,37],16],[[37,36],16],[[37,36],16],[[40,40],16],[[41,41],16],[[42,42],16],[[38,39],16],[[38,39],16],[[38,38],16],[[39,38],16],[[39,39],16],[[39,38],16],[[43,43],16],[[44,44],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[32,17],18],[[32,17],18],[[33,17],18],[[33,17],18],[[34,17],18],[[34,17],18],[[35,17],18],[[35,17],18],[[36,17],18],[[36,17],18],[[37,17],18],[[37,17],18],[[40,17],18],[[40,17],18],[[41,17],18],[[41,17],18],[[42,17],18],[[42,17],18],[[31,17],18],[[38,17],18],[[38,17],18],[[39,17],18],[[39,17],18],[[43,17],18],[[43,17],18],[[44,17],18],[[[19,[11]]],32],[20,32],[11,32],[[[19,[33]]],32],[[[10,[33]]],32],[[]],[33,32],[[[10,[33]]],33],[20,33],[32,33],[11,33],[[[10,[35]]],34],[[[19,[11]]],34],[11,34],[[]],[[[19,[35]]],34],[20,34],[35,34],[34,35],[[[10,[35]]],35],[20,35],[11,35],[37,36],[[[10,[37]]],36],[[]],[[[19,[37]]],36],[[[19,[11]]],36],[20,36],[11,36],[[[10,[37]]],37],[20,37],[11,37],[36,37],[[]],[[]],[[]],[[]],[39,38],[[[10,[39]]],38],[[]],[11,38],[[[19,[39]]],38],[[[19,[11]]],38],[20,38],[11,39],[38,39],[20,39],[[[10,[39]]],39],[[]],[[]],[11,32],[11,33],[11,34],[11,35],[11,36],[11,37],[11,38],[11,39],[11,[[4,[32]]]],[11,33],[11,[[4,[34]]]],[11,35],[11,[[4,[36]]]],[11,37],[11,[[4,[38]]]],[11,39],[[32,21]],[[33,21]],[[34,21]],[[35,21]],[[36,21]],[[37,21]],[[38,21]],[[39,21]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[32,[[19,[33]]]],[34,[[19,[35]]]],[36,[[19,[37]]]],[38,[[19,[39]]]],[32,[[10,[33]]]],[32,[[10,[33]]]],[33,[[10,[33]]]],[34,[[10,[35]]]],[34,[[10,[35]]]],[35,[[10,[35]]]],[36,[[10,[37]]]],[36,[[10,[37]]]],[37,[[10,[37]]]],[38,[[10,[39]]]],[38,[[10,[39]]]],[39,[[10,[39]]]],[[[19,[33]]],32],[[[19,[35]]],34],[[[19,[37]]],36],[[[19,[39]]],38],[31,31],[20,32],[20,34],[20,36],[37,31],[20,38],[[32,32],[[22,[14]]]],[[33,33],[[22,[14]]]],[[34,34],[[22,[14]]]],[[35,35],[[22,[14]]]],[[36,36],[[22,[14]]]],[[37,37],[[22,[14]]]],[[38,38],[[22,[14]]]],[[39,39],[[22,[14]]]],[31,20],[[32,23],4],[[33,23],4],[[34,23],4],[[35,23],4],[[36,23],4],[[37,23],4],[[40,23],4],[[41,23],4],[[42,23],4],[[38,23],4],[[39,23],4],[[43,23],4],[[44,23],4],[31,31],[31,31],[31,31],[24],[24],[24],[24],[24],[24],[24],[24],[32,20],[34,20],[36,20],[38,20],[[]],[33],[[]],[35],[[]],[37],[[]],[[]],[[]],[[]],[[]],[39],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[37,31],0,0,0,[32,33],[33,33],[35,35],[34,35],[36,37],[37,37],[39,39],[38,39],0,0,[1,[[4,[45,3]]]],[1,[[4,[46,3]]]],[1,[[4,[45,3]]]],[1,[[4,[46,3]]]],[46,[[10,[46]]]],[45,46],[45,11],[46,11],[46,11],[45,11],[45,46],[[]],[46,11],[[]],[[]],[[]],[45,45],[[]],[[45,45],14],[[46,46],14],[45],[15,[[4,[45]]]],[15,[[4,[46]]]],[[45,46],16],[[45,46],16],[[45,45],16],[[46,45],16],[[46,45],16],[[46,46],16],[[],16],[[],16],[[45,17],18],[[45,17],18],[[46,17],18],[[46,17],18],[11,45],[46,45],[[]],[20,45],[[[10,[46]]],45],[[[19,[11]]],45],[[[19,[46]]],45],[[[10,[46]]],46],[20,46],[11,46],[45,46],[11,45],[11,46],[11,[[4,[45]]]],[11,46],[[45,21]],[[46,21]],[[]],[45,[[19,[46]]]],[45,[[10,[46]]]],[45,[[10,[46]]]],[46,[[10,[46]]]],[[[19,[46]]],45],[20,45],[[45,45],[[22,[14]]]],[[46,46],[[22,[14]]]],[[45,23],4],[[46,23],4],[24],[24],[45,20],[[]],[46],[[],20],[[],20],[[],4],[[],4],[[],25],[[],25],[46,46],[45,46],0,0,0,0,0,0,0,0,[1,[[4,[47,3]]]],[1,[[4,[48,3]]]],[1,[[4,[47,3]]]],[1,[[4,[48,3]]]],[48,[[10,[48]]]],[47,11],[47,48],[48,11],[48,11],[47,48],[[]],[47,11],[48,11],[[]],[[]],[[]],[[]],[[]],[47,47],[49,49],[[]],[[]],[[47,47],14],[[48,48],14],[47],[15,[[4,[47]]]],[15,[[4,[48]]]],[15,[[4,[49]]]],[[47,47],16],[[47,48],16],[[47,48],16],[[48,48],16],[[48,47],16],[[48,47],16],[[49,49],16],[[],16],[[],16],[[],16],[[47,17],18],[[47,17],18],[[48,17],18],[[48,17],18],[[49,17],18],[20,47],[48,47],[[[10,[48]]],47],[[[19,[11]]],47],[[]],[[[19,[48]]],47],[11,47],[11,48],[47,48],[20,48],[[[10,[48]]],48],[[]],[11,47],[11,48],[11,[[4,[47]]]],[11,48],[[47,21]],[[48,21]],[[]],[[]],[47,[[19,[48]]]],[47,[[10,[48]]]],[47,[[10,[48]]]],[48,[[10,[48]]]],[[[19,[48]]],47],[20,47],[[47,47],[[22,[14]]]],[[48,48],[[22,[14]]]],[[47,23],4],[[48,23],4],[[49,23],4],[24],[24],[47,20],[[]],[48],[[]],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[48,48],[47,48],0,0,0,0,0,0,0,0,0,[1,[[4,[50,3]]]],[1,[[4,[51,3]]]],[1,[[4,[52,3]]]],[1,[[4,[53,3]]]],[1,[[4,[50,3]]]],[1,[[4,[51,3]]]],[1,[[4,[52,3]]]],[1,[[4,[53,3]]]],[51,[[10,[51]]]],[53,[[10,[53]]]],[50,51],[50,11],[51,11],[52,53],[52,11],[53,11],[51,11],[53,11],[50,11],[[]],[50,51],[[]],[51,11],[52,53],[52,11],[[]],[[]],[53,11],[[]],[[]],[[]],[[]],[[]],[[]],[50,50],[52,52],[54,54],[[]],[[]],[[]],[[50,50],14],[[51,51],14],[[52,52],14],[[53,53],14],[50],[52],[15,[[4,[50]]]],[15,[[4,[51]]]],[15,[[4,[52]]]],[15,[[4,[53]]]],[15,[[4,[54]]]],[[50,51],16],[[50,50],16],[[50,51],16],[[51,51],16],[[51,50],16],[[51,50],16],[[52,53],16],[[52,53],16],[[52,52],16],[[53,53],16],[[53,52],16],[[53,52],16],[[54,54],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[50,17],18],[[50,17],18],[[51,17],18],[[51,17],18],[[52,17],18],[[52,17],18],[[53,17],18],[[53,17],18],[[54,17],18],[20,50],[[[10,[51]]],50],[[]],[11,50],[51,50],[[[19,[51]]],50],[[[19,[11]]],50],[50,51],[11,51],[[[10,[51]]],51],[20,51],[[]],[20,52],[[[19,[11]]],52],[[[10,[53]]],52],[53,52],[11,52],[[[19,[53]]],52],[20,53],[11,53],[[[10,[53]]],53],[52,53],[[]],[11,50],[11,51],[11,52],[11,53],[11,[[4,[50]]]],[11,51],[11,[[4,[52]]]],[11,53],[[50,21]],[[51,21]],[[52,21]],[[53,21]],[[]],[[]],[[]],[50,[[19,[51]]]],[52,[[19,[53]]]],[50,[[10,[51]]]],[50,[[10,[51]]]],[51,[[10,[51]]]],[52,[[10,[53]]]],[52,[[10,[53]]]],[53,[[10,[53]]]],[[[19,[51]]],50],[[[19,[53]]],52],[20,50],[20,52],[[50,50],[[22,[14]]]],[[51,51],[[22,[14]]]],[[52,52],[[22,[14]]]],[[53,53],[[22,[14]]]],[[50,23],4],[[51,23],4],[[52,23],4],[[53,23],4],[[54,23],4],[24],[24],[24],[24],[50,20],[52,20],[[]],[51],[[]],[53],[[]],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[50,51],[51,51],[52,53],[53,53],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[55,3]]]],[1,[[4,[56,3]]]],[1,[[4,[57,3]]]],[1,[[4,[58,3]]]],[1,[[4,[59,3]]]],[1,[[4,[60,3]]]],[1,[[4,[61,3]]]],[1,[[4,[62,3]]]],[1,[[4,[63,3]]]],[1,[[4,[64,3]]]],[1,[[4,[65,3]]]],[1,[[4,[66,3]]]],[1,[[4,[55,3]]]],[1,[[4,[56,3]]]],[1,[[4,[57,3]]]],[1,[[4,[58,3]]]],[1,[[4,[59,3]]]],[1,[[4,[60,3]]]],[1,[[4,[61,3]]]],[1,[[4,[62,3]]]],[1,[[4,[63,3]]]],[1,[[4,[64,3]]]],[1,[[4,[65,3]]]],[1,[[4,[66,3]]]],[56,[[10,[56]]]],[58,[[10,[58]]]],[60,[[10,[60]]]],[62,[[10,[62]]]],[64,[[10,[64]]]],[66,[[10,[66]]]],[55,56],[55,11],[56,11],[57,11],[57,58],[58,11],[59,60],[59,11],[60,11],[61,62],[61,11],[62,11],[63,64],[63,11],[64,11],[65,66],[65,11],[66,11],[56,11],[58,11],[60,11],[62,11],[64,11],[66,11],0,[55,56],[[]],[55,11],[[]],[56,11],[[]],[57,58],[57,11],[58,11],[[]],[[]],[59,60],[59,11],[60,11],[[]],[61,11],[61,62],[[]],[[]],[62,11],[[]],[63,11],[63,64],[[]],[64,11],[[]],[65,11],[65,66],[[]],[66,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[55,55],[57,57],[59,59],[61,61],[63,63],[65,65],[67,67],[68,68],[69,69],[70,70],[71,71],[72,72],[73,73],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[55,55],14],[[56,56],14],[[57,57],14],[[58,58],14],[[59,59],14],[[60,60],14],[[61,61],14],[[62,62],14],[[63,63],14],[[64,64],14],[[65,65],14],[[66,66],14],0,[55],[57],[59],[61],[63],[65],[15,[[4,[55]]]],[15,[[4,[56]]]],[15,[[4,[57]]]],[15,[[4,[58]]]],[15,[[4,[59]]]],[15,[[4,[60]]]],[15,[[4,[61]]]],[15,[[4,[62]]]],[15,[[4,[63]]]],[15,[[4,[64]]]],[15,[[4,[65]]]],[15,[[4,[66]]]],[15,[[4,[67]]]],[15,[[4,[68]]]],[15,[[4,[69]]]],[15,[[4,[70]]]],[15,[[4,[71]]]],[15,[[4,[72]]]],[15,[[4,[73]]]],[[55,56],16],[[55,56],16],[[55,55],16],[[56,56],16],[[56,55],16],[[56,55],16],[[57,58],16],[[57,57],16],[[57,58],16],[[58,57],16],[[58,58],16],[[58,57],16],[[59,60],16],[[59,60],16],[[59,59],16],[[60,60],16],[[60,59],16],[[60,59],16],[[61,61],16],[[61,62],16],[[61,62],16],[[62,61],16],[[62,62],16],[[62,61],16],[[63,63],16],[[63,64],16],[[63,64],16],[[64,63],16],[[64,63],16],[[64,64],16],[[65,66],16],[[65,65],16],[[65,66],16],[[66,65],16],[[66,66],16],[[66,65],16],[[67,67],16],[[68,68],16],[[69,69],16],[[70,70],16],[[71,71],16],[[72,72],16],[[73,73],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[55,17],18],[[55,17],18],[[56,17],18],[[56,17],18],[[57,17],18],[[57,17],18],[[58,17],18],[[58,17],18],[[59,17],18],[[59,17],18],[[60,17],18],[[60,17],18],[[61,17],18],[[61,17],18],[[62,17],18],[[62,17],18],[[63,17],18],[[63,17],18],[[64,17],18],[[64,17],18],[[65,17],18],[[65,17],18],[[66,17],18],[[66,17],18],[[67,17],18],[[68,17],18],[[69,17],18],[[70,17],18],[[71,17],18],[[72,17],18],[[73,17],18],[[[19,[56]]],55],[[[19,[11]]],55],[56,55],[20,55],[[[10,[56]]],55],[[]],[11,55],[[[10,[56]]],56],[20,56],[55,56],[11,56],[20,57],[[]],[58,57],[11,57],[[[10,[58]]],57],[[[19,[11]]],57],[[[19,[58]]],57],[11,58],[[[10,[58]]],58],[57,58],[20,58],[[[19,[60]]],59],[60,59],[[]],[20,59],[11,59],[[[19,[11]]],59],[[[10,[60]]],59],[59,60],[11,60],[20,60],[[[10,[60]]],60],[11,61],[62,61],[[[19,[62]]],61],[20,61],[[[19,[11]]],61],[[[10,[62]]],61],[[]],[61,62],[11,62],[20,62],[[[10,[62]]],62],[20,63],[64,63],[[[19,[11]]],63],[[]],[[[10,[64]]],63],[11,63],[[[19,[64]]],63],[11,64],[20,64],[[[10,[64]]],64],[63,64],[66,65],[11,65],[[[19,[11]]],65],[[]],[20,65],[[[10,[66]]],65],[[[19,[66]]],65],[20,66],[65,66],[11,66],[[[10,[66]]],66],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[11,55],[11,56],[11,57],[11,58],[11,59],[11,60],[11,61],[11,62],[11,63],[11,64],[11,65],[11,66],[11,[[4,[55]]]],[11,56],[11,[[4,[57]]]],[11,58],[11,[[4,[59]]]],[11,60],[11,[[4,[61]]]],[11,62],[11,[[4,[63]]]],[11,64],[11,[[4,[65]]]],[11,66],0,[[55,21]],[[56,21]],[[57,21]],[[58,21]],[[59,21]],[[60,21]],[[61,21]],[[62,21]],[[63,21]],[[64,21]],[[65,21]],[[66,21]],0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[55,[[19,[56]]]],[57,[[19,[58]]]],[59,[[19,[60]]]],[61,[[19,[62]]]],[63,[[19,[64]]]],[65,[[19,[66]]]],[55,[[10,[56]]]],[55,[[10,[56]]]],[56,[[10,[56]]]],[57,[[10,[58]]]],[57,[[10,[58]]]],[58,[[10,[58]]]],[59,[[10,[60]]]],[59,[[10,[60]]]],[60,[[10,[60]]]],[61,[[10,[62]]]],[61,[[10,[62]]]],[62,[[10,[62]]]],[63,[[10,[64]]]],[63,[[10,[64]]]],[64,[[10,[64]]]],[65,[[10,[66]]]],[65,[[10,[66]]]],[66,[[10,[66]]]],[[[19,[56]]],55],[[[19,[58]]],57],[[[19,[60]]],59],[[[19,[62]]],61],[[[19,[64]]],63],[[[19,[66]]],65],0,0,0,[20,55],[20,57],[20,59],[20,61],[20,63],[20,65],[[55,55],[[22,[14]]]],[[56,56],[[22,[14]]]],[[57,57],[[22,[14]]]],[[58,58],[[22,[14]]]],[[59,59],[[22,[14]]]],[[60,60],[[22,[14]]]],[[61,61],[[22,[14]]]],[[62,62],[[22,[14]]]],[[63,63],[[22,[14]]]],[[64,64],[[22,[14]]]],[[65,65],[[22,[14]]]],[[66,66],[[22,[14]]]],[[55,23],4],[[56,23],4],[[57,23],4],[[58,23],4],[[59,23],4],[[60,23],4],[[61,23],4],[[62,23],4],[[63,23],4],[[64,23],4],[[65,23],4],[[66,23],4],[[67,23],4],[[68,23],4],[[69,23],4],[[70,23],4],[[71,23],4],[[72,23],4],[[73,23],4],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[55,20],[57,20],[59,20],[61,20],[63,20],[65,20],0,0,[[]],[56],[[]],[58],[[]],[60],[[]],[62],[[]],[64],[[]],[66],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],0,[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],0,0,[56,56],[55,56],[58,58],[57,58],[59,60],[60,60],[62,62],[61,62],[63,64],[64,64],[65,66],[66,66],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,[[4,[74,3]]]],[1,[[4,[75,3]]]],[1,[[4,[76,3]]]],[1,[[4,[77,3]]]],[1,[[4,[78,3]]]],[1,[[4,[79,3]]]],[1,[[4,[80,3]]]],[1,[[4,[81,3]]]],[1,[[4,[82,3]]]],[1,[[4,[83,3]]]],[1,[[4,[84,3]]]],[1,[[4,[85,3]]]],[1,[[4,[86,3]]]],[1,[[4,[87,3]]]],[1,[[4,[88,3]]]],[1,[[4,[89,3]]]],[1,[[4,[90,3]]]],[1,[[4,[91,3]]]],[1,[[4,[92,3]]]],[1,[[4,[93,3]]]],[1,[[4,[94,3]]]],[1,[[4,[95,3]]]],[1,[[4,[74,3]]]],[1,[[4,[75,3]]]],[1,[[4,[76,3]]]],[1,[[4,[77,3]]]],[1,[[4,[78,3]]]],[1,[[4,[79,3]]]],[1,[[4,[80,3]]]],[1,[[4,[81,3]]]],[1,[[4,[82,3]]]],[1,[[4,[83,3]]]],[1,[[4,[84,3]]]],[1,[[4,[85,3]]]],[1,[[4,[86,3]]]],[1,[[4,[87,3]]]],[1,[[4,[88,3]]]],[1,[[4,[89,3]]]],[1,[[4,[90,3]]]],[1,[[4,[91,3]]]],[1,[[4,[92,3]]]],[1,[[4,[93,3]]]],[1,[[4,[94,3]]]],[1,[[4,[95,3]]]],[75,[[10,[75]]]],[77,[[10,[77]]]],[79,[[10,[79]]]],[81,[[10,[81]]]],[83,[[10,[83]]]],[85,[[10,[85]]]],[87,[[10,[87]]]],[89,[[10,[89]]]],[91,[[10,[91]]]],[93,[[10,[93]]]],[95,[[10,[95]]]],[74,11],[74,75],[75,11],[76,77],[76,11],[77,11],[78,79],[78,11],[79,11],[80,81],[80,11],[81,11],[82,83],[82,11],[83,11],[84,11],[84,85],[85,11],[86,11],[86,87],[87,11],[88,11],[88,89],[89,11],[90,11],[90,91],[91,11],[92,93],[92,11],[93,11],[94,11],[94,95],[95,11],[75,11],[77,11],[79,11],[81,11],[83,11],[85,11],[87,11],[89,11],[91,11],[93,11],[95,11],[[]],[74,75],[74,11],[75,11],[[]],[76,77],[76,11],[[]],[[]],[77,11],[78,11],[78,79],[[]],[[]],[79,11],[80,11],[80,81],[[]],[[]],[81,11],[[]],[82,11],[82,83],[83,11],[[]],[84,11],[84,85],[[]],[[]],[85,11],[86,87],[[]],[86,11],[87,11],[[]],[88,11],[[]],[88,89],[[]],[89,11],[[]],[90,11],[90,91],[[]],[91,11],[92,11],[[]],[92,93],[[]],[93,11],[[]],[94,11],[94,95],[95,11],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[74,74],[76,76],[78,78],[80,80],[82,82],[84,84],[86,86],[88,88],[90,90],[92,92],[94,94],[96,96],[97,97],[98,98],[99,99],[100,100],[101,101],[102,102],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[74,74],14],[[75,75],14],[[76,76],14],[[77,77],14],[[78,78],14],[[79,79],14],[[80,80],14],[[81,81],14],[[82,82],14],[[83,83],14],[[84,84],14],[[85,85],14],[[86,86],14],[[87,87],14],[[88,88],14],[[89,89],14],[[90,90],14],[[91,91],14],[[92,92],14],[[93,93],14],[[94,94],14],[[95,95],14],[74],[76],[78],[80],[82],[84],[86],[88],[90],[92],[94],[15,[[4,[74]]]],[15,[[4,[75]]]],[15,[[4,[76]]]],[15,[[4,[77]]]],[15,[[4,[78]]]],[15,[[4,[79]]]],[15,[[4,[80]]]],[15,[[4,[81]]]],[15,[[4,[82]]]],[15,[[4,[83]]]],[15,[[4,[84]]]],[15,[[4,[85]]]],[15,[[4,[86]]]],[15,[[4,[87]]]],[15,[[4,[88]]]],[15,[[4,[89]]]],[15,[[4,[90]]]],[15,[[4,[91]]]],[15,[[4,[92]]]],[15,[[4,[93]]]],[15,[[4,[94]]]],[15,[[4,[95]]]],[15,[[4,[96]]]],[15,[[4,[97]]]],[15,[[4,[98]]]],[15,[[4,[99]]]],[15,[[4,[100]]]],[15,[[4,[101]]]],[15,[[4,[102]]]],[[74,74],16],[[74,75],16],[[74,75],16],[[75,74],16],[[75,74],16],[[75,75],16],[[76,76],16],[[76,77],16],[[76,77],16],[[77,77],16],[[77,76],16],[[77,76],16],[[78,79],16],[[78,79],16],[[78,78],16],[[79,79],16],[[79,78],16],[[79,78],16],[[80,80],16],[[80,81],16],[[80,81],16],[[81,80],16],[[81,80],16],[[81,81],16],[[82,82],16],[[82,83],16],[[82,83],16],[[83,83],16],[[83,82],16],[[83,82],16],[[84,85],16],[[84,85],16],[[84,84],16],[[85,84],16],[[85,84],16],[[85,85],16],[[86,87],16],[[86,86],16],[[86,87],16],[[87,87],16],[[87,86],16],[[87,86],16],[[88,88],16],[[88,89],16],[[88,89],16],[[89,88],16],[[89,88],16],[[89,89],16],[[90,91],16],[[90,91],16],[[90,90],16],[[91,90],16],[[91,90],16],[[91,91],16],[[92,92],16],[[92,93],16],[[92,93],16],[[93,92],16],[[93,92],16],[[93,93],16],[[94,94],16],[[94,95],16],[[94,95],16],[[95,94],16],[[95,95],16],[[95,94],16],[[96,96],16],[[97,97],16],[[98,98],16],[[99,99],16],[[100,100],16],[[101,101],16],[[102,102],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[74,17],18],[[74,17],18],[[75,17],18],[[75,17],18],[[76,17],18],[[76,17],18],[[77,17],18],[[77,17],18],[[78,17],18],[[78,17],18],[[79,17],18],[[79,17],18],[[80,17],18],[[80,17],18],[[81,17],18],[[81,17],18],[[82,17],18],[[82,17],18],[[83,17],18],[[83,17],18],[[84,17],18],[[84,17],18],[[85,17],18],[[85,17],18],[[86,17],18],[[86,17],18],[[87,17],18],[[87,17],18],[[88,17],18],[[88,17],18],[[89,17],18],[[89,17],18],[[90,17],18],[[90,17],18],[[91,17],18],[[91,17],18],[[92,17],18],[[92,17],18],[[93,17],18],[[93,17],18],[[94,17],18],[[94,17],18],[[95,17],18],[[95,17],18],[[96,17],18],[[97,17],18],[[98,17],18],[[99,17],18],[[100,17],18],[[101,17],18],[[101,17],18],[[103,17],18],[[103,17],18],[[102,17],18],[75,74],[[[19,[11]]],74],[[[19,[75]]],74],[[]],[20,74],[11,74],[[[10,[75]]],74],[20,75],[[[10,[75]]],75],[11,75],[74,75],[[[10,[77]]],76],[77,76],[11,76],[[[19,[77]]],76],[[]],[20,76],[[[19,[11]]],76],[11,77],[[[10,[77]]],77],[76,77],[20,77],[20,78],[[]],[79,78],[[[19,[11]]],78],[11,78],[[[10,[79]]],78],[[[19,[79]]],78],[11,79],[[[10,[79]]],79],[78,79],[20,79],[[[10,[81]]],80],[20,80],[11,80],[[[19,[11]]],80],[81,80],[[]],[[[19,[81]]],80],[[[10,[81]]],81],[80,81],[11,81],[20,81],[11,82],[[[19,[11]]],82],[83,82],[[[10,[83]]],82],[20,82],[[[19,[83]]],82],[[]],[20,83],[82,83],[[[10,[83]]],83],[11,83],[[[10,[85]]],84],[11,84],[85,84],[[]],[[[19,[85]]],84],[20,84],[[[19,[11]]],84],[11,85],[[[10,[85]]],85],[84,85],[20,85],[11,86],[[[19,[11]]],86],[20,86],[87,86],[[[19,[87]]],86],[[[10,[87]]],86],[[]],[86,87],[11,87],[[[10,[87]]],87],[20,87],[[]],[89,88],[20,88],[11,88],[[[19,[89]]],88],[[[19,[11]]],88],[[[10,[89]]],88],[88,89],[11,89],[20,89],[[[10,[89]]],89],[[[19,[11]]],90],[11,90],[[[19,[91]]],90],[91,90],[[]],[20,90],[[[10,[91]]],90],[90,91],[20,91],[[[10,[91]]],91],[11,91],[[[19,[11]]],92],[[]],[11,92],[[[10,[93]]],92],[93,92],[[[19,[93]]],92],[20,92],[11,93],[92,93],[[[10,[93]]],93],[20,93],[95,94],[[[10,[95]]],94],[11,94],[[[19,[11]]],94],[[[19,[95]]],94],[20,94],[[]],[94,95],[11,95],[20,95],[[[10,[95]]],95],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[11,74],[11,75],[11,76],[11,77],[11,78],[11,79],[11,80],[11,81],[11,82],[11,83],[11,84],[11,85],[11,86],[11,87],[11,88],[11,89],[11,90],[11,91],[11,92],[11,93],[11,94],[11,95],[11,[[4,[74]]]],[11,75],[11,[[4,[76]]]],[11,77],[11,[[4,[78]]]],[11,79],[11,[[4,[80]]]],[11,81],[11,[[4,[82]]]],[11,83],[11,[[4,[84]]]],[11,85],[11,[[4,[86]]]],[11,87],[11,[[4,[88]]]],[11,89],[11,[[4,[90]]]],[11,91],[11,[[4,[92]]]],[11,93],[11,[[4,[94]]]],[11,95],[[74,21]],[[75,21]],[[76,21]],[[77,21]],[[78,21]],[[79,21]],[[80,21]],[[81,21]],[[82,21]],[[83,21]],[[84,21]],[[85,21]],[[86,21]],[[87,21]],[[88,21]],[[89,21]],[[90,21]],[[91,21]],[[92,21]],[[93,21]],[[94,21]],[[95,21]],0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[74,[[19,[75]]]],[76,[[19,[77]]]],[78,[[19,[79]]]],[80,[[19,[81]]]],[82,[[19,[83]]]],[84,[[19,[85]]]],[86,[[19,[87]]]],[88,[[19,[89]]]],[90,[[19,[91]]]],[92,[[19,[93]]]],[94,[[19,[95]]]],[74,[[10,[75]]]],[74,[[10,[75]]]],[75,[[10,[75]]]],[76,[[10,[77]]]],[76,[[10,[77]]]],[77,[[10,[77]]]],[78,[[10,[79]]]],[78,[[10,[79]]]],[79,[[10,[79]]]],[80,[[10,[81]]]],[80,[[10,[81]]]],[81,[[10,[81]]]],[82,[[10,[83]]]],[82,[[10,[83]]]],[83,[[10,[83]]]],[84,[[10,[85]]]],[84,[[10,[85]]]],[85,[[10,[85]]]],[86,[[10,[87]]]],[86,[[10,[87]]]],[87,[[10,[87]]]],[88,[[10,[89]]]],[88,[[10,[89]]]],[89,[[10,[89]]]],[90,[[10,[91]]]],[90,[[10,[91]]]],[91,[[10,[91]]]],[92,[[10,[93]]]],[92,[[10,[93]]]],[93,[[10,[93]]]],[94,[[10,[95]]]],[94,[[10,[95]]]],[95,[[10,[95]]]],[[[19,[75]]],74],[[[19,[77]]],76],[[[19,[79]]],78],[[[19,[81]]],80],[[[19,[83]]],82],[[[19,[85]]],84],[[[19,[87]]],86],[[[19,[89]]],88],[[[19,[91]]],90],[[[19,[93]]],92],[[[19,[95]]],94],0,[20,74],[20,76],[20,78],[20,80],[20,82],[20,84],[20,86],[20,88],[20,90],[20,92],[20,94],[[74,74],[[22,[14]]]],[[75,75],[[22,[14]]]],[[76,76],[[22,[14]]]],[[77,77],[[22,[14]]]],[[78,78],[[22,[14]]]],[[79,79],[[22,[14]]]],[[80,80],[[22,[14]]]],[[81,81],[[22,[14]]]],[[82,82],[[22,[14]]]],[[83,83],[[22,[14]]]],[[84,84],[[22,[14]]]],[[85,85],[[22,[14]]]],[[86,86],[[22,[14]]]],[[87,87],[[22,[14]]]],[[88,88],[[22,[14]]]],[[89,89],[[22,[14]]]],[[90,90],[[22,[14]]]],[[91,91],[[22,[14]]]],[[92,92],[[22,[14]]]],[[93,93],[[22,[14]]]],[[94,94],[[22,[14]]]],[[95,95],[[22,[14]]]],[[74,23],4],[[75,23],4],[[76,23],4],[[77,23],4],[[78,23],4],[[79,23],4],[[80,23],4],[[81,23],4],[[82,23],4],[[83,23],4],[[84,23],4],[[85,23],4],[[86,23],4],[[87,23],4],[[88,23],4],[[89,23],4],[[90,23],4],[[91,23],4],[[92,23],4],[[93,23],4],[[94,23],4],[[95,23],4],[[96,23],4],[[97,23],4],[[98,23],4],[[99,23],4],[[100,23],4],[[101,23],4],[[102,23],4],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[24],[74,20],[76,20],[78,20],[80,20],[82,20],[84,20],[86,20],[88,20],[90,20],[92,20],[94,20],[[]],[75],[[]],[77],[[]],[79],[[]],[81],[[]],[83],[[]],[85],[[]],[87],[[]],[89],[[]],[91],[[]],[93],[[]],[95],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],20],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[104,[[4,[101]]]],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[[],25],[74,75],[75,75],[76,77],[77,77],[79,79],[78,79],[81,81],[80,81],[83,83],[82,83],[85,85],[84,85],[86,87],[87,87],[89,89],[88,89],[90,91],[91,91],[92,93],[93,93],[94,95],[95,95],0,0,0,0,0,0,0,[1,[[29,[105]]]],[106,[[10,[106]]]],[105,106],[105,11],[106,11],[106,11],[[]],[105,106],[105,11],[106,11],[[]],[[]],[[]],[[]],[[]],[105,105],[[]],[106,11],[105],[15,[[4,[105]]]],[15,[[4,[106]]]],[[105,107],16],[[105,105],16],[[105,106],16],[[105,106],16],[[106,106],16],[[106,105],16],[[106,105],16],[[106,107],16],[[],16],[[],16],[[105,17],18],[[105,17],18],[[106,17],18],[[106,17],18],[[108,17],18],[[108,17],18],[106,105],[[[19,[106]]],105],[[]],[[[10,[106]]],105],[[[10,[106]]],106],[105,106],[[]],[109,108],[110,108],[111,108],[11,105],[11,106],[11,[[4,[105]]]],[11,[[4,[106,108]]]],[11,106],[[105,21]],[[106,21]],[106,11],[[]],[[]],[105,[[19,[106]]]],[105,[[10,[106]]]],[105,[[10,[106]]]],[106,[[10,[106]]]],[[[19,[106]]],105],[[106,112],16],[106,[[22,[11]]]],[106,11],[106,11],[20,[[4,[105,108]]]],[20,105],[106,[[4,[[10,[106]],108]]]],[[],105],[[105,107],[[22,[14]]]],[[105,105],[[22,[14]]]],[[106,105],[[22,[14]]]],[[106,106],[[22,[14]]]],[[106,107],[[22,[14]]]],[106,11],[[105,23],4],[[106,23],4],[108,[[22,[113]]]],[105,20],[106,105],[106,107],[[]],[106],[[],20],[[],20],[[],20],[106,107],[[],105],[20,[[4,[105]]]],[[],4],[107,[[4,[105]]]],[11,[[4,[105]]]],[11,[[4,[106]]]],[20,[[4,[106,108]]]],[[],4],[[],4],[[],4],[[],25],[[],25],[[],25],[106,11],[106,106],[105,106],0,0,0,0,0,[[]],[[]],[114,114],[[]],[15,[[4,[114]]]],0,[[114,114],16],[[],16],[[114,17],18],[[]],0,[[]],0,0,[[114,23],4],[[]],[[],4],[[],4],[[],25]],"c":[],"p":[[3,"Unstructured",2977],[3,"UserId",0],[4,"Error",2978],[4,"Result",2979],[3,"UserIdRef",0],[3,"DisplayName",0],[3,"DisplayNameRef",0],[3,"Nickname",0],[3,"NicknameRef",0],[4,"Cow",2980],[15,"str"],[4,"BroadcasterType",0],[4,"UserType",0],[4,"Ordering",2981],[8,"Deserializer",2982],[15,"bool"],[3,"Formatter",2983],[6,"Result",2983],[3,"Box",2984],[3,"String",2985],[8,"Hasher",2986],[4,"Option",2987],[8,"Serializer",2988],[15,"usize"],[3,"TypeId",2989],[4,"NamedUserColor",297],[15,"slice"],[3,"HexColor",297],[6,"Result",2978],[3,"HexColorRef",297],[3,"EmoteUrlBuilder",413],[3,"BadgeSetId",413],[3,"BadgeSetIdRef",413],[3,"ChatBadgeId",413],[3,"ChatBadgeIdRef",413],[3,"EmoteId",413],[3,"EmoteIdRef",413],[3,"EmoteSetId",413],[3,"EmoteSetIdRef",413],[4,"EmoteAnimationSetting",413],[4,"EmoteThemeMode",413],[4,"EmoteScale",413],[3,"ResubscriptionEmote",413],[3,"Image",413],[3,"EventSubId",852],[3,"EventSubIdRef",852],[3,"CreatorGoalId",930],[3,"CreatorGoalIdRef",930],[4,"CreatorGoalType",930],[3,"MsgId",1029],[3,"MsgIdRef",1029],[3,"BlockedTermId",1029],[3,"BlockedTermIdRef",1029],[4,"AutomodStatus",1029],[3,"RewardId",1205],[3,"RewardIdRef",1205],[3,"RedemptionId",1205],[3,"RedemptionIdRef",1205],[3,"PollId",1205],[3,"PollIdRef",1205],[3,"PollChoiceId",1205],[3,"PollChoiceIdRef",1205],[3,"PredictionId",1205],[3,"PredictionIdRef",1205],[3,"PredictionOutcomeId",1205],[3,"PredictionOutcomeIdRef",1205],[4,"Max",1205],[3,"GlobalCooldown",1205],[3,"PollChoice",1205],[4,"PollStatus",1205],[4,"PredictionStatus",1205],[3,"PredictionOutcome",1205],[3,"PredictionTopPredictors",1205],[3,"StreamId",1819],[3,"StreamIdRef",1819],[3,"CategoryId",1819],[3,"CategoryIdRef",1819],[3,"TagId",1819],[3,"TagIdRef",1819],[3,"TeamId",1819],[3,"TeamIdRef",1819],[3,"VideoId",1819],[3,"VideoIdRef",1819],[3,"ClipId",1819],[3,"ClipIdRef",1819],[3,"StreamSegmentId",1819],[3,"StreamSegmentIdRef",1819],[3,"HypeTrainId",1819],[3,"HypeTrainIdRef",1819],[3,"CharityCampaignId",1819],[3,"CharityCampaignIdRef",1819],[3,"CharityDonationId",1819],[3,"CharityDonationIdRef",1819],[3,"IgdbId",1819],[3,"IgdbIdRef",1819],[3,"TwitchCategory",1819],[4,"SubscriptionTier",1819],[4,"VideoPeriod",1819],[4,"VideoType",1819],[4,"VideoPrivacy",1819],[4,"CommercialLength",1819],[4,"ContentClassificationId",1819],[4,"CommercialLengthParseError",1819],[15,"u64"],[3,"Timestamp",2842],[3,"TimestampRef",2842],[3,"OffsetDateTime",2990],[4,"TimestampParseError",2842],[4,"Format",2991],[4,"Infallible",2992],[4,"Parse",2993],[8,"Sized",2994],[8,"Error",2995],[3,"User",2955],[8,"IntoCow",0],[13,"MaxPerStream",1815],[13,"MaxPerUserPerStream",1815],[13,"InvalidFormat",2953]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/settings.html b/settings.html index 2c9c49f7..9be903ae 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file +Rustdoc settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/src/twitch_types/basic.rs.html b/src/twitch_types/basic.rs.html index 32a74045..31164d21 100644 --- a/src/twitch_types/basic.rs.html +++ b/src/twitch_types/basic.rs.html @@ -1,4 +1,4 @@ -basic.rs - source
1
+basic.rs - source
1
 2
 3
 4
@@ -140,7 +140,7 @@
 
 /// Broadcaster types: "partner", "affiliate", or "".
 #[derive(Copy, Clone, Default, Debug, PartialEq, PartialOrd, Eq, Ord, Hash)]
-#[cfg_attr(feature = "serde", derive(serde::Deserialize))]
+#[cfg_attr(feature = "serde", derive(serde_derive::Deserialize))]
 pub enum BroadcasterType {
     /// Partner
     #[cfg_attr(feature = "serde", serde(rename = "partner"))]
@@ -168,7 +168,7 @@
 
 /// User types: "staff", "admin", "global_mod", or "".
 #[derive(Copy, Clone, Default, Debug, PartialEq, PartialOrd, Eq, Ord, Hash)]
-#[cfg_attr(feature = "serde", derive(serde::Deserialize))]
+#[cfg_attr(feature = "serde", derive(serde_derive::Deserialize))]
 
 pub enum UserType {
     /// Staff
diff --git a/src/twitch_types/color.rs.html b/src/twitch_types/color.rs.html
index f3d575cd..29b0b641 100644
--- a/src/twitch_types/color.rs.html
+++ b/src/twitch_types/color.rs.html
@@ -1,4 +1,4 @@
-color.rs - source
1
+color.rs - source
1
 2
 3
 4
@@ -280,7 +280,7 @@
 }
 
 /// Colors a user can have
-#[derive(Debug, PartialEq, Eq, Clone, Deserialize)]
+#[derive(Debug, PartialEq, Eq, Clone, serde_derive::Deserialize)]
 #[serde(field_identifier, rename_all = "snake_case")]
 pub enum NamedUserColor<'a> {
     /// Blue
diff --git a/src/twitch_types/emote.rs.html b/src/twitch_types/emote.rs.html
index 10d4a285..6eef5b3d 100644
--- a/src/twitch_types/emote.rs.html
+++ b/src/twitch_types/emote.rs.html
@@ -1,4 +1,4 @@
-emote.rs - source
1
+emote.rs - source
1
 2
 3
 4
@@ -279,10 +279,19 @@
 279
 280
 281
-
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
-
-manual_braid! {
+282
+283
+284
+285
+286
+287
+288
+289
+290
+291
+292
+293
+
manual_braid! {
     /// A Badge set ID
     pub struct BadgeSetId;
     pub struct BadgeSetIdRef;
@@ -328,7 +337,10 @@
 
 /// Formats for an emote.
 #[derive(Debug, Clone, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
 pub enum EmoteAnimationSetting {
     /// Static
@@ -348,7 +360,10 @@
 
 /// Background themes available for an emote.
 #[derive(Debug, Clone, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
 pub enum EmoteThemeMode {
     /// Light
@@ -372,7 +387,10 @@
 
 /// Scales available for an emote.
 #[derive(Debug, Clone, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 pub enum EmoteScale {
     /// 1.0
     #[cfg_attr(feature = "serde", serde(rename = "1.0"))]
@@ -529,7 +547,10 @@
 
 /// An emote index as defined by eventsub, similar to IRC `emotes` twitch tag.
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct ResubscriptionEmote {
@@ -549,7 +570,10 @@
 
 /// Links to the same image of different sizes
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct Image {
diff --git a/src/twitch_types/eventsub.rs.html b/src/twitch_types/eventsub.rs.html
index 91e5f1b9..e8ce8858 100644
--- a/src/twitch_types/eventsub.rs.html
+++ b/src/twitch_types/eventsub.rs.html
@@ -1,4 +1,4 @@
-eventsub.rs - source
1
+eventsub.rs - source
1
 2
 3
 4
diff --git a/src/twitch_types/goal.rs.html b/src/twitch_types/goal.rs.html
index ccbd7a99..77cc69e2 100644
--- a/src/twitch_types/goal.rs.html
+++ b/src/twitch_types/goal.rs.html
@@ -1,4 +1,4 @@
-goal.rs - source
1
+goal.rs - source
1
 2
 3
 4
@@ -25,10 +25,7 @@
 25
 26
 27
-
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
-
-manual_braid! {
+
manual_braid! {
     /// A Creator Goal ID
     pub struct CreatorGoalId;
     pub struct CreatorGoalIdRef;
@@ -37,7 +34,10 @@
 
 /// Type of creator goal
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
 #[non_exhaustive]
 pub enum CreatorGoalType {
diff --git a/src/twitch_types/lib.rs.html b/src/twitch_types/lib.rs.html
index 47ea493b..da86af0c 100644
--- a/src/twitch_types/lib.rs.html
+++ b/src/twitch_types/lib.rs.html
@@ -1,4 +1,4 @@
-lib.rs - source
1
+lib.rs - source
1
 2
 3
 4
diff --git a/src/twitch_types/macros.rs.html b/src/twitch_types/macros.rs.html
index fa4a3da8..cb4caaaf 100644
--- a/src/twitch_types/macros.rs.html
+++ b/src/twitch_types/macros.rs.html
@@ -1,4 +1,4 @@
-macros.rs - source
1
+macros.rs - source
1
 2
 3
 4
diff --git a/src/twitch_types/moderation.rs.html b/src/twitch_types/moderation.rs.html
index a9e7bc41..1de254fe 100644
--- a/src/twitch_types/moderation.rs.html
+++ b/src/twitch_types/moderation.rs.html
@@ -1,4 +1,4 @@
-moderation.rs - source
1
+moderation.rs - source
1
 2
 3
 4
@@ -26,10 +26,7 @@
 26
 27
 28
-
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
-
-manual_braid! {
+
manual_braid! {
     /// A blocked term ID
     pub struct BlockedTermId;
     pub struct BlockedTermIdRef;
@@ -38,7 +35,10 @@
 
 /// Status of a message that is or was in AutoMod queue
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))]
 #[non_exhaustive]
diff --git a/src/twitch_types/points.rs.html b/src/twitch_types/points.rs.html
index 116a3896..58ab9eba 100644
--- a/src/twitch_types/points.rs.html
+++ b/src/twitch_types/points.rs.html
@@ -1,4 +1,4 @@
-points.rs - source
1
+points.rs - source
1
 2
 3
 4
@@ -193,10 +193,25 @@
 193
 194
 195
-
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
-
-use crate::{DisplayName, UserId, UserName};
+196
+197
+198
+199
+200
+201
+202
+203
+204
+205
+206
+207
+208
+209
+210
+211
+212
+213
+
use crate::{DisplayName, UserId, UserName};
 manual_braid! {
     /// A reward ID.
     pub struct RewardId;
@@ -241,7 +256,10 @@
 
 /// Reward redemption max
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[cfg_attr(feature = "serde", serde(untagged))]
 #[non_exhaustive]
@@ -266,7 +284,10 @@
 
 /// Information about global cooldown
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct GlobalCooldown {
@@ -279,7 +300,10 @@
 
 /// Poll choice
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct PollChoice {
@@ -298,7 +322,10 @@
 // FIXME: Poll status has different name depending on if returned from helix or eventsub. See https://twitch.uservoice.com/forums/310213-developers/suggestions/43402176
 /// Status of a poll
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))]
 #[non_exhaustive]
@@ -326,7 +353,10 @@
 // FIXME: Prediction status has different name depending on if returned from helix or eventsub. See https://twitch.uservoice.com/forums/310213-developers/suggestions/43402197
 /// Status of the Prediction
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))]
 #[non_exhaustive]
@@ -347,7 +377,10 @@
 
 /// Outcome for the Prediction
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct PredictionOutcome {
@@ -368,7 +401,10 @@
 // FIXME: eventsub adds prefix `user_*`. See https://discord.com/channels/325552783787032576/326772207844065290/842359030252437514
 /// Users who were the top predictors.
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct PredictionTopPredictors {
diff --git a/src/twitch_types/stream.rs.html b/src/twitch_types/stream.rs.html
index 853cdb97..6c195086 100644
--- a/src/twitch_types/stream.rs.html
+++ b/src/twitch_types/stream.rs.html
@@ -1,4 +1,4 @@
-stream.rs - source
1
+stream.rs - source
1
 2
 3
 4
@@ -349,8 +349,20 @@
 349
 350
 351
+352
+353
+354
+355
+356
+357
+358
+359
+360
+361
+362
+363
 
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
+use serde::Serialize;
 
 manual_braid! {
     /// A Stream ID
@@ -431,7 +443,10 @@
 
 /// A game or category as defined by Twitch
 #[derive(PartialEq, Eq, Debug, Clone)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 #[non_exhaustive]
 pub struct TwitchCategory {
@@ -456,7 +471,7 @@
 
 /// Subscription tiers
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Deserialize))]
+#[cfg_attr(feature = "serde", derive(serde_derive::Deserialize))]
 #[cfg_attr(feature = "serde", serde(field_identifier))]
 pub enum SubscriptionTier {
     /// Tier 1. $4.99
@@ -490,7 +505,10 @@
 
 /// Period during which the video was created
 #[derive(PartialEq, Eq, Clone, Debug)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
 pub enum VideoPeriod {
     /// Filter by all. Effectively a no-op
@@ -505,7 +523,10 @@
 
 /// Type of video
 #[derive(PartialEq, Eq, Clone, Debug)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
 pub enum VideoType {
     /// A live video
@@ -533,7 +554,10 @@
 
 /// Type of video
 #[derive(PartialEq, Eq, Clone, Debug)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
 pub enum VideoPrivacy {
     /// Video is public
@@ -654,7 +678,7 @@
 /// IDs for [content classification labels](https://help.twitch.tv/s/article/content-classification-labels) also known as CCLs
 #[derive(Clone, Debug, PartialEq, Eq)]
 #[non_exhaustive]
-#[cfg_attr(feature = "serde", derive(Deserialize))]
+#[cfg_attr(feature = "serde", derive(serde_derive::Deserialize))]
 #[cfg_attr(feature = "serde", serde(field_identifier))]
 pub enum ContentClassificationId {
     /// Drugs, Intoxication, or Excessive Tobacco Use
diff --git a/src/twitch_types/time.rs.html b/src/twitch_types/time.rs.html
index 0679324b..341f65ee 100644
--- a/src/twitch_types/time.rs.html
+++ b/src/twitch_types/time.rs.html
@@ -1,4 +1,4 @@
-time.rs - source
1
+time.rs - source
1
 2
 3
 4
diff --git a/src/twitch_types/user.rs.html b/src/twitch_types/user.rs.html
index c310690f..2dce60db 100644
--- a/src/twitch_types/user.rs.html
+++ b/src/twitch_types/user.rs.html
@@ -1,4 +1,4 @@
-user.rs - source
1
+user.rs - source
1
 2
 3
 4
@@ -26,16 +26,16 @@
 26
 27
 28
-
#[cfg(feature = "serde")]
-use serde::{Deserialize, Serialize};
-
-use crate::{DisplayName, UserId, UserName};
+
use crate::{DisplayName, UserId, UserName};
 
 pub use crate::{BroadcasterType, UserType};
 
 /// A user according to many endpoints
 #[derive(Clone, Debug, PartialEq, Eq)]
-#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
+#[cfg_attr(
+    feature = "serde",
+    derive(serde_derive::Serialize, serde_derive::Deserialize)
+)]
 #[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
 pub struct User {
     /// ID of the user
diff --git a/static.files/ayu-8c3c66a6cf12cb2f.css b/static.files/ayu-8c3c66a6cf12cb2f.css
deleted file mode 100644
index 3234983e..00000000
--- a/static.files/ayu-8c3c66a6cf12cb2f.css
+++ /dev/null
@@ -1 +0,0 @@
- :root{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:rgb(255,142,0);--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}h1,h2,h3,h4,h1 a,.sidebar h2 a,.sidebar h3 a,#src-sidebar>.title{color:#fff;}h4{border:none;}.docblock code{color:#ffb454;}.docblock a>code{color:#39AFD7 !important;}.code-header,.docblock pre>code,pre,pre>code,.item-info code,.rustdoc.src .example-wrap{color:#e6e1cf;}.sidebar .current,.sidebar a:hover,#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus,#src-sidebar div.files>a.selected{color:#ffb44c;}.sidebar-elems .location{color:#ff7733;}.src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}.search-results a:hover,.search-results a:focus{color:#fff !important;background-color:#3c3c3c;}.search-results a{color:#0096cf;}.search-results a div.desc{color:#c5c5c5;}.result-name .primitive>i,.result-name .keyword>i{color:#788797;}#search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}#search-tabs>button:not(.selected){border:none;background-color:transparent !important;}#search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}#settings-menu>a img{filter:invert(100);}
\ No newline at end of file
diff --git a/static.files/dark-3388a2fb2ef8066b.css b/static.files/dark-3388a2fb2ef8066b.css
deleted file mode 100644
index 74ab8e68..00000000
--- a/static.files/dark-3388a2fb2ef8066b.css
+++ /dev/null
@@ -1 +0,0 @@
-:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:rgb(255,142,0);--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2A2A2A;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:rgb(91,59,1);--scrape-example-code-line-highlight-focus:rgb(124,75,15);--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}
\ No newline at end of file
diff --git a/static.files/light-b2d31d2efc7e9b67.css b/static.files/light-b2d31d2efc7e9b67.css
deleted file mode 100644
index 84b3e7b7..00000000
--- a/static.files/light-b2d31d2efc7e9b67.css
+++ /dev/null
@@ -1 +0,0 @@
-:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#F5F5F5;--sidebar-background-color-hover:#E0E0E0;--code-block-background-color:#F5F5F5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:rgb(255,142,0);--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#ffffff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#F5F5F5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}
\ No newline at end of file
diff --git a/static.files/main-ef3a2de404864b0b.js b/static.files/main-ef3a2de404864b0b.js
deleted file mode 100644
index ac22f671..00000000
--- a/static.files/main-ef3a2de404864b0b.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function loadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="stylesheet";document.getElementsByTagName("head")[0].appendChild(link)}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadCss(getVar("static-root-path")+getVar("settings-css"));loadScript(getVar("static-root-path")+getVar("settings-js"));preLoadCss(getVar("static-root-path")+getVar("theme-light-css"));preLoadCss(getVar("static-root-path")+getVar("theme-dark-css"));preLoadCss(getVar("static-root-path")+getVar("theme-ayu-css"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
"+window.NOTABLE_TRAITS[notable_ty]+"
"}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=function(){this.TOOLTIP_FORCE_VISIBLE=this.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!this.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(this);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointermove=function(ev){if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(this,true)};e.onpointerleave=function(ev){if(ev.pointerType!=="mouse"){return}if(!this.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ -the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ - restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ - enum, trait, type, macro, \ - and const.","Search functions by type signature (e.g., vec -> usize or \ - -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for functions that accept or return \ - slices and \ - arrays by writing \ - square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=function(switchFocus){hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=function(){onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/main-f6ec288034ea164c.js b/static.files/main-f6ec288034ea164c.js new file mode 100644 index 00000000..be5b6fc9 --- /dev/null +++ b/static.files/main-f6ec288034ea164c.js @@ -0,0 +1,12 @@ +"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function elemIsInParent(elem,parent){while(elem&&elem!==document.body){if(elem===parent){return true}elem=elem.parentElement}return false}function blurHandler(event,parentElem,hideCallback){if(!elemIsInParent(document.activeElement,parentElem)&&!elemIsInParent(event.relatedTarget,parentElem)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileLocationTitle=document.querySelector(".mobile-topbar h2");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileLocationTitle&&locationTitle){mobileLocationTitle.innerHTML=locationTitle.innerHTML}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url){const script=document.createElement("script");script.src=url;document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"));loadScript(resourcePath("search-index",".js"))}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

"+searchState.loadingText+"

";searchState.showResults(search)},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=name+"/index.html"}else{path=shortty+"."+name+".html"}const current_page=document.location.href.split("/").pop();const link=document.createElement("a");link.href=path;if(path===current_page){link.className="current"}link.textContent=name;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("union","unions","Unions");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","));for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";if(window.rootPath!=="./"&&crate===window.currentCrate){link.className="current"}link.textContent=crate;const li=document.createElement("li");li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
"+window.NOTABLE_TRAITS[notable_ty]+"
"}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";const body=document.getElementsByTagName("body")[0];body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px")}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,e)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)&&!elemIsInParent(document.activeElement,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)&&!elemIsInParent(event.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}const body=document.getElementsByTagName("body")[0];body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!elemIsInParent(ev.relatedTarget,window.CURRENT_TOOLTIP_ELEMENT)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
"+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
"+x[1]+"
").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ + restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ + enum, trait, type, macro, \ + and const.","Search functions by type signature (e.g., vec -> usize or \ + -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ + your request: \"string\"","Look for functions that accept or return \ + slices and \ + arrays by writing \ + square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

"+x+"

").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){let reset_button_timeout=null;const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});const el=document.createElement("textarea");el.value=path.join("::");el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el);but.children[0].style.display="none";let tmp;if(but.childNodes.length<2){tmp=document.createTextNode("✓");but.appendChild(tmp)}else{onEachLazy(but.childNodes,e=>{if(e.nodeType===Node.TEXT_NODE){tmp=e;return true}});tmp.textContent="✓"}if(reset_button_timeout!==null){window.clearTimeout(reset_button_timeout)}function reset_button(){tmp.textContent="";reset_button_timeout=null;but.children[0].style.display=""}reset_button_timeout=window.setTimeout(reset_button,1000)}}()) \ No newline at end of file diff --git a/static.files/noscript-5d8b3c7633ad77ba.css b/static.files/noscript-5d8b3c7633ad77ba.css new file mode 100644 index 00000000..8c63ef06 --- /dev/null +++ b/static.files/noscript-5d8b3c7633ad77ba.css @@ -0,0 +1 @@ + #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}@media (prefers-color-scheme:dark){:root{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}} \ No newline at end of file diff --git a/static.files/noscript-cffde32267a19fd6.css b/static.files/noscript-cffde32267a19fd6.css deleted file mode 100644 index 12d3f6dd..00000000 --- a/static.files/noscript-cffde32267a19fd6.css +++ /dev/null @@ -1 +0,0 @@ - #main-content .attributes{margin-left:0 !important;}#copy-path{display:none;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;} \ No newline at end of file diff --git a/static.files/rustdoc-085727c29c2fa99e.css b/static.files/rustdoc-085727c29c2fa99e.css new file mode 100644 index 00000000..45cd4d6b --- /dev/null +++ b/static.files/rustdoc-085727c29c2fa99e.css @@ -0,0 +1,10 @@ + :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ + ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ + \ + ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"]{--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--test-arrow-color:#f5f5f5;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#f5f5f5;--test-arrow-hover-background-color:rgb(78,139,202);--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--test-arrow-color:#dedede;--test-arrow-background-color:rgba(78,139,202,0.2);--test-arrow-hover-color:#dedede;--test-arrow-hover-background-color:#4e8bca;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--test-arrow-color:#788797;--test-arrow-background-color:rgba(57,175,215,0.09);--test-arrow-hover-color:#c5c5c5;--test-arrow-hover-background-color:rgba(57,175,215,0.368);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a,:root[data-theme="ayu"] #source-sidebar>.title{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img{filter:invert(100);} \ No newline at end of file diff --git a/static.files/rustdoc-47e7ab555ef2818a.css b/static.files/rustdoc-47e7ab555ef2818a.css deleted file mode 100644 index b6a585f1..00000000 --- a/static.files/rustdoc-47e7ab555ef2818a.css +++ /dev/null @@ -1,8 +0,0 @@ - :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.small-section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,a.test-arrow,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.sub-logo-container,.logo-container{line-height:0;display:block;}.sub-logo-container{margin-right:32px;}.sub-logo-container>img{height:60px;width:60px;object-fit:contain;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 200px;overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;}.rustdoc.src .sidebar{flex-basis:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;z-index:1;}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}#src-sidebar-toggle>button:hover,#src-sidebar-toggle>button:focus{background-color:var(--sidebar-background-color-hover);}.src .sidebar>*:not(#src-sidebar-toggle){visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:300px;}.src-sidebar-expanded .src .sidebar>*:not(#src-sidebar-toggle){visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.sidebar .logo-container{margin-top:10px;margin-bottom:10px;text-align:center;}.version{overflow-wrap:break-word;}.logo-container>img{height:100px;width:100px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-left:-0.25rem;}.sidebar h2{overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>h2{padding-left:24px;}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.method .where,.fn .where,.where.fmt-newline{display:block;white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.small-section-header{display:block;position:relative;}.small-section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-15px;padding-right:8px;}h2.small-section-header>.anchor{padding-right:6px;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.docblock-short a:not(.test-arrow):not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block a.current{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ - ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:2;margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{min-height:36px;display:flex;padding:3px;margin-bottom:5px;align-items:center;vertical-align:text-bottom;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji{font-size:1.25rem;margin-right:0.3rem;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}a.test-arrow{visibility:hidden;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:1.375rem;top:5px;right:5px;z-index:1;color:var(--test-arrow-color);background-color:var(--test-arrow-background-color);}a.test-arrow:hover{color:var(--test-arrow-hover-color);background-color:var(--test-arrow-hover-background-color);}.example-wrap:hover .test-arrow{visibility:visible;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar-toggle{position:sticky;top:0;left:0;font-size:1.25rem;border-bottom:1px solid;display:flex;height:40px;justify-content:stretch;align-items:stretch;z-index:10;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar>.title{font-size:1.5rem;text-align:center;border-bottom:1px solid var(--border-color);margin-bottom:6px;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}#src-sidebar-toggle>button{font-size:inherit;font-weight:bold;background:none;color:inherit;text-align:center;border:none;outline:none;flex:1 1;-webkit-appearance:none;opacity:1;}#settings-menu,#help-button{margin-left:4px;display:flex;}#settings-menu>a,#help-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:2px;color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus{border-color:var(--settings-button-border-focus);}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:34px;margin-left:10px;padding:0;padding-left:2px;border:0;width:33px;}#copy-path>img{filter:var(--copy-path-img-filter);}#copy-path:hover>img{filter:var(--copy-path-img-hover-filter);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;}.mobile-topbar h2 a{display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.sidebar-menu-toggle{width:45px;font-size:32px;border:none;color:var(--main-color);}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#search-tabs .count{display:block;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#src-sidebar-toggle{position:fixed;left:1px;top:100px;width:30px;font-size:1.5rem;padding:0;z-index:10;border-top-right-radius:3px;border-bottom-right-radius:3px;border:1px solid;border-left:0;}.src-sidebar-expanded #src-sidebar-toggle{left:unset;top:unset;width:unset;border-top-right-radius:unset;border-bottom-right-radius:unset;position:sticky;border:0;border-bottom:1px solid;}#copy-path,#help-button{display:none;}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{max-width:100vw;width:100vw;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}.sub-logo-container>img{height:35px;width:35px;margin-bottom:var(--nav-sub-mobile-padding);}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;} \ No newline at end of file diff --git a/static.files/search-6dfdfced5eff6596.js b/static.files/search-5d3eaacf19ebf04f.js similarity index 57% rename from static.files/search-6dfdfced5eff6596.js rename to static.files/search-5d3eaacf19ebf04f.js index 90d0eb75..db532c01 100644 --- a/static.files/search-6dfdfced5eff6596.js +++ b/static.files/search-5d3eaacf19ebf04f.js @@ -1,5 +1,5 @@ -"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:-1,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:-1,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=function addQueryElemToQueryElemSet(queryElem){let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=function addFnTypeToFnTypeSet(fnType){const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInList(row.generics,elem)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);function convertNameToId(elem){if(typeNameIdMap.has(elem.name)){elem.id=typeNameIdMap.get(elem.name)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.name,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ +"use strict";(function(){const itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias",];const longItemTypes=["module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","primitive type","assoc type","constant","assoc const","union","foreign type","keyword","existential type","attribute macro","derive macro","trait alias",];const TY_PRIMITIVE=itemTypes.indexOf("primitive");const TY_KEYWORD=itemTypes.indexOf("keyword");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";function hasOwnPropertyRustdoc(obj,property){return Object.prototype.hasOwnProperty.call(obj,property)}function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function initSearch(rawSearchIndex){const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;let searchIndex;let currentResults;let typeNameIdMap;const ALIASES=new Map();let typeNameIdOfArray;let typeNameIdOfSlice;let typeNameIdOfArrayOrSlice;function buildTypeMapIndex(name){if(name===""||name===null){return-1}if(typeNameIdMap.has(name)){return typeNameIdMap.get(name)}else{const id=typeNameIdMap.size;typeNameIdMap.set(name,id);return id}}function isWhitespace(c){return" \t\n\r".indexOf(c)!==-1}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isEndCharacter(c){return",>-]".indexOf(c)!==-1}function isStopCharacter(c){return isEndCharacter(c)}function isErrorCharacter(c){return"()".indexOf(c)!==-1}function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function isIdentCharacter(c){return(c==="_"||(c>="0"&&c<="9")||(c>="a"&&c<="z")||(c>="A"&&c<="Z"))}function isSeparatorCharacter(c){return c===","}function isPathSeparator(c){return c===":"||isWhitespace(c)}function prevIs(parserState,lookingFor){let pos=parserState.pos;while(pos>0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(!isWhitespace(c)){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function skipWhitespace(parserState){while(parserState.pos0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}return{name:"never",id:-1,fullPath:["never"],pathWithoutLast:[],pathLast:"never",generics:[],typeFilter:"primitive",}}if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(path.includes("::::")){throw["Unexpected ","::::"]}else if(path.includes(" ::")){throw["Unexpected "," ::"]}else if(path.includes(":: ")){throw["Unexpected ",":: "]}const pathSegments=path.split(/::|\s+/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}return{name:name.trim(),id:-1,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast:pathSegments[pathSegments.length-1],generics:generics,typeFilter,}}function getIdentEndPosition(parserState){const start=parserState.pos;let end=parserState.pos;let foundExclamation=-1;while(parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics))}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let start=parserState.pos;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",","," or ",endChar,...extra,", found ",c,]}throw["Expected ",",",...extra,", found ",c,]}const posBefore=parserState.pos;start=parserState.pos;getNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;parserState.typeFilter=oldTypeFilter}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();for(const c in query){if(!isIdentCharacter(query[c])){throw["Unexpected ",query[c]," in type filter (before ",":",")",]}}}function parseInput(query,parserState){let foundStopChar=true;let start=parserState.pos;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}throw["Unexpected ",c]}else if(c===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}else if(query.elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=query.elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;foundStopChar=true;continue}else if(isWhitespace(c)){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;start=parserState.pos;getNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,literalSearch:false,error:null,correction:null,}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&hasOwnPropertyRustdoc(rawSearchIndex,elem.value)){return elem.value}return null}function parseQuery(userQuery){function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}}userQuery=userQuery.trim();const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;return query}function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}function execQuery(parsedQuery,searchWords,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function transformResults(results){const duplicates=new Set();const out=[];for(const result of results){if(result.id>-1){const obj=searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}duplicates.add(obj.fullPath);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out}function sortResults(results,isType,preferredCrate){if(results.size===0){return[]}const userQuery=parsedQuery.userQuery;const result_list=[];for(const result of results.values()){result.word=searchWords[result.id];result.item=searchIndex[result.id]||{};result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=aaa.item.deprecated;b=bbb.item.deprecated;if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});let nameSplit=null;if(parsedQuery.elems.length===1){const hasPath=typeof parsedQuery.elems[0].path==="undefined";nameSplit=hasPath?null:parsedQuery.elems[0].path}for(const result of result_list){if(result.dontValidate){continue}const name=result.item.name.toLowerCase(),path=result.item.path.toLowerCase(),parent=result.item.parent;if(!isType&&!validateResult(name,path,nameSplit,parent)){result.id=-1}}return transformResults(result_list)}function checkGenerics(fnType,queryElem){return unifyFunctionTypes(fnType.generics,queryElem.generics)}function unifyFunctionTypes(fnTypes,queryElems){if(queryElems.length===0){return true}if(!fnTypes||fnTypes.length===0){return false}const queryElemSet=new Map();const addQueryElemToQueryElemSet=queryElem=>{let currentQueryElemList;if(queryElemSet.has(queryElem.id)){currentQueryElemList=queryElemSet.get(queryElem.id)}else{currentQueryElemList=[];queryElemSet.set(queryElem.id,currentQueryElemList)}currentQueryElemList.push(queryElem)};for(const queryElem of queryElems){addQueryElemToQueryElemSet(queryElem)}const fnTypeSet=new Map();const addFnTypeToFnTypeSet=fnType=>{const queryContainsArrayOrSliceElem=queryElemSet.has(typeNameIdOfArrayOrSlice);if(fnType.id===-1||!(queryElemSet.has(fnType.id)||(fnType.id===typeNameIdOfSlice&&queryContainsArrayOrSliceElem)||(fnType.id===typeNameIdOfArray&&queryContainsArrayOrSliceElem))){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentQueryElemList=queryElemSet.get(fnType.id)||[];let matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)});if(matchIdx===-1&&(fnType.id===typeNameIdOfSlice||fnType.id===typeNameIdOfArray)&&queryContainsArrayOrSliceElem){currentQueryElemList=queryElemSet.get(typeNameIdOfArrayOrSlice)||[];matchIdx=currentQueryElemList.findIndex(queryElem=>{return typePassesFilter(queryElem.typeFilter,fnType.ty)&&checkGenerics(fnType,queryElem)})}if(matchIdx===-1){for(const innerFnType of fnType.generics){addFnTypeToFnTypeSet(innerFnType)}return}let currentFnTypeList;if(fnTypeSet.has(fnType.id)){currentFnTypeList=fnTypeSet.get(fnType.id)}else{currentFnTypeList=[];fnTypeSet.set(fnType.id,currentFnTypeList)}currentFnTypeList.push(fnType)};for(const fnType of fnTypes){addFnTypeToFnTypeSet(fnType)}const doHandleQueryElemList=(currentFnTypeList,queryElemList)=>{if(queryElemList.length===0){return true}const queryElem=queryElemList.pop();const l=currentFnTypeList.length;for(let i=0;i0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){continue}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i{if(!fnTypeSet.has(id)){if(id===typeNameIdOfArrayOrSlice){return handleQueryElemList(typeNameIdOfSlice,queryElemList)||handleQueryElemList(typeNameIdOfArray,queryElemList)}return false}const currentFnTypeList=fnTypeSet.get(id);if(currentFnTypeList.length0?checkIfInList(row.generics,elem):false}const matchesExact=row.id===elem.id;const matchesArrayOrSlice=elem.id===typeNameIdOfArrayOrSlice&&(row.id===typeNameIdOfSlice||row.id===typeNameIdOfArray);if((matchesExact||matchesArrayOrSlice)&&typePassesFilter(elem.typeFilter,row.ty)){if(elem.generics.length>0){return checkGenerics(row,elem)}return true}return checkIfInList(row.generics,elem)}function checkPath(contains,ty,maxEditDistance){if(contains.length===0){return 0}let ret_dist=maxEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;if(clength>length){return maxEditDistance+1}for(let i=0;ilength){break}let dist_total=0;let aborted=false;for(let x=0;xmaxEditDistance){aborted=true;break}dist_total+=dist}if(!aborted){ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}}return ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,deprecated:item.deprecated,}}function handleAliases(ret,query,filterCrates,currentCrate){const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(ALIASES.has(filterCrates)&&ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach(pushFunc);crateAliases.forEach(pushFunc)}function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){const inBounds=dist<=maxEditDistance||index!==-1;if(dist===0||(!parsedQuery.literalSearch&&inBounds)){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let index=-1,path_dist=0;const fullId=row.id;const searchWord=searchWords[pos];const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem);if(in_args){addIntoResults(results_in_args,fullId,pos,-1,0,0,maxEditDistance)}const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem);if(returned){addIntoResults(results_returned,fullId,pos,-1,0,0,maxEditDistance)}if(!typePassesFilter(elem.typeFilter,row.ty)){return}const row_index=row.normalizedName.indexOf(elem.pathLast);const word_index=searchWord.indexOf(elem.pathLast);if(row_index===-1){index=word_index}else if(word_index===-1){index=row_index}else if(word_index1){path_dist=checkPath(elem.pathWithoutLast,row,maxEditDistance);if(path_dist>maxEditDistance){return}}if(parsedQuery.literalSearch){if(searchWord===elem.name){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(searchWord,elem.pathLast,maxEditDistance);if(index===-1&&dist+path_dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems)){return}if(!unifyFunctionTypes(row.type.output,parsedQuery.returned)){return}addIntoResults(results,row.id,pos,0,0,0,Number.MAX_VALUE)}function innerRunQuery(){let elem,i,nSearchWords,in_returned,row;let queryLen=0;for(const elem of parsedQuery.elems){queryLen+=elem.name.length}for(const elem of parsedQuery.returned){queryLen+=elem.name.length}const maxEditDistance=Math.floor(queryLen/3);function convertNameToId(elem){if(typeNameIdMap.has(elem.pathLast)){elem.id=typeNameIdMap.get(elem.pathLast)}else if(!parsedQuery.literalSearch){let match=-1;let matchDist=maxEditDistance+1;let matchName="";for(const[name,id]of typeNameIdMap){const dist=editDistance(name,elem.pathLast,maxEditDistance);if(dist<=matchDist&&dist<=maxEditDistance){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==-1){parsedQuery.correction=matchName}elem.id=match}for(const elem2 of elem.generics){convertNameToId(elem2)}}for(const elem of parsedQuery.elems){convertNameToId(elem)}for(const elem of parsedQuery.returned){convertNameToId(elem)}if(parsedQuery.foundElems===1){if(parsedQuery.elems.length===1){elem=parsedQuery.elems[0];for(i=0,nSearchWords=searchWords.length;i0){for(i=0,nSearchWords=searchWords.length;i-1||path.indexOf(key)>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(key)>-1)||editDistance(name,key,maxEditDistance)<=maxEditDistance)){return false}}return true}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}function buildHrefAndPath(item){let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;if(type==="mod"){displayPath=path+"::";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=ROOT_PATH+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=ROOT_PATH+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor="#"+type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=ROOT_PATH+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=ROOT_PATH+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){let extraClass="";if(display===true){extraClass=" active"}const output=document.createElement("div");let length=0;if(array.length>0){output.className="search-results "+extraClass;array.forEach(item=>{const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";length+=1;const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
\ ${item.alias} - see \
`}resultName.insertAdjacentHTML("beforeend",`
${alias}\ ${item.displayPath}${name}\ -
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}return{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];inputs=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];output=[{id:pathIndex===0?-1:buildTypeMapIndex(lowercasePaths[pathIndex-1].name),ty:pathIndex===0?null:lowercasePaths[pathIndex-1].ty,generics:[],}]}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file +
`);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)})}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(searchState.currentTab===tabNb){return""}return""}function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const ret_others=addTab(results.others,results.query,true);const ret_in_args=addTab(results.in_args,results.query,false);const ret_returned=addTab(results.returned,results.query,false);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";const crates_list=Object.keys(rawSearchIndex);if(crates_list.length>1){crates=" in 
"}let output=`

Results${crates}

`;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

Query parser error: "${error.join("")}".

`;output+="
"+makeTabHeader(0,"In Names",ret_others[1])+"
";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
"+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

"+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

`}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}function search(e,forced){if(e){e.preventDefault()}const query=parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="Results for "+query.original+" - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));showResults(execQuery(query,searchWords,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function buildItemSearchTypeAll(types,lowercasePaths){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;return types.map(type=>{let pathIndex,generics;if(typeof type==="number"){pathIndex=type;generics=[]}else{pathIndex=type[PATH_INDEX_DATA];generics=buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths)}if(pathIndex===0){return{id:-1,ty:null,path:null,generics:generics,}}const item=lowercasePaths[pathIndex-1];return{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics:generics,}})}function buildFunctionSearchType(functionSearchType,lowercasePaths){const INPUTS_DATA=0;const OUTPUT_DATA=1;if(functionSearchType===0){return null}let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){const pathIndex=functionSearchType[INPUTS_DATA];if(pathIndex===0){inputs=[{id:-1,ty:null,path:null,generics:[],}]}else{const item=lowercasePaths[pathIndex-1];inputs=[{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics:[],}]}}else{inputs=buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){const pathIndex=functionSearchType[OUTPUT_DATA];if(pathIndex===0){output=[{id:-1,ty:null,path:null,generics:[],}]}else{const item=lowercasePaths[pathIndex-1];output=[{id:buildTypeMapIndex(item.name),ty:item.ty,path:item.path,generics:[],}]}}else{output=buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths)}}else{output=[]}return{inputs,output,}}function buildIndex(rawSearchIndex){searchIndex=[];const searchWords=[];typeNameIdMap=new Map();const charA="A".charCodeAt(0);let currentIndex=0;let id=0;typeNameIdOfArray=buildTypeMapIndex("array");typeNameIdOfSlice=buildTypeMapIndex("slice");typeNameIdOfArrayOrSlice=buildTypeMapIndex("[]");for(const crate in rawSearchIndex){if(!hasOwnPropertyRustdoc(rawSearchIndex,crate)){continue}let crateSize=0;const crateCorpus=rawSearchIndex[crate];searchWords.push(crate);const crateRow={crate:crate,ty:1,name:crate,path:"",desc:crateCorpus.doc,parent:undefined,type:null,id:id,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),deprecated:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemDescs=crateCorpus.d;const itemParentIdxs=crateCorpus.i;const itemFunctionSearchTypes=crateCorpus.f;const deprecatedItems=new Set(crateCorpus.c);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}lowercasePaths.push({ty:ty,name:name.toLowerCase(),path:path});paths[i]={ty:ty,name:name,path:path}}lastPath="";len=itemTypes.length;for(let i=0;i0?paths[itemParentIdxs[i]-1]:undefined,type:buildFunctionSearchType(itemFunctionSearchTypes[i],lowercasePaths),id:id,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),deprecated:deprecatedItems.has(i),};id+=1;searchIndex.push(row);lastPath=row.path;crateSize+=1}if(aliases){const currentCrateAliases=new Map();ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!hasOwnPropertyRustdoc(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=crateSize}return searchWords}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;search(e)}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(undefined,true)}const searchWords=buildIndex(rawSearchIndex);if(typeof window!=="undefined"){registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}if(typeof exports!=="undefined"){exports.initSearch=initSearch;exports.execQuery=execQuery;exports.parseQuery=parseQuery}return searchWords}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch({})}})() \ No newline at end of file diff --git a/static.files/settings-de11bff964e9d4e5.js b/static.files/settings-74424d7eec62a23e.js similarity index 70% rename from static.files/settings-de11bff964e9d4e5.js rename to static.files/settings-74424d7eec62a23e.js index cc508a86..3014f75c 100644 --- a/static.files/settings-de11bff964e9d4e5.js +++ b/static.files/settings-74424d7eec62a23e.js @@ -1,4 +1,4 @@ -"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=function(){changeSetting(this.id,this.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\ +"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=()=>{changeSetting(toggle.id,toggle.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\
${setting_name}
`;onEach(setting["options"],option=>{const checked=option===setting["default"]?" checked":"";const full=`${js_data_name}-${option.replace(/ /g,"-")}`;output+=`\ @@ -14,4 +14,4 @@ \ ${setting_name}\ \ -
`}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
${buildSettingsPageSections(settings)}
`;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=function(event){event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=function(event){if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file +
`}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
${buildSettingsPageSections(settings)}
`;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display=""}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=event=>{event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=event=>{if(elemIsInParent(event.target,settingsMenu)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file diff --git a/static.files/settings-8c76f75bfb6bd192.css b/static.files/settings-8c76f75bfb6bd192.css deleted file mode 100644 index 5241bb86..00000000 --- a/static.files/settings-8c76f75bfb6bd192.css +++ /dev/null @@ -1,3 +0,0 @@ -.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ - \ - ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;} \ No newline at end of file diff --git a/static.files/storage-db41da1a38ea3cb8.js b/static.files/storage-db41da1a38ea3cb8.js deleted file mode 100644 index b8728135..00000000 --- a/static.files/storage-db41da1a38ea3cb8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}let newHref;if(newThemeName==="light"||newThemeName==="dark"||newThemeName==="ayu"){newHref=getVar("static-root-path")+getVar("theme-"+newThemeName+"-css")}else{newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css"}if(!window.currentTheme){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/static.files/storage-fec3eaa3851e447d.js b/static.files/storage-fec3eaa3851e447d.js new file mode 100644 index 00000000..a687118f --- /dev/null +++ b/static.files/storage-fec3eaa3851e447d.js @@ -0,0 +1 @@ +"use strict";const builtinThemes=["light","dark","ayu"];const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func,reversed){if(arr&&arr.length>0){if(reversed){for(let i=arr.length-1;i>=0;--i){if(func(arr[i])){return true}}}else{for(const elem of arr){if(func(elem)){return true}}}}return false}function onEachLazy(lazyArray,func,reversed){return onEach(Array.prototype.slice.call(lazyArray),func,reversed)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){if(saveTheme){updateLocalStorage("theme",newThemeName)}document.documentElement.setAttribute("data-theme",newThemeName);if(builtinThemes.indexOf(newThemeName)!==-1){if(window.currentTheme){window.currentTheme.parentNode.removeChild(window.currentTheme);window.currentTheme=null}}else{const newHref=getVar("root-path")+newThemeName+getVar("resource-suffix")+".css";if(!window.currentTheme){if(document.readyState==="loading"){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else{window.currentTheme=document.createElement("link");window.currentTheme.rel="stylesheet";window.currentTheme.id="themeStyle";window.currentTheme.href=newHref;document.documentElement.appendChild(window.currentTheme)}}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0)}}) \ No newline at end of file diff --git a/twitch_types/all.html b/twitch_types/all.html index 52180193..85c7c06d 100644 --- a/twitch_types/all.html +++ b/twitch_types/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Type Aliases

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Type Aliases

\ No newline at end of file diff --git a/twitch_types/color/enum.NamedUserColor.html b/twitch_types/color/enum.NamedUserColor.html index 94d92c49..1848b060 100644 --- a/twitch_types/color/enum.NamedUserColor.html +++ b/twitch_types/color/enum.NamedUserColor.html @@ -1,4 +1,4 @@ -NamedUserColor in twitch_types::color - Rust
source§

impl<'a> Clone for NamedUserColor<'a>

source§

fn clone(&self) -> NamedUserColor<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for NamedUserColor<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for NamedUserColor<'a>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NamedUserColor<'_>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<Cow<'a, HexColorRef>> for NamedUserColor<'a>

source§

fn from(color: Cow<'a, HexColorRef>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HexColor> for NamedUserColor<'a>

source§

fn from(color: HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> PartialEq<NamedUserColor<'a>> for NamedUserColor<'a>

source§

fn eq(&self, other: &NamedUserColor<'a>) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for NamedUserColor<'_>

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a> TryFrom<&'a str> for NamedUserColor<'a>

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(s: &'a str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'zf, 'zf_inner> ZeroFrom<'zf, NamedUserColor<'zf_inner>> for NamedUserColor<'zf>

Available on crate feature zerofrom only.
source§

fn zero_from(this: &'zf NamedUserColor<'zf_inner>) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'a> Eq for NamedUserColor<'a>

source§

impl<'a> StructuralEq for NamedUserColor<'a>

source§

impl<'a> StructuralPartialEq for NamedUserColor<'a>

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for NamedUserColor<'a>

§

impl<'a> Send for NamedUserColor<'a>

§

impl<'a> Sync for NamedUserColor<'a>

§

impl<'a> Unpin for NamedUserColor<'a>

§

impl<'a> UnwindSafe for NamedUserColor<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/twitch_types/color/index.html b/twitch_types/color/index.html index 283067a9..10e3bf04 100644 --- a/twitch_types/color/index.html +++ b/twitch_types/color/index.html @@ -1,2 +1,2 @@ -twitch_types::color - Rust

Module twitch_types::color

source ·
Available on crate feature color only.
Expand description

types for colors

+twitch_types::color - Rust

Module twitch_types::color

source ·
Available on crate feature color only.
Expand description

types for colors

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/color/struct.HexColor.html b/twitch_types/color/struct.HexColor.html index 66d6d45e..a07cc9f3 100644 --- a/twitch_types/color/struct.HexColor.html +++ b/twitch_types/color/struct.HexColor.html @@ -1,4 +1,4 @@ -HexColor in twitch_types::color - Rust
#[repr(transparent)]
pub struct HexColor(_);
Available on crate feature color only.
Expand description

A color in hex

+HexColor in twitch_types::color - Rust
#[repr(transparent)]
pub struct HexColor(/* private fields */);
Available on crate feature color only.
Expand description

A color in hex

Implementations§

source§

impl HexColor

source

pub const fn new(raw: String) -> Self

Constructs a new HexColor

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newHexColorfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<HexColorRef>

Converts this HexColor into a Box<HexColorRef>

@@ -9,23 +9,23 @@ Cow<'_, HexColorRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for HexColor

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<HexColorRef> for HexColor

source§

fn as_ref(&self) -> &HexColorRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HexColor

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HexColorRef> for HexColor

source§

fn borrow(&self) -> &HexColorRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HexColor

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for HexColor

source§

fn clone(&self) -> HexColor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HexColor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for HexColor

§

type Target = HexColorRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for HexColor

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HexColor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a HexColor> for &'a HexColorRef

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColor> for Cow<'a, HexColorRef>

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for HexColor

source§

fn from(s: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for HexColor

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<HexColorRef, Global>> for HexColor

source§

fn from(r: Box<HexColorRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for HexColor

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, HexColorRef>> for HexColor

source§

fn from(r: Cow<'a, HexColorRef>) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for Box<HexColorRef>

source§

fn from(r: HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HexColor> for Cow<'a, HexColorRef>

source§

fn from(owned: HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HexColor> for NamedUserColor<'a>

source§

fn from(color: HexColor) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for String

source§

fn from(s: HexColor) -> Self

Converts to this type from the input type.
source§

impl From<String> for HexColor

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for HexColor

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for HexColor

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<HexColorRef> for HexColor

source§

fn as_ref(&self) -> &HexColorRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HexColor

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HexColorRef> for HexColor

source§

fn borrow(&self) -> &HexColorRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HexColor

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for HexColor

source§

fn clone(&self) -> HexColor

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HexColor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for HexColor

§

type Target = HexColorRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for HexColor

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HexColor

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a HexColor> for &'a HexColorRef

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColor> for Cow<'a, HexColorRef>

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for HexColor

source§

fn from(s: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for HexColor

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<HexColorRef, Global>> for HexColor

source§

fn from(r: Box<HexColorRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for HexColor

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, HexColorRef>> for HexColor

source§

fn from(r: Cow<'a, HexColorRef>) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for Box<HexColorRef>

source§

fn from(r: HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HexColor> for Cow<'a, HexColorRef>

source§

fn from(owned: HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HexColor> for NamedUserColor<'a>

source§

fn from(color: HexColor) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for String

source§

fn from(s: HexColor) -> Self

Converts to this type from the input type.
source§

impl From<String> for HexColor

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for HexColor

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for HexColor

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl Ord for HexColor

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl Ord for HexColor

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&HexColorRef> for HexColor

source§

fn eq(&self, other: &&HexColorRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for &HexColorRef

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for &HexColorRef

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for HexColor

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for HexColorRef

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColorRef> for HexColor

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HexColor> for HexColor

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColorRef> for HexColor

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HexColor> for HexColor

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for HexColor

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, HexColor> for &'zf HexColorRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HexColor) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HexColor

source§

impl StructuralEq for HexColor

source§

impl StructuralPartialEq for HexColor

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/color/struct.HexColorRef.html b/twitch_types/color/struct.HexColorRef.html index 845f5e18..f88bd840 100644 --- a/twitch_types/color/struct.HexColorRef.html +++ b/twitch_types/color/struct.HexColorRef.html @@ -1,23 +1,23 @@ -HexColorRef in twitch_types::color - Rust
#[repr(transparent)]
pub struct HexColorRef(_);
Available on crate feature color only.
Expand description

A color in hex

+HexColorRef in twitch_types::color - Rust
#[repr(transparent)]
pub struct HexColorRef(/* private fields */);
Available on crate feature color only.
Expand description

A color in hex

Implementations§

source§

impl HexColorRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed HexColorRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed HexColorRef

source

pub fn into_owned(self: Box<HexColorRef>) -> HexColor

Converts a Box<HexColorRef> into a HexColor without copying or allocating

source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

source§

impl HexColorRef

source

pub fn as_cow(&self) -> Cow<'_, HexColorRef>

Trait Implementations§

source§

impl AsRef<HexColorRef> for HexColor

source§

fn as_ref(&self) -> &HexColorRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HexColorRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HexColorRef> for HexColor

source§

fn borrow(&self) -> &HexColorRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HexColorRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for HexColorRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a HexColorRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<HexColorRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HexColorRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, HexColorRef>> for &'a HexColorRef

source§

fn from(r: &'a Cow<'b, HexColorRef>) -> &'a HexColorRef

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColor> for &'a HexColorRef

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColorRef> for Cow<'a, HexColorRef>

source§

fn from(r: &'a HexColorRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a HexColorRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a HexColorRef

source§

fn from(s: &'a str) -> &'a HexColorRef

Converts to this type from the input type.
source§

impl From<&HexColorRef> for Arc<HexColorRef>

source§

fn from(r: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for HexColor

source§

fn from(s: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for Rc<HexColorRef>

source§

fn from(r: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for Box<HexColorRef>

source§

fn from(r: HexColor) -> Self

Converts to this type from the input type.
source§

impl Hash for HexColorRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColorRef

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl Ord for HexColorRef

source§

fn cmp(&self, other: &HexColorRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&HexColorRef> for HexColor

source§

fn eq(&self, other: &&HexColorRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +

Trait Implementations§

source§

impl AsRef<HexColorRef> for HexColor

source§

fn as_ref(&self) -> &HexColorRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HexColorRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HexColorRef> for HexColor

source§

fn borrow(&self) -> &HexColorRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HexColorRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for HexColorRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a HexColorRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<HexColorRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HexColorRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, HexColorRef>> for &'a HexColorRef

source§

fn from(r: &'a Cow<'b, HexColorRef>) -> &'a HexColorRef

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColor> for &'a HexColorRef

source§

fn from(owned: &'a HexColor) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HexColorRef> for Cow<'a, HexColorRef>

source§

fn from(r: &'a HexColorRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a HexColorRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a HexColorRef

source§

fn from(s: &'a str) -> &'a HexColorRef

Converts to this type from the input type.
source§

impl From<&HexColorRef> for Arc<HexColorRef>

source§

fn from(r: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for HexColor

source§

fn from(s: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<&HexColorRef> for Rc<HexColorRef>

source§

fn from(r: &HexColorRef) -> Self

Converts to this type from the input type.
source§

impl From<HexColor> for Box<HexColorRef>

source§

fn from(r: HexColor) -> Self

Converts to this type from the input type.
source§

impl Hash for HexColorRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColorRef

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

source§

fn into_cow(self) -> Cow<'a, HexColorRef>

Make the cow with proper ownership, muu
source§

impl Ord for HexColorRef

source§

fn cmp(&self, other: &HexColorRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&HexColorRef> for HexColor

source§

fn eq(&self, other: &&HexColorRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for &HexColorRef

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColor> for HexColorRef

source§

fn eq(&self, other: &HexColor) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColorRef> for HexColor

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColorRef> for HexColorRef

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HexColorRef> for HexColorRef

source§

fn partial_cmp(&self, other: &HexColorRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for HexColorRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for HexColorRef

§

type Owned = HexColor

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, HexColor> for &'zf HexColorRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HexColor) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, HexColorRef> for &'zf HexColorRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HexColorRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HexColorRef

source§

impl StructuralEq for HexColorRef

source§

impl StructuralPartialEq for HexColorRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

source§

impl PartialEq<HexColorRef> for HexColor

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HexColorRef> for HexColorRef

source§

fn eq(&self, other: &HexColorRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HexColorRef> for HexColorRef

source§

fn partial_cmp(&self, other: &HexColorRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for HexColorRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for HexColorRef

§

type Owned = HexColor

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, HexColor> for &'zf HexColorRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HexColor) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, HexColorRef> for &'zf HexColorRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HexColorRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HexColorRef

source§

impl StructuralEq for HexColorRef

source§

impl StructuralPartialEq for HexColorRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/emote/enum.EmoteAnimationSetting.html b/twitch_types/emote/enum.EmoteAnimationSetting.html index eb0c0242..50ca8dd0 100644 --- a/twitch_types/emote/enum.EmoteAnimationSetting.html +++ b/twitch_types/emote/enum.EmoteAnimationSetting.html @@ -1,14 +1,14 @@ -EmoteAnimationSetting in twitch_types::emote - Rust
pub enum EmoteAnimationSetting {
+EmoteAnimationSetting in twitch_types::emote - Rust
pub enum EmoteAnimationSetting {
     Static,
     Animated,
 }
Available on crate feature emote only.
Expand description

Formats for an emote.

Variants§

§

Static

Static

§

Animated

Animated

-

Trait Implementations§

source§

impl Clone for EmoteAnimationSetting

source§

fn clone(&self) -> EmoteAnimationSetting

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteAnimationSetting

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmoteAnimationSetting

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteAnimationSetting

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteAnimationSetting> for EmoteAnimationSetting

source§

fn eq(&self, other: &EmoteAnimationSetting) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteAnimationSetting

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for EmoteAnimationSetting

source§

impl StructuralEq for EmoteAnimationSetting

source§

impl StructuralPartialEq for EmoteAnimationSetting

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for EmoteAnimationSetting

source§

fn clone(&self) -> EmoteAnimationSetting

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteAnimationSetting

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EmoteAnimationSetting

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteAnimationSetting

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteAnimationSetting> for EmoteAnimationSetting

source§

fn eq(&self, other: &EmoteAnimationSetting) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteAnimationSetting

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for EmoteAnimationSetting

source§

impl StructuralEq for EmoteAnimationSetting

source§

impl StructuralPartialEq for EmoteAnimationSetting

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Variants§

§

Size1_0

1.0

§

Size2_0

2.0

§

Size3_0

3.0

-

Trait Implementations§

source§

impl Clone for EmoteScale

source§

fn clone(&self) -> EmoteScale

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteScale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmoteScale

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmoteScale

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteScale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteScale> for EmoteScale

source§

fn eq(&self, other: &EmoteScale) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteScale

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for EmoteScale

source§

impl StructuralEq for EmoteScale

source§

impl StructuralPartialEq for EmoteScale

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for EmoteScale

source§

fn clone(&self) -> EmoteScale

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteScale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmoteScale

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmoteScale

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteScale

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteScale> for EmoteScale

source§

fn eq(&self, other: &EmoteScale) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteScale

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for EmoteScale

source§

impl StructuralEq for EmoteScale

source§

impl StructuralPartialEq for EmoteScale

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/enum.EmoteThemeMode.html b/twitch_types/emote/enum.EmoteThemeMode.html index 694c90e6..384089f3 100644 --- a/twitch_types/emote/enum.EmoteThemeMode.html +++ b/twitch_types/emote/enum.EmoteThemeMode.html @@ -1,13 +1,13 @@ -EmoteThemeMode in twitch_types::emote - Rust
pub enum EmoteThemeMode {
+EmoteThemeMode in twitch_types::emote - Rust
pub enum EmoteThemeMode {
     Light,
     Dark,
 }
Available on crate feature emote only.
Expand description

Background themes available for an emote.

Variants§

§

Light

Light

§

Dark

Dark

-

Trait Implementations§

source§

impl Clone for EmoteThemeMode

source§

fn clone(&self) -> EmoteThemeMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteThemeMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmoteThemeMode

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmoteThemeMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteThemeMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteThemeMode> for EmoteThemeMode

source§

fn eq(&self, other: &EmoteThemeMode) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteThemeMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where +

Trait Implementations§

source§

impl Clone for EmoteThemeMode

source§

fn clone(&self) -> EmoteThemeMode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteThemeMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EmoteThemeMode

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for EmoteThemeMode

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteThemeMode

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<EmoteThemeMode> for EmoteThemeMode

source§

fn eq(&self, other: &EmoteThemeMode) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for EmoteThemeMode

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for EmoteThemeMode

source§

impl StructuralEq for EmoteThemeMode

source§

impl StructuralPartialEq for EmoteThemeMode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/emote/index.html b/twitch_types/emote/index.html index f0dcab1f..2397facc 100644 --- a/twitch_types/emote/index.html +++ b/twitch_types/emote/index.html @@ -1,2 +1,2 @@ -twitch_types::emote - Rust

Module twitch_types::emote

source ·
Available on crate feature emote only.
Expand description

types for emotes

+twitch_types::emote - Rust

Module twitch_types::emote

source ·
Available on crate feature emote only.
Expand description

types for emotes

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/emote/struct.BadgeSetId.html b/twitch_types/emote/struct.BadgeSetId.html index 42954ea1..20d058f8 100644 --- a/twitch_types/emote/struct.BadgeSetId.html +++ b/twitch_types/emote/struct.BadgeSetId.html @@ -1,32 +1,32 @@ -BadgeSetId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct BadgeSetId(_);
Available on crate feature emote only.
Expand description

A Badge set ID

-

Implementations§

source§

impl BadgeSetId

source

pub const fn new(raw: String) -> Self

Constructs a new BadgeSetId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newBadgeSetIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<BadgeSetIdRef>

Converts this BadgeSetId into a Box<BadgeSetIdRef>

+BadgeSetId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct BadgeSetId(/* private fields */);
Available on crate feature emote only.
Expand description

A Badge set ID

+

Implementations§

source§

impl BadgeSetId

source

pub const fn new(raw: String) -> Self

Constructs a new BadgeSetId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newBadgeSetIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<BadgeSetIdRef>

Converts this BadgeSetId into a Box<BadgeSetIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = BadgeSetIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, BadgeSetIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = BadgeSetIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, BadgeSetIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for BadgeSetId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<BadgeSetIdRef> for BadgeSetId

source§

fn as_ref(&self) -> &BadgeSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BadgeSetId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BadgeSetIdRef> for BadgeSetId

source§

fn borrow(&self) -> &BadgeSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BadgeSetId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for BadgeSetId

source§

fn clone(&self) -> BadgeSetId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BadgeSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for BadgeSetId

§

type Target = BadgeSetIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for BadgeSetId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BadgeSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BadgeSetId> for Cow<'a, BadgeSetIdRef>

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for BadgeSetId

source§

fn from(s: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for BadgeSetId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for Box<BadgeSetIdRef>

source§

fn from(r: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>

source§

fn from(owned: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for String

source§

fn from(s: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<Box<BadgeSetIdRef, Global>> for BadgeSetId

source§

fn from(r: Box<BadgeSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for BadgeSetId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId

source§

fn from(r: Cow<'a, BadgeSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for BadgeSetId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for BadgeSetId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BadgeSetId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for BadgeSetId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<BadgeSetIdRef> for BadgeSetId

source§

fn as_ref(&self) -> &BadgeSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BadgeSetId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BadgeSetIdRef> for BadgeSetId

source§

fn borrow(&self) -> &BadgeSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BadgeSetId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for BadgeSetId

source§

fn clone(&self) -> BadgeSetId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BadgeSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for BadgeSetId

§

type Target = BadgeSetIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for BadgeSetId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BadgeSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BadgeSetId> for Cow<'a, BadgeSetIdRef>

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for BadgeSetId

source§

fn from(s: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for BadgeSetId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for Box<BadgeSetIdRef>

source§

fn from(r: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<BadgeSetId> for Cow<'a, BadgeSetIdRef>

source§

fn from(owned: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for String

source§

fn from(s: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl From<Box<BadgeSetIdRef, Global>> for BadgeSetId

source§

fn from(r: Box<BadgeSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for BadgeSetId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, BadgeSetIdRef>> for BadgeSetId

source§

fn from(r: Cow<'a, BadgeSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for BadgeSetId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for BadgeSetId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BadgeSetId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BadgeSetId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &&BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for &BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BadgeSetId> for BadgeSetId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for BadgeSetId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BadgeSetId

source§

impl StructuralEq for BadgeSetId

source§

impl StructuralPartialEq for BadgeSetId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BadgeSetId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &&BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for &BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BadgeSetId> for BadgeSetId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for BadgeSetId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BadgeSetId

source§

impl StructuralEq for BadgeSetId

source§

impl StructuralPartialEq for BadgeSetId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/struct.BadgeSetIdRef.html b/twitch_types/emote/struct.BadgeSetIdRef.html index 5125c610..66ac99ce 100644 --- a/twitch_types/emote/struct.BadgeSetIdRef.html +++ b/twitch_types/emote/struct.BadgeSetIdRef.html @@ -1,25 +1,25 @@ -BadgeSetIdRef in twitch_types::emote - Rust
#[repr(transparent)]
pub struct BadgeSetIdRef(_);
Available on crate feature emote only.
Expand description

A Badge set ID

-

Implementations§

source§

impl BadgeSetIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed BadgeSetIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed BadgeSetIdRef

-
source

pub fn into_owned(self: Box<BadgeSetIdRef>) -> BadgeSetId

Converts a Box<BadgeSetIdRef> into a BadgeSetId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl BadgeSetIdRef

source

pub fn as_cow(&self) -> Cow<'_, BadgeSetIdRef>

Get a +BadgeSetIdRef in twitch_types::emote - Rust

#[repr(transparent)]
pub struct BadgeSetIdRef(/* private fields */);
Available on crate feature emote only.
Expand description

A Badge set ID

+

Implementations§

source§

impl BadgeSetIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed BadgeSetIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed BadgeSetIdRef

+
source

pub fn into_owned(self: Box<BadgeSetIdRef>) -> BadgeSetId

Converts a Box<BadgeSetIdRef> into a BadgeSetId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl BadgeSetIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a BadgeSetIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<BadgeSetIdRef> for BadgeSetId

source§

fn as_ref(&self) -> &BadgeSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BadgeSetIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BadgeSetIdRef> for BadgeSetId

source§

fn borrow(&self) -> &BadgeSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BadgeSetIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for BadgeSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a BadgeSetIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<BadgeSetIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BadgeSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BadgeSetIdRef> for Cow<'a, BadgeSetIdRef>

source§

fn from(r: &'a BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, BadgeSetIdRef>> for &'a BadgeSetIdRef

source§

fn from(r: &'a Cow<'b, BadgeSetIdRef>) -> &'a BadgeSetIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a BadgeSetIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a BadgeSetIdRef

source§

fn from(s: &'a str) -> &'a BadgeSetIdRef

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for Arc<BadgeSetIdRef>

source§

fn from(r: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for BadgeSetId

source§

fn from(s: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for Rc<BadgeSetIdRef>

source§

fn from(r: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for Box<BadgeSetIdRef>

source§

fn from(r: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl Hash for BadgeSetIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetIdRef

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BadgeSetIdRef

source§

fn cmp(&self, other: &BadgeSetIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &&BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for &BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BadgeSetIdRef> for BadgeSetIdRef

source§

fn partial_cmp(&self, other: &BadgeSetIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for BadgeSetIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for BadgeSetIdRef

§

type Owned = BadgeSetId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, BadgeSetIdRef> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BadgeSetIdRef

source§

impl StructuralEq for BadgeSetIdRef

source§

impl StructuralPartialEq for BadgeSetIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a BadgeSetIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<BadgeSetIdRef> for BadgeSetId

source§

fn as_ref(&self) -> &BadgeSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BadgeSetIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BadgeSetIdRef> for BadgeSetId

source§

fn borrow(&self) -> &BadgeSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BadgeSetIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for BadgeSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a BadgeSetIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<BadgeSetIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BadgeSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BadgeSetId> for &'a BadgeSetIdRef

source§

fn from(owned: &'a BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BadgeSetIdRef> for Cow<'a, BadgeSetIdRef>

source§

fn from(r: &'a BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, BadgeSetIdRef>> for &'a BadgeSetIdRef

source§

fn from(r: &'a Cow<'b, BadgeSetIdRef>) -> &'a BadgeSetIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a BadgeSetIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a BadgeSetIdRef

source§

fn from(s: &'a str) -> &'a BadgeSetIdRef

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for Arc<BadgeSetIdRef>

source§

fn from(r: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for BadgeSetId

source§

fn from(s: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BadgeSetIdRef> for Rc<BadgeSetIdRef>

source§

fn from(r: &BadgeSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<BadgeSetId> for Box<BadgeSetIdRef>

source§

fn from(r: BadgeSetId) -> Self

Converts to this type from the input type.
source§

impl Hash for BadgeSetIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetIdRef

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

source§

fn into_cow(self) -> Cow<'a, BadgeSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BadgeSetIdRef

source§

fn cmp(&self, other: &BadgeSetIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &&BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for &BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetId> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetId

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BadgeSetIdRef> for BadgeSetIdRef

source§

fn eq(&self, other: &BadgeSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BadgeSetIdRef> for BadgeSetIdRef

source§

fn partial_cmp(&self, other: &BadgeSetIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for BadgeSetIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for BadgeSetIdRef

§

type Owned = BadgeSetId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, BadgeSetId> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, BadgeSetIdRef> for &'zf BadgeSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BadgeSetIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BadgeSetIdRef

source§

impl StructuralEq for BadgeSetIdRef

source§

impl StructuralPartialEq for BadgeSetIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/emote/struct.ChatBadgeId.html b/twitch_types/emote/struct.ChatBadgeId.html index 8685db73..a45901a6 100644 --- a/twitch_types/emote/struct.ChatBadgeId.html +++ b/twitch_types/emote/struct.ChatBadgeId.html @@ -1,32 +1,32 @@ -ChatBadgeId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct ChatBadgeId(_);
Available on crate feature emote only.
Expand description

A channel chat badge ID

-

Implementations§

source§

impl ChatBadgeId

source

pub const fn new(raw: String) -> Self

Constructs a new ChatBadgeId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newChatBadgeIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<ChatBadgeIdRef>

Converts this ChatBadgeId into a Box<ChatBadgeIdRef>

+ChatBadgeId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct ChatBadgeId(/* private fields */);
Available on crate feature emote only.
Expand description

A channel chat badge ID

+

Implementations§

source§

impl ChatBadgeId

source

pub const fn new(raw: String) -> Self

Constructs a new ChatBadgeId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newChatBadgeIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<ChatBadgeIdRef>

Converts this ChatBadgeId into a Box<ChatBadgeIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = ChatBadgeIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, ChatBadgeIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = ChatBadgeIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, ChatBadgeIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for ChatBadgeId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<ChatBadgeIdRef> for ChatBadgeId

source§

fn as_ref(&self) -> &ChatBadgeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ChatBadgeId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ChatBadgeIdRef> for ChatBadgeId

source§

fn borrow(&self) -> &ChatBadgeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ChatBadgeId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for ChatBadgeId

source§

fn clone(&self) -> ChatBadgeId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ChatBadgeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ChatBadgeId

§

type Target = ChatBadgeIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ChatBadgeId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ChatBadgeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ChatBadgeId> for Cow<'a, ChatBadgeIdRef>

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for ChatBadgeId

source§

fn from(s: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for ChatBadgeId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<ChatBadgeIdRef, Global>> for ChatBadgeId

source§

fn from(r: Box<ChatBadgeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for ChatBadgeId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for Box<ChatBadgeIdRef>

source§

fn from(r: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<ChatBadgeId> for Cow<'a, ChatBadgeIdRef>

source§

fn from(owned: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for String

source§

fn from(s: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, ChatBadgeIdRef>> for ChatBadgeId

source§

fn from(r: Cow<'a, ChatBadgeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for ChatBadgeId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for ChatBadgeId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ChatBadgeId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for ChatBadgeId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<ChatBadgeIdRef> for ChatBadgeId

source§

fn as_ref(&self) -> &ChatBadgeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ChatBadgeId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ChatBadgeIdRef> for ChatBadgeId

source§

fn borrow(&self) -> &ChatBadgeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ChatBadgeId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for ChatBadgeId

source§

fn clone(&self) -> ChatBadgeId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ChatBadgeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ChatBadgeId

§

type Target = ChatBadgeIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ChatBadgeId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ChatBadgeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ChatBadgeId> for Cow<'a, ChatBadgeIdRef>

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for ChatBadgeId

source§

fn from(s: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for ChatBadgeId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<ChatBadgeIdRef, Global>> for ChatBadgeId

source§

fn from(r: Box<ChatBadgeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for ChatBadgeId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for Box<ChatBadgeIdRef>

source§

fn from(r: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<ChatBadgeId> for Cow<'a, ChatBadgeIdRef>

source§

fn from(owned: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for String

source§

fn from(s: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, ChatBadgeIdRef>> for ChatBadgeId

source§

fn from(r: Cow<'a, ChatBadgeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for ChatBadgeId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for ChatBadgeId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ChatBadgeId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ChatBadgeId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &&ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ChatBadgeId> for ChatBadgeId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for ChatBadgeId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ChatBadgeId

source§

impl StructuralEq for ChatBadgeId

source§

impl StructuralPartialEq for ChatBadgeId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ChatBadgeId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &&ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ChatBadgeId> for ChatBadgeId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for ChatBadgeId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ChatBadgeId

source§

impl StructuralEq for ChatBadgeId

source§

impl StructuralPartialEq for ChatBadgeId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/struct.ChatBadgeIdRef.html b/twitch_types/emote/struct.ChatBadgeIdRef.html index fa1632d3..78f586f0 100644 --- a/twitch_types/emote/struct.ChatBadgeIdRef.html +++ b/twitch_types/emote/struct.ChatBadgeIdRef.html @@ -1,25 +1,25 @@ -ChatBadgeIdRef in twitch_types::emote - Rust
#[repr(transparent)]
pub struct ChatBadgeIdRef(_);
Available on crate feature emote only.
Expand description

A channel chat badge ID

-

Implementations§

source§

impl ChatBadgeIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed ChatBadgeIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed ChatBadgeIdRef

-
source

pub fn into_owned(self: Box<ChatBadgeIdRef>) -> ChatBadgeId

Converts a Box<ChatBadgeIdRef> into a ChatBadgeId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl ChatBadgeIdRef

source

pub fn as_cow(&self) -> Cow<'_, ChatBadgeIdRef>

Get a +ChatBadgeIdRef in twitch_types::emote - Rust

#[repr(transparent)]
pub struct ChatBadgeIdRef(/* private fields */);
Available on crate feature emote only.
Expand description

A channel chat badge ID

+

Implementations§

source§

impl ChatBadgeIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed ChatBadgeIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed ChatBadgeIdRef

+
source

pub fn into_owned(self: Box<ChatBadgeIdRef>) -> ChatBadgeId

Converts a Box<ChatBadgeIdRef> into a ChatBadgeId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl ChatBadgeIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a ChatBadgeIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<ChatBadgeIdRef> for ChatBadgeId

source§

fn as_ref(&self) -> &ChatBadgeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ChatBadgeIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ChatBadgeIdRef> for ChatBadgeId

source§

fn borrow(&self) -> &ChatBadgeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ChatBadgeIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for ChatBadgeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a ChatBadgeIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<ChatBadgeIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ChatBadgeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ChatBadgeIdRef> for Cow<'a, ChatBadgeIdRef>

source§

fn from(r: &'a ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, ChatBadgeIdRef>> for &'a ChatBadgeIdRef

source§

fn from(r: &'a Cow<'b, ChatBadgeIdRef>) -> &'a ChatBadgeIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a ChatBadgeIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a ChatBadgeIdRef

source§

fn from(s: &'a str) -> &'a ChatBadgeIdRef

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for Arc<ChatBadgeIdRef>

source§

fn from(r: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for ChatBadgeId

source§

fn from(s: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for Rc<ChatBadgeIdRef>

source§

fn from(r: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for Box<ChatBadgeIdRef>

source§

fn from(r: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl Hash for ChatBadgeIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeIdRef

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ChatBadgeIdRef

source§

fn cmp(&self, other: &ChatBadgeIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &&ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ChatBadgeIdRef> for ChatBadgeIdRef

source§

fn partial_cmp(&self, other: &ChatBadgeIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for ChatBadgeIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for ChatBadgeIdRef

§

type Owned = ChatBadgeId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeIdRef> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ChatBadgeIdRef

source§

impl StructuralEq for ChatBadgeIdRef

source§

impl StructuralPartialEq for ChatBadgeIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a ChatBadgeIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<ChatBadgeIdRef> for ChatBadgeId

source§

fn as_ref(&self) -> &ChatBadgeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ChatBadgeIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ChatBadgeIdRef> for ChatBadgeId

source§

fn borrow(&self) -> &ChatBadgeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ChatBadgeIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for ChatBadgeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a ChatBadgeIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<ChatBadgeIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ChatBadgeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ChatBadgeId> for &'a ChatBadgeIdRef

source§

fn from(owned: &'a ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ChatBadgeIdRef> for Cow<'a, ChatBadgeIdRef>

source§

fn from(r: &'a ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, ChatBadgeIdRef>> for &'a ChatBadgeIdRef

source§

fn from(r: &'a Cow<'b, ChatBadgeIdRef>) -> &'a ChatBadgeIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a ChatBadgeIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a ChatBadgeIdRef

source§

fn from(s: &'a str) -> &'a ChatBadgeIdRef

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for Arc<ChatBadgeIdRef>

source§

fn from(r: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for ChatBadgeId

source§

fn from(s: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ChatBadgeIdRef> for Rc<ChatBadgeIdRef>

source§

fn from(r: &ChatBadgeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<ChatBadgeId> for Box<ChatBadgeIdRef>

source§

fn from(r: ChatBadgeId) -> Self

Converts to this type from the input type.
source§

impl Hash for ChatBadgeIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeIdRef

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

source§

fn into_cow(self) -> Cow<'a, ChatBadgeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ChatBadgeIdRef

source§

fn cmp(&self, other: &ChatBadgeIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &&ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for &ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeId> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeId

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ChatBadgeIdRef> for ChatBadgeIdRef

source§

fn eq(&self, other: &ChatBadgeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ChatBadgeIdRef> for ChatBadgeIdRef

source§

fn partial_cmp(&self, other: &ChatBadgeIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for ChatBadgeIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for ChatBadgeIdRef

§

type Owned = ChatBadgeId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeId> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, ChatBadgeIdRef> for &'zf ChatBadgeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ChatBadgeIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ChatBadgeIdRef

source§

impl StructuralEq for ChatBadgeIdRef

source§

impl StructuralPartialEq for ChatBadgeIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/emote/struct.EmoteId.html b/twitch_types/emote/struct.EmoteId.html index 5279c820..a545eda7 100644 --- a/twitch_types/emote/struct.EmoteId.html +++ b/twitch_types/emote/struct.EmoteId.html @@ -1,35 +1,35 @@ -EmoteId in twitch_types::emote - Rust

Struct twitch_types::emote::EmoteId

source ·
#[repr(transparent)]
pub struct EmoteId(_);
Available on crate feature emote only.
Expand description

A chat Emote ID

-

Implementations§

source§

impl EmoteId

source

pub const fn new(raw: String) -> Self

Constructs a new EmoteId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newEmoteIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<EmoteIdRef>

Converts this EmoteId into a Box<EmoteIdRef>

+EmoteId in twitch_types::emote - Rust

Struct twitch_types::emote::EmoteId

source ·
#[repr(transparent)]
pub struct EmoteId(/* private fields */);
Available on crate feature emote only.
Expand description

A chat Emote ID

+

Implementations§

source§

impl EmoteId

source

pub const fn new(raw: String) -> Self

Constructs a new EmoteId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newEmoteIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<EmoteIdRef>

Converts this EmoteId into a Box<EmoteIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = EmoteIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, EmoteIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = EmoteIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, EmoteIdRef>

source

pub fn default_render(&self) -> String

Generates url for this emote.

+
source

pub fn default_render(&self) -> String

Generates url for this emote.

Generated URL will be "https://static-cdn.jtvnw.net/emoticons/v2/{emote_id}/default/light/1.0"

-
source

pub fn url(&self) -> EmoteUrlBuilder<'_>

Create a EmoteUrlBuilder for this emote

-

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for EmoteId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EmoteIdRef> for EmoteId

source§

fn as_ref(&self) -> &EmoteIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteIdRef> for EmoteId

source§

fn borrow(&self) -> &EmoteIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EmoteId

source§

fn clone(&self) -> EmoteId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EmoteId

§

type Target = EmoteIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EmoteId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EmoteId> for &'a EmoteIdRef

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteId> for Cow<'a, EmoteIdRef>

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for EmoteId

source§

fn from(s: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EmoteId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EmoteIdRef, Global>> for EmoteId

source§

fn from(r: Box<EmoteIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EmoteId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EmoteIdRef>> for EmoteId

source§

fn from(r: Cow<'a, EmoteIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for Box<EmoteIdRef>

source§

fn from(r: EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EmoteId> for Cow<'a, EmoteIdRef>

source§

fn from(owned: EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for String

source§

fn from(s: EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EmoteId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EmoteId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EmoteId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

source

pub fn url(&self) -> EmoteUrlBuilder<'_>

Create a EmoteUrlBuilder for this emote

+

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for EmoteId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<EmoteIdRef> for EmoteId

source§

fn as_ref(&self) -> &EmoteIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteIdRef> for EmoteId

source§

fn borrow(&self) -> &EmoteIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EmoteId

source§

fn clone(&self) -> EmoteId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EmoteId

§

type Target = EmoteIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EmoteId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EmoteId> for &'a EmoteIdRef

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteId> for Cow<'a, EmoteIdRef>

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for EmoteId

source§

fn from(s: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EmoteId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EmoteIdRef, Global>> for EmoteId

source§

fn from(r: Box<EmoteIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EmoteId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EmoteIdRef>> for EmoteId

source§

fn from(r: Cow<'a, EmoteIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for Box<EmoteIdRef>

source§

fn from(r: EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EmoteId> for Cow<'a, EmoteIdRef>

source§

fn from(owned: EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for String

source§

fn from(s: EmoteId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EmoteId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EmoteId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EmoteId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &&EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for &EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteId

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteId> for EmoteId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for EmoteId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteId

source§

impl StructuralEq for EmoteId

source§

impl StructuralPartialEq for EmoteId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &&EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for &EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteId

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteId> for EmoteId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for EmoteId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteId

source§

impl StructuralEq for EmoteId

source§

impl StructuralPartialEq for EmoteId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/struct.EmoteIdRef.html b/twitch_types/emote/struct.EmoteIdRef.html index bbd95ecb..94aef29f 100644 --- a/twitch_types/emote/struct.EmoteIdRef.html +++ b/twitch_types/emote/struct.EmoteIdRef.html @@ -1,28 +1,28 @@ -EmoteIdRef in twitch_types::emote - Rust
#[repr(transparent)]
pub struct EmoteIdRef(_);
Available on crate feature emote only.
Expand description

A chat Emote ID

-

Implementations§

source§

impl EmoteIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed EmoteIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed EmoteIdRef

-
source

pub fn into_owned(self: Box<EmoteIdRef>) -> EmoteId

Converts a Box<EmoteIdRef> into a EmoteId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl EmoteIdRef

source

pub fn as_cow(&self) -> Cow<'_, EmoteIdRef>

Get a +EmoteIdRef in twitch_types::emote - Rust

#[repr(transparent)]
pub struct EmoteIdRef(/* private fields */);
Available on crate feature emote only.
Expand description

A chat Emote ID

+

Implementations§

source§

impl EmoteIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed EmoteIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed EmoteIdRef

+
source

pub fn into_owned(self: Box<EmoteIdRef>) -> EmoteId

Converts a Box<EmoteIdRef> into a EmoteId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl EmoteIdRef

source

pub fn as_cow(&self) -> Cow<'_, EmoteIdRef>

source§

impl EmoteIdRef

source

pub fn default_render(&self) -> String

Generates url for this emote.

+
source§

impl EmoteIdRef

source

pub fn default_render(&self) -> String

Generates url for this emote.

Generated URL will be "https://static-cdn.jtvnw.net/emoticons/v2/{emote_id}/default/light/1.0"

-
source

pub fn url(&self) -> EmoteUrlBuilder<'_>

Create a EmoteUrlBuilder for this emote

-

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a EmoteIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EmoteIdRef> for EmoteId

source§

fn as_ref(&self) -> &EmoteIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteIdRef> for EmoteId

source§

fn borrow(&self) -> &EmoteIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EmoteIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EmoteIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteIdRef>> for &'a EmoteIdRef

source§

fn from(r: &'a Cow<'b, EmoteIdRef>) -> &'a EmoteIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteId> for &'a EmoteIdRef

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteIdRef> for Cow<'a, EmoteIdRef>

source§

fn from(r: &'a EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EmoteIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EmoteIdRef

source§

fn from(s: &'a str) -> &'a EmoteIdRef

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for Arc<EmoteIdRef>

source§

fn from(r: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for EmoteId

source§

fn from(s: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for Rc<EmoteIdRef>

source§

fn from(r: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for Box<EmoteIdRef>

source§

fn from(r: EmoteId) -> Self

Converts to this type from the input type.
source§

impl Hash for EmoteIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteIdRef

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteIdRef

source§

fn cmp(&self, other: &EmoteIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &&EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for &EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteIdRef

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteIdRef> for EmoteIdRef

source§

fn partial_cmp(&self, other: &EmoteIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for EmoteIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for EmoteIdRef

§

type Owned = EmoteId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, EmoteIdRef> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteIdRef

source§

impl StructuralEq for EmoteIdRef

source§

impl StructuralPartialEq for EmoteIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

pub fn url(&self) -> EmoteUrlBuilder<'_>

Create a EmoteUrlBuilder for this emote

+

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a EmoteIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<EmoteIdRef> for EmoteId

source§

fn as_ref(&self) -> &EmoteIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteIdRef> for EmoteId

source§

fn borrow(&self) -> &EmoteIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EmoteIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EmoteIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteIdRef>> for &'a EmoteIdRef

source§

fn from(r: &'a Cow<'b, EmoteIdRef>) -> &'a EmoteIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteId> for &'a EmoteIdRef

source§

fn from(owned: &'a EmoteId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteIdRef> for Cow<'a, EmoteIdRef>

source§

fn from(r: &'a EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EmoteIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EmoteIdRef

source§

fn from(s: &'a str) -> &'a EmoteIdRef

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for Arc<EmoteIdRef>

source§

fn from(r: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for EmoteId

source§

fn from(s: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteIdRef> for Rc<EmoteIdRef>

source§

fn from(r: &EmoteIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EmoteId> for Box<EmoteIdRef>

source§

fn from(r: EmoteId) -> Self

Converts to this type from the input type.
source§

impl Hash for EmoteIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteIdRef

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

source§

fn into_cow(self) -> Cow<'a, EmoteIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteIdRef

source§

fn cmp(&self, other: &EmoteIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &&EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for &EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteId> for EmoteIdRef

source§

fn eq(&self, other: &EmoteId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteId

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteIdRef> for EmoteIdRef

source§

fn eq(&self, other: &EmoteIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteIdRef> for EmoteIdRef

source§

fn partial_cmp(&self, other: &EmoteIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for EmoteIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for EmoteIdRef

§

type Owned = EmoteId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteId> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, EmoteIdRef> for &'zf EmoteIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteIdRef

source§

impl StructuralEq for EmoteIdRef

source§

impl StructuralPartialEq for EmoteIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/emote/struct.EmoteSetId.html b/twitch_types/emote/struct.EmoteSetId.html index 65b6edff..4ac1ebe5 100644 --- a/twitch_types/emote/struct.EmoteSetId.html +++ b/twitch_types/emote/struct.EmoteSetId.html @@ -1,32 +1,32 @@ -EmoteSetId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct EmoteSetId(_);
Available on crate feature emote only.
Expand description

An Emote Set ID

-

Implementations§

source§

impl EmoteSetId

source

pub const fn new(raw: String) -> Self

Constructs a new EmoteSetId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newEmoteSetIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<EmoteSetIdRef>

Converts this EmoteSetId into a Box<EmoteSetIdRef>

+EmoteSetId in twitch_types::emote - Rust
#[repr(transparent)]
pub struct EmoteSetId(/* private fields */);
Available on crate feature emote only.
Expand description

An Emote Set ID

+

Implementations§

source§

impl EmoteSetId

source

pub const fn new(raw: String) -> Self

Constructs a new EmoteSetId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newEmoteSetIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<EmoteSetIdRef>

Converts this EmoteSetId into a Box<EmoteSetIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = EmoteSetIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = EmoteSetIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for EmoteSetId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EmoteSetIdRef> for EmoteSetId

source§

fn as_ref(&self) -> &EmoteSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteSetId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteSetIdRef> for EmoteSetId

source§

fn borrow(&self) -> &EmoteSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteSetId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EmoteSetId

source§

fn clone(&self) -> EmoteSetId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EmoteSetId

§

type Target = EmoteSetIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EmoteSetId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for EmoteSetId

source§

fn from(s: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EmoteSetId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EmoteSetIdRef, Global>> for EmoteSetId

source§

fn from(r: Box<EmoteSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EmoteSetId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId

source§

fn from(r: Cow<'a, EmoteSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for Box<EmoteSetIdRef>

source§

fn from(r: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>

source§

fn from(owned: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for String

source§

fn from(s: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EmoteSetId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EmoteSetId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EmoteSetId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for EmoteSetId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<EmoteSetIdRef> for EmoteSetId

source§

fn as_ref(&self) -> &EmoteSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteSetId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteSetIdRef> for EmoteSetId

source§

fn borrow(&self) -> &EmoteSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteSetId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EmoteSetId

source§

fn clone(&self) -> EmoteSetId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EmoteSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EmoteSetId

§

type Target = EmoteSetIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EmoteSetId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteSetId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetId> for Cow<'a, EmoteSetIdRef>

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for EmoteSetId

source§

fn from(s: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EmoteSetId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EmoteSetIdRef, Global>> for EmoteSetId

source§

fn from(r: Box<EmoteSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EmoteSetId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EmoteSetIdRef>> for EmoteSetId

source§

fn from(r: Cow<'a, EmoteSetIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for Box<EmoteSetIdRef>

source§

fn from(r: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EmoteSetId> for Cow<'a, EmoteSetIdRef>

source§

fn from(owned: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for String

source§

fn from(s: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EmoteSetId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EmoteSetId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EmoteSetId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteSetId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &&EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for &EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteSetId> for EmoteSetId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for EmoteSetId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteSetId

source§

impl StructuralEq for EmoteSetId

source§

impl StructuralPartialEq for EmoteSetId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteSetId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &&EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for &EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteSetId> for EmoteSetId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for EmoteSetId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteSetId

source§

impl StructuralEq for EmoteSetId

source§

impl StructuralPartialEq for EmoteSetId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/struct.EmoteSetIdRef.html b/twitch_types/emote/struct.EmoteSetIdRef.html index 73d1ca75..8b5e143f 100644 --- a/twitch_types/emote/struct.EmoteSetIdRef.html +++ b/twitch_types/emote/struct.EmoteSetIdRef.html @@ -1,25 +1,25 @@ -EmoteSetIdRef in twitch_types::emote - Rust
#[repr(transparent)]
pub struct EmoteSetIdRef(_);
Available on crate feature emote only.
Expand description

An Emote Set ID

-

Implementations§

source§

impl EmoteSetIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed EmoteSetIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed EmoteSetIdRef

-
source

pub fn into_owned(self: Box<EmoteSetIdRef>) -> EmoteSetId

Converts a Box<EmoteSetIdRef> into a EmoteSetId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl EmoteSetIdRef

source

pub fn as_cow(&self) -> Cow<'_, EmoteSetIdRef>

Get a +EmoteSetIdRef in twitch_types::emote - Rust

#[repr(transparent)]
pub struct EmoteSetIdRef(/* private fields */);
Available on crate feature emote only.
Expand description

An Emote Set ID

+

Implementations§

source§

impl EmoteSetIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed EmoteSetIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed EmoteSetIdRef

+
source

pub fn into_owned(self: Box<EmoteSetIdRef>) -> EmoteSetId

Converts a Box<EmoteSetIdRef> into a EmoteSetId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl EmoteSetIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a EmoteSetIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EmoteSetIdRef> for EmoteSetId

source§

fn as_ref(&self) -> &EmoteSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteSetIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteSetIdRef> for EmoteSetId

source§

fn borrow(&self) -> &EmoteSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteSetIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EmoteSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EmoteSetIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef

source§

fn from(r: &'a Cow<'b, EmoteSetIdRef>) -> &'a EmoteSetIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>

source§

fn from(r: &'a EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EmoteSetIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EmoteSetIdRef

source§

fn from(s: &'a str) -> &'a EmoteSetIdRef

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>

source§

fn from(r: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for EmoteSetId

source§

fn from(s: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>

source§

fn from(r: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for Box<EmoteSetIdRef>

source§

fn from(r: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl Hash for EmoteSetIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteSetIdRef

source§

fn cmp(&self, other: &EmoteSetIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &&EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for &EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteSetIdRef> for EmoteSetIdRef

source§

fn partial_cmp(&self, other: &EmoteSetIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for EmoteSetIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for EmoteSetIdRef

§

type Owned = EmoteSetId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, EmoteSetIdRef> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteSetIdRef

source§

impl StructuralEq for EmoteSetIdRef

source§

impl StructuralPartialEq for EmoteSetIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a EmoteSetIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<EmoteSetIdRef> for EmoteSetId

source§

fn as_ref(&self) -> &EmoteSetIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EmoteSetIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EmoteSetIdRef> for EmoteSetId

source§

fn borrow(&self) -> &EmoteSetIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EmoteSetIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EmoteSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EmoteSetIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EmoteSetIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EmoteSetIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EmoteSetIdRef>> for &'a EmoteSetIdRef

source§

fn from(r: &'a Cow<'b, EmoteSetIdRef>) -> &'a EmoteSetIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetId> for &'a EmoteSetIdRef

source§

fn from(owned: &'a EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EmoteSetIdRef> for Cow<'a, EmoteSetIdRef>

source§

fn from(r: &'a EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EmoteSetIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EmoteSetIdRef

source§

fn from(s: &'a str) -> &'a EmoteSetIdRef

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for Arc<EmoteSetIdRef>

source§

fn from(r: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for EmoteSetId

source§

fn from(s: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EmoteSetIdRef> for Rc<EmoteSetIdRef>

source§

fn from(r: &EmoteSetIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EmoteSetId> for Box<EmoteSetIdRef>

source§

fn from(r: EmoteSetId) -> Self

Converts to this type from the input type.
source§

impl Hash for EmoteSetIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

source§

fn into_cow(self) -> Cow<'a, EmoteSetIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EmoteSetIdRef

source§

fn cmp(&self, other: &EmoteSetIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &&EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for &EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetId> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetId

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EmoteSetIdRef> for EmoteSetIdRef

source§

fn eq(&self, other: &EmoteSetIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EmoteSetIdRef> for EmoteSetIdRef

source§

fn partial_cmp(&self, other: &EmoteSetIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for EmoteSetIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for EmoteSetIdRef

§

type Owned = EmoteSetId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, EmoteSetId> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, EmoteSetIdRef> for &'zf EmoteSetIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EmoteSetIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EmoteSetIdRef

source§

impl StructuralEq for EmoteSetIdRef

source§

impl StructuralPartialEq for EmoteSetIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/emote/struct.EmoteUrlBuilder.html b/twitch_types/emote/struct.EmoteUrlBuilder.html index 270ad397..7eccb100 100644 --- a/twitch_types/emote/struct.EmoteUrlBuilder.html +++ b/twitch_types/emote/struct.EmoteUrlBuilder.html @@ -1,19 +1,19 @@ -EmoteUrlBuilder in twitch_types::emote - Rust
pub struct EmoteUrlBuilder<'a> { /* private fields */ }
Available on crate feature emote only.
Expand description

Builder for emote URLs.

+EmoteUrlBuilder in twitch_types::emote - Rust
pub struct EmoteUrlBuilder<'a> { /* private fields */ }
Available on crate feature emote only.
Expand description

Builder for emote URLs.

Examples

let emote_id = EmoteId::from("emotesv2_dc24652ada1e4c84a5e3ceebae4de709");
 assert_eq!(emote_id.url().size_3x().dark_mode().render(), "https://static-cdn.jtvnw.net/emoticons/v2/emotesv2_dc24652ada1e4c84a5e3ceebae4de709/default/dark/3.0")
-

Implementations§

source§

impl EmoteUrlBuilder<'_>

source

pub fn new(id: &EmoteIdRef) -> EmoteUrlBuilder<'_>

Construct a new EmoteUrlBuilder from a EmoteId

+

Implementations§

source§

impl EmoteUrlBuilder<'_>

source

pub fn new(id: &EmoteIdRef) -> EmoteUrlBuilder<'_>

Construct a new EmoteUrlBuilder from a EmoteId

Defaults to 1.0 scale, default animation and light theme.

-
source

pub fn size_1x(self) -> Self

Set size to 1.0

-
source

pub fn size_2x(self) -> Self

Set size to 2.0

-
source

pub fn size_3x(self) -> Self

Set size to 3.0

-
source

pub fn dark_mode(self) -> Self

Set theme to dark mode

-
source

pub fn light_mode(self) -> Self

Set theme to light mode

-
source

pub fn animation_default(self) -> Self

Set animation mode to default

-
source

pub fn animation_static(self) -> Self

Set animation mode to static

-
source

pub fn animation_animated(self) -> Self

Set animation mode to animate

-
source

pub fn render(self) -> String

Create the URL for this emote.

-

Trait Implementations§

source§

impl<'a> Clone for EmoteUrlBuilder<'a>

source§

fn clone(&self) -> EmoteUrlBuilder<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for EmoteUrlBuilder<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for EmoteUrlBuilder<'a>

§

impl<'a> Send for EmoteUrlBuilder<'a>

§

impl<'a> Sync for EmoteUrlBuilder<'a>

§

impl<'a> Unpin for EmoteUrlBuilder<'a>

§

impl<'a> UnwindSafe for EmoteUrlBuilder<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere +

source

pub fn size_1x(self) -> Self

Set size to 1.0

+
source

pub fn size_2x(self) -> Self

Set size to 2.0

+
source

pub fn size_3x(self) -> Self

Set size to 3.0

+
source

pub fn dark_mode(self) -> Self

Set theme to dark mode

+
source

pub fn light_mode(self) -> Self

Set theme to light mode

+
source

pub fn animation_default(self) -> Self

Set animation mode to default

+
source

pub fn animation_static(self) -> Self

Set animation mode to static

+
source

pub fn animation_animated(self) -> Self

Set animation mode to animate

+
source

pub fn render(self) -> String

Create the URL for this emote.

+

Trait Implementations§

source§

impl<'a> Clone for EmoteUrlBuilder<'a>

source§

fn clone(&self) -> EmoteUrlBuilder<'a>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a> Debug for EmoteUrlBuilder<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for EmoteUrlBuilder<'a>

§

impl<'a> Send for EmoteUrlBuilder<'a>

§

impl<'a> Sync for EmoteUrlBuilder<'a>

§

impl<'a> Unpin for EmoteUrlBuilder<'a>

§

impl<'a> UnwindSafe for EmoteUrlBuilder<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§url_1x: String

URL to png of size 28x28

§url_2x: String

URL to png of size 56x56

§url_4x: String

URL to png of size 112x112

-

Trait Implementations§

source§

impl Clone for Image

source§

fn clone(&self) -> Image

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Image

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Image

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Image> for Image

source§

fn eq(&self, other: &Image) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Image

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Image

source§

impl StructuralEq for Image

source§

impl StructuralPartialEq for Image

Auto Trait Implementations§

§

impl RefUnwindSafe for Image

§

impl Send for Image

§

impl Sync for Image

§

impl Unpin for Image

§

impl UnwindSafe for Image

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for Image

source§

fn clone(&self) -> Image

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Image

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Image

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Image> for Image

source§

fn eq(&self, other: &Image) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Image

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Image

source§

impl StructuralEq for Image

source§

impl StructuralPartialEq for Image

Auto Trait Implementations§

§

impl RefUnwindSafe for Image

§

impl Send for Image

§

impl Sync for Image

§

impl Unpin for Image

§

impl UnwindSafe for Image

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/emote/struct.ResubscriptionEmote.html b/twitch_types/emote/struct.ResubscriptionEmote.html index e3c21814..fded26a8 100644 --- a/twitch_types/emote/struct.ResubscriptionEmote.html +++ b/twitch_types/emote/struct.ResubscriptionEmote.html @@ -1,4 +1,4 @@ -ResubscriptionEmote in twitch_types::emote - Rust

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§begin: i64

The index of where the Emote starts in the text.

§end: i64

The index of where the Emote ends in the text.

§id: EmoteId

The emote ID.

-

Trait Implementations§

source§

impl Clone for ResubscriptionEmote

source§

fn clone(&self) -> ResubscriptionEmote

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResubscriptionEmote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ResubscriptionEmote

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ResubscriptionEmote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ResubscriptionEmote> for ResubscriptionEmote

source§

fn eq(&self, other: &ResubscriptionEmote) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ResubscriptionEmote

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ResubscriptionEmote

source§

impl StructuralEq for ResubscriptionEmote

source§

impl StructuralPartialEq for ResubscriptionEmote

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for ResubscriptionEmote

source§

fn clone(&self) -> ResubscriptionEmote

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResubscriptionEmote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ResubscriptionEmote

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ResubscriptionEmote

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<ResubscriptionEmote> for ResubscriptionEmote

source§

fn eq(&self, other: &ResubscriptionEmote) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ResubscriptionEmote

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ResubscriptionEmote

source§

impl StructuralEq for ResubscriptionEmote

source§

impl StructuralPartialEq for ResubscriptionEmote

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/enum.BroadcasterType.html b/twitch_types/enum.BroadcasterType.html index b0dcfe2a..0f1e155f 100644 --- a/twitch_types/enum.BroadcasterType.html +++ b/twitch_types/enum.BroadcasterType.html @@ -1,4 +1,4 @@ -BroadcasterType in twitch_types - Rust

Trait Implementations§

source§

impl Clone for BroadcasterType

source§

fn clone(&self) -> BroadcasterType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BroadcasterType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for BroadcasterType

source§

fn default() -> BroadcasterType

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for BroadcasterType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BroadcasterType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for BroadcasterType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for BroadcasterType

source§

fn cmp(&self, other: &BroadcasterType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for BroadcasterType

source§

fn cmp(&self, other: &BroadcasterType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<BroadcasterType> for BroadcasterType

source§

fn eq(&self, other: &BroadcasterType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BroadcasterType> for BroadcasterType

source§

fn partial_cmp(&self, other: &BroadcasterType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BroadcasterType> for BroadcasterType

source§

fn partial_cmp(&self, other: &BroadcasterType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for BroadcasterType

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for BroadcasterType

source§

impl Eq for BroadcasterType

source§

impl StructuralEq for BroadcasterType

source§

impl StructuralPartialEq for BroadcasterType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/twitch_types/enum.UserType.html b/twitch_types/enum.UserType.html index e0c8ec56..2ada2113 100644 --- a/twitch_types/enum.UserType.html +++ b/twitch_types/enum.UserType.html @@ -1,4 +1,4 @@ -UserType in twitch_types - Rust

Implementations§

source§

impl UserType

source

pub fn parse(input: &str) -> Self

Parse a string into a UserType

Trait Implementations§

source§

impl Clone for UserType

source§

fn clone(&self) -> UserType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for UserType

source§

fn default() -> UserType

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for UserType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for UserType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Hash for UserType

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for UserType

source§

fn cmp(&self, other: &UserType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for UserType

source§

fn cmp(&self, other: &UserType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<UserType> for UserType

source§

fn eq(&self, other: &UserType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserType> for UserType

source§

fn partial_cmp(&self, other: &UserType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserType> for UserType

source§

fn partial_cmp(&self, other: &UserType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for UserType

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Copy for UserType

source§

impl Eq for UserType

source§

impl StructuralEq for UserType

source§

impl StructuralPartialEq for UserType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere diff --git a/twitch_types/eventsub/index.html b/twitch_types/eventsub/index.html index 6ca54dd5..d7b89a34 100644 --- a/twitch_types/eventsub/index.html +++ b/twitch_types/eventsub/index.html @@ -1,2 +1,2 @@ -twitch_types::eventsub - Rust

Module twitch_types::eventsub

source ·
Available on crate feature eventsub only.
Expand description

types for eventsub related things

+twitch_types::eventsub - Rust

Module twitch_types::eventsub

source ·
Available on crate feature eventsub only.
Expand description

types for eventsub related things

Structs

\ No newline at end of file diff --git a/twitch_types/eventsub/struct.EventSubId.html b/twitch_types/eventsub/struct.EventSubId.html index 5cbced39..3e744289 100644 --- a/twitch_types/eventsub/struct.EventSubId.html +++ b/twitch_types/eventsub/struct.EventSubId.html @@ -1,4 +1,4 @@ -EventSubId in twitch_types::eventsub - Rust
#[repr(transparent)]
pub struct EventSubId(_);
Available on crate feature eventsub only.
Expand description

An EventSub Subscription ID

+EventSubId in twitch_types::eventsub - Rust
#[repr(transparent)]
pub struct EventSubId(/* private fields */);
Available on crate feature eventsub only.
Expand description

An EventSub Subscription ID

Implementations§

source§

impl EventSubId

source

pub const fn new(raw: String) -> Self

Constructs a new EventSubId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newEventSubIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<EventSubIdRef>

Converts this EventSubId into a Box<EventSubIdRef>

@@ -9,23 +9,23 @@ Cow<'_, EventSubIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for EventSubId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EventSubIdRef> for EventSubId

source§

fn as_ref(&self) -> &EventSubIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EventSubId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EventSubIdRef> for EventSubId

source§

fn borrow(&self) -> &EventSubIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EventSubId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EventSubId

source§

fn clone(&self) -> EventSubId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EventSubId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EventSubId

§

type Target = EventSubIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EventSubId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EventSubId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EventSubId> for &'a EventSubIdRef

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubId> for Cow<'a, EventSubIdRef>

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for EventSubId

source§

fn from(s: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EventSubId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EventSubIdRef, Global>> for EventSubId

source§

fn from(r: Box<EventSubIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EventSubId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EventSubIdRef>> for EventSubId

source§

fn from(r: Cow<'a, EventSubIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for Box<EventSubIdRef>

source§

fn from(r: EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EventSubId> for Cow<'a, EventSubIdRef>

source§

fn from(owned: EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for String

source§

fn from(s: EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EventSubId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EventSubId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EventSubId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<EventSubIdRef> for EventSubId

source§

fn as_ref(&self) -> &EventSubIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EventSubId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EventSubIdRef> for EventSubId

source§

fn borrow(&self) -> &EventSubIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EventSubId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for EventSubId

source§

fn clone(&self) -> EventSubId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EventSubId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for EventSubId

§

type Target = EventSubIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for EventSubId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EventSubId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a EventSubId> for &'a EventSubIdRef

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubId> for Cow<'a, EventSubIdRef>

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for EventSubId

source§

fn from(s: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for EventSubId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<EventSubIdRef, Global>> for EventSubId

source§

fn from(r: Box<EventSubIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for EventSubId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, EventSubIdRef>> for EventSubId

source§

fn from(r: Cow<'a, EventSubIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for Box<EventSubIdRef>

source§

fn from(r: EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<EventSubId> for Cow<'a, EventSubIdRef>

source§

fn from(owned: EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for String

source§

fn from(s: EventSubId) -> Self

Converts to this type from the input type.
source§

impl From<String> for EventSubId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for EventSubId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for EventSubId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EventSubId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &&EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more

source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EventSubId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &&EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for &EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubId

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EventSubId> for EventSubId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubId

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EventSubId> for EventSubId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for EventSubId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, EventSubId> for &'zf EventSubIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EventSubId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EventSubId

source§

impl StructuralEq for EventSubId

source§

impl StructuralPartialEq for EventSubId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/eventsub/struct.EventSubIdRef.html b/twitch_types/eventsub/struct.EventSubIdRef.html index 0524febf..61732aa3 100644 --- a/twitch_types/eventsub/struct.EventSubIdRef.html +++ b/twitch_types/eventsub/struct.EventSubIdRef.html @@ -1,4 +1,4 @@ -EventSubIdRef in twitch_types::eventsub - Rust
#[repr(transparent)]
pub struct EventSubIdRef(_);
Available on crate feature eventsub only.
Expand description

An EventSub Subscription ID

+EventSubIdRef in twitch_types::eventsub - Rust
#[repr(transparent)]
pub struct EventSubIdRef(/* private fields */);
Available on crate feature eventsub only.
Expand description

An EventSub Subscription ID

Implementations§

source§

impl EventSubIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed EventSubIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed EventSubIdRef

source

pub fn into_owned(self: Box<EventSubIdRef>) -> EventSubId

Converts a Box<EventSubIdRef> into a EventSubId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, EventSubIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a EventSubIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<EventSubIdRef> for EventSubId

source§

fn as_ref(&self) -> &EventSubIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EventSubIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EventSubIdRef> for EventSubId

source§

fn borrow(&self) -> &EventSubIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EventSubIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EventSubIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EventSubIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EventSubIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EventSubIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EventSubIdRef>> for &'a EventSubIdRef

source§

fn from(r: &'a Cow<'b, EventSubIdRef>) -> &'a EventSubIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubId> for &'a EventSubIdRef

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubIdRef> for Cow<'a, EventSubIdRef>

source§

fn from(r: &'a EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EventSubIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EventSubIdRef

source§

fn from(s: &'a str) -> &'a EventSubIdRef

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for Arc<EventSubIdRef>

source§

fn from(r: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for EventSubId

source§

fn from(s: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for Rc<EventSubIdRef>

source§

fn from(r: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for Box<EventSubIdRef>

source§

fn from(r: EventSubId) -> Self

Converts to this type from the input type.
source§

impl Hash for EventSubIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubIdRef

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EventSubIdRef

source§

fn cmp(&self, other: &EventSubIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &&EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for &EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubIdRef

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EventSubIdRef> for EventSubIdRef

source§

fn partial_cmp(&self, other: &EventSubIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +needs to construct itself. Read more
source§

impl AsRef<EventSubIdRef> for EventSubId

source§

fn as_ref(&self) -> &EventSubIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for EventSubIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<EventSubIdRef> for EventSubId

source§

fn borrow(&self) -> &EventSubIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for EventSubIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for EventSubIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a EventSubIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<EventSubIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for EventSubIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, EventSubIdRef>> for &'a EventSubIdRef

source§

fn from(r: &'a Cow<'b, EventSubIdRef>) -> &'a EventSubIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubId> for &'a EventSubIdRef

source§

fn from(owned: &'a EventSubId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a EventSubIdRef> for Cow<'a, EventSubIdRef>

source§

fn from(r: &'a EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a EventSubIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a EventSubIdRef

source§

fn from(s: &'a str) -> &'a EventSubIdRef

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for Arc<EventSubIdRef>

source§

fn from(r: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for EventSubId

source§

fn from(s: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&EventSubIdRef> for Rc<EventSubIdRef>

source§

fn from(r: &EventSubIdRef) -> Self

Converts to this type from the input type.
source§

impl From<EventSubId> for Box<EventSubIdRef>

source§

fn from(r: EventSubId) -> Self

Converts to this type from the input type.
source§

impl Hash for EventSubIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubIdRef

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

source§

fn into_cow(self) -> Cow<'a, EventSubIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for EventSubIdRef

source§

fn cmp(&self, other: &EventSubIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &&EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for &EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubId> for EventSubIdRef

source§

fn eq(&self, other: &EventSubId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubId

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<EventSubIdRef> for EventSubIdRef

source§

fn eq(&self, other: &EventSubIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<EventSubIdRef> for EventSubIdRef

source§

fn partial_cmp(&self, other: &EventSubIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for EventSubIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for EventSubIdRef

§

type Owned = EventSubId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, EventSubId> for &'zf EventSubIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EventSubId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, EventSubIdRef> for &'zf EventSubIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf EventSubIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for EventSubIdRef

source§

impl StructuralEq for EventSubIdRef

source§

impl StructuralPartialEq for EventSubIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/goal/enum.CreatorGoalType.html b/twitch_types/goal/enum.CreatorGoalType.html index 83285483..5e0f9c8e 100644 --- a/twitch_types/goal/enum.CreatorGoalType.html +++ b/twitch_types/goal/enum.CreatorGoalType.html @@ -1,4 +1,4 @@ -CreatorGoalType in twitch_types::goal - Rust
#[non_exhaustive]
pub enum CreatorGoalType { +CreatorGoalType in twitch_types::goal - Rust
#[non_exhaustive]
pub enum CreatorGoalType { Follower, Subscription, SubscriptionCount, @@ -10,11 +10,11 @@
§

SubscriptionCount

The goal is to increase subscriptions. This type shows the net increase or decrease in the number of subscriptions.

§

NewSubscription

The goal is to increase subscriptions. This type shows only the net increase in tier points associated with the subscriptions (it does not account for users that unsubscribed since the goal started).

§

NewSubscriptionCount

The goal is to increase subscriptions. This type shows only the net increase in the number of subscriptions (it does not account for users that unsubscribed since the goal started).

-

Trait Implementations§

source§

impl Clone for CreatorGoalType

source§

fn clone(&self) -> CreatorGoalType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreatorGoalType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreatorGoalType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatorGoalType> for CreatorGoalType

source§

fn eq(&self, other: &CreatorGoalType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CreatorGoalType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CreatorGoalType

source§

impl StructuralEq for CreatorGoalType

source§

impl StructuralPartialEq for CreatorGoalType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for CreatorGoalType

source§

fn clone(&self) -> CreatorGoalType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreatorGoalType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CreatorGoalType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<CreatorGoalType> for CreatorGoalType

source§

fn eq(&self, other: &CreatorGoalType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CreatorGoalType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for CreatorGoalType

source§

impl StructuralEq for CreatorGoalType

source§

impl StructuralPartialEq for CreatorGoalType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/goal/index.html b/twitch_types/goal/index.html index dad424f2..8272ba17 100644 --- a/twitch_types/goal/index.html +++ b/twitch_types/goal/index.html @@ -1,2 +1,2 @@ -twitch_types::goal - Rust

Module twitch_types::goal

source ·
Available on crate feature goal only.
Expand description

types for goals

+twitch_types::goal - Rust

Module twitch_types::goal

source ·
Available on crate feature goal only.
Expand description

types for goals

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/goal/struct.CreatorGoalId.html b/twitch_types/goal/struct.CreatorGoalId.html index 511a0013..92a73bc7 100644 --- a/twitch_types/goal/struct.CreatorGoalId.html +++ b/twitch_types/goal/struct.CreatorGoalId.html @@ -1,32 +1,32 @@ -CreatorGoalId in twitch_types::goal - Rust
#[repr(transparent)]
pub struct CreatorGoalId(_);
Available on crate feature goal only.
Expand description

A Creator Goal ID

-

Implementations§

source§

impl CreatorGoalId

source

pub const fn new(raw: String) -> Self

Constructs a new CreatorGoalId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newCreatorGoalIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>

Converts this CreatorGoalId into a Box<CreatorGoalIdRef>

+CreatorGoalId in twitch_types::goal - Rust
#[repr(transparent)]
pub struct CreatorGoalId(/* private fields */);
Available on crate feature goal only.
Expand description

A Creator Goal ID

+

Implementations§

source§

impl CreatorGoalId

source

pub const fn new(raw: String) -> Self

Constructs a new CreatorGoalId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newCreatorGoalIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<CreatorGoalIdRef>

Converts this CreatorGoalId into a Box<CreatorGoalIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = CreatorGoalIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, CreatorGoalIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = CreatorGoalIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, CreatorGoalIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for CreatorGoalId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CreatorGoalIdRef> for CreatorGoalId

source§

fn as_ref(&self) -> &CreatorGoalIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CreatorGoalId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CreatorGoalIdRef> for CreatorGoalId

source§

fn borrow(&self) -> &CreatorGoalIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CreatorGoalId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CreatorGoalId

source§

fn clone(&self) -> CreatorGoalId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreatorGoalId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreatorGoalId

§

type Target = CreatorGoalIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CreatorGoalId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CreatorGoalId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalId> for Cow<'a, CreatorGoalIdRef>

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for CreatorGoalId

source§

fn from(s: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CreatorGoalId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId

source§

fn from(r: Box<CreatorGoalIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CreatorGoalId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId

source§

fn from(r: Cow<'a, CreatorGoalIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for Box<CreatorGoalIdRef>

source§

fn from(r: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>

source§

fn from(owned: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for String

source§

fn from(s: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<String> for CreatorGoalId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CreatorGoalId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CreatorGoalId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for CreatorGoalId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<CreatorGoalIdRef> for CreatorGoalId

source§

fn as_ref(&self) -> &CreatorGoalIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CreatorGoalId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CreatorGoalIdRef> for CreatorGoalId

source§

fn borrow(&self) -> &CreatorGoalIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CreatorGoalId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CreatorGoalId

source§

fn clone(&self) -> CreatorGoalId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CreatorGoalId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CreatorGoalId

§

type Target = CreatorGoalIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CreatorGoalId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CreatorGoalId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalId> for Cow<'a, CreatorGoalIdRef>

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for CreatorGoalId

source§

fn from(s: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CreatorGoalId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CreatorGoalIdRef, Global>> for CreatorGoalId

source§

fn from(r: Box<CreatorGoalIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CreatorGoalId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CreatorGoalIdRef>> for CreatorGoalId

source§

fn from(r: Cow<'a, CreatorGoalIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for Box<CreatorGoalIdRef>

source§

fn from(r: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CreatorGoalId> for Cow<'a, CreatorGoalIdRef>

source§

fn from(owned: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for String

source§

fn from(s: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl From<String> for CreatorGoalId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CreatorGoalId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CreatorGoalId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CreatorGoalId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &&CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CreatorGoalId> for CreatorGoalId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for CreatorGoalId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CreatorGoalId

source§

impl StructuralEq for CreatorGoalId

source§

impl StructuralPartialEq for CreatorGoalId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CreatorGoalId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &&CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CreatorGoalId> for CreatorGoalId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for CreatorGoalId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CreatorGoalId

source§

impl StructuralEq for CreatorGoalId

source§

impl StructuralPartialEq for CreatorGoalId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/goal/struct.CreatorGoalIdRef.html b/twitch_types/goal/struct.CreatorGoalIdRef.html index 49237a23..43145ba5 100644 --- a/twitch_types/goal/struct.CreatorGoalIdRef.html +++ b/twitch_types/goal/struct.CreatorGoalIdRef.html @@ -1,25 +1,25 @@ -CreatorGoalIdRef in twitch_types::goal - Rust
#[repr(transparent)]
pub struct CreatorGoalIdRef(_);
Available on crate feature goal only.
Expand description

A Creator Goal ID

-

Implementations§

source§

impl CreatorGoalIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed CreatorGoalIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed CreatorGoalIdRef

-
source

pub fn into_owned(self: Box<CreatorGoalIdRef>) -> CreatorGoalId

Converts a Box<CreatorGoalIdRef> into a CreatorGoalId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl CreatorGoalIdRef

source

pub fn as_cow(&self) -> Cow<'_, CreatorGoalIdRef>

Get a +CreatorGoalIdRef in twitch_types::goal - Rust

#[repr(transparent)]
pub struct CreatorGoalIdRef(/* private fields */);
Available on crate feature goal only.
Expand description

A Creator Goal ID

+

Implementations§

source§

impl CreatorGoalIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed CreatorGoalIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed CreatorGoalIdRef

+
source

pub fn into_owned(self: Box<CreatorGoalIdRef>) -> CreatorGoalId

Converts a Box<CreatorGoalIdRef> into a CreatorGoalId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl CreatorGoalIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a CreatorGoalIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CreatorGoalIdRef> for CreatorGoalId

source§

fn as_ref(&self) -> &CreatorGoalIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CreatorGoalIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CreatorGoalIdRef> for CreatorGoalId

source§

fn borrow(&self) -> &CreatorGoalIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CreatorGoalIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CreatorGoalIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CreatorGoalIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CreatorGoalIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef

source§

fn from(r: &'a Cow<'b, CreatorGoalIdRef>) -> &'a CreatorGoalIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>

source§

fn from(r: &'a CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CreatorGoalIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CreatorGoalIdRef

source§

fn from(s: &'a str) -> &'a CreatorGoalIdRef

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>

source§

fn from(r: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for CreatorGoalId

source§

fn from(s: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>

source§

fn from(r: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for Box<CreatorGoalIdRef>

source§

fn from(r: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl Hash for CreatorGoalIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CreatorGoalIdRef

source§

fn cmp(&self, other: &CreatorGoalIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &&CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CreatorGoalIdRef> for CreatorGoalIdRef

source§

fn partial_cmp(&self, other: &CreatorGoalIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for CreatorGoalIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CreatorGoalIdRef

§

type Owned = CreatorGoalId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalIdRef> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CreatorGoalIdRef

source§

impl StructuralEq for CreatorGoalIdRef

source§

impl StructuralPartialEq for CreatorGoalIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a CreatorGoalIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<CreatorGoalIdRef> for CreatorGoalId

source§

fn as_ref(&self) -> &CreatorGoalIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CreatorGoalIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CreatorGoalIdRef> for CreatorGoalId

source§

fn borrow(&self) -> &CreatorGoalIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CreatorGoalIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CreatorGoalIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CreatorGoalIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CreatorGoalIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CreatorGoalIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CreatorGoalIdRef>> for &'a CreatorGoalIdRef

source§

fn from(r: &'a Cow<'b, CreatorGoalIdRef>) -> &'a CreatorGoalIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalId> for &'a CreatorGoalIdRef

source§

fn from(owned: &'a CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CreatorGoalIdRef> for Cow<'a, CreatorGoalIdRef>

source§

fn from(r: &'a CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CreatorGoalIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CreatorGoalIdRef

source§

fn from(s: &'a str) -> &'a CreatorGoalIdRef

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for Arc<CreatorGoalIdRef>

source§

fn from(r: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for CreatorGoalId

source§

fn from(s: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CreatorGoalIdRef> for Rc<CreatorGoalIdRef>

source§

fn from(r: &CreatorGoalIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CreatorGoalId> for Box<CreatorGoalIdRef>

source§

fn from(r: CreatorGoalId) -> Self

Converts to this type from the input type.
source§

impl Hash for CreatorGoalIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

source§

fn into_cow(self) -> Cow<'a, CreatorGoalIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CreatorGoalIdRef

source§

fn cmp(&self, other: &CreatorGoalIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &&CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for &CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalId> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalId

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CreatorGoalIdRef> for CreatorGoalIdRef

source§

fn eq(&self, other: &CreatorGoalIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CreatorGoalIdRef> for CreatorGoalIdRef

source§

fn partial_cmp(&self, other: &CreatorGoalIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for CreatorGoalIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CreatorGoalIdRef

§

type Owned = CreatorGoalId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalId> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CreatorGoalIdRef> for &'zf CreatorGoalIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CreatorGoalIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CreatorGoalIdRef

source§

impl StructuralEq for CreatorGoalIdRef

source§

impl StructuralPartialEq for CreatorGoalIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/index.html b/twitch_types/index.html index ed03f16c..73e7d343 100644 --- a/twitch_types/index.html +++ b/twitch_types/index.html @@ -1,2 +1,2 @@ -twitch_types - Rust

Crate twitch_types

source ·
Expand description

Twitch types

+twitch_types - Rust

Crate twitch_types

source ·
Expand description

Twitch types

Re-exports

  • pub use crate::color::*;
    color
  • pub use crate::emote::*;
    emote
  • pub use crate::eventsub::*;
    eventsub
  • pub use crate::goal::*;
    goal
  • pub use crate::moderation::*;
    moderation
  • pub use crate::points::*;
    points
  • pub use crate::stream::*;
    stream
  • pub use crate::time::*;
    timestamp
  • pub use crate::user::*;
    user

Modules

  • colorcolor
    types for colors
  • emoteemote
    types for emotes
  • eventsubeventsub
    types for eventsub related things
  • goalgoal
    types for goals
  • moderationmoderation
    types for moderation
  • pointspoints
    types for points
  • streamstream
    types for stream related things
  • timetimestamp
    types for time
  • useruser
    types for user related things

Structs

Enums

  • Broadcaster types: “partner”, “affiliate”, or “”.
  • User types: “staff”, “admin”, “global_mod”, or “”.

Traits

Type Aliases

  • A username, also specified as login. Should not be capitalized.
  • A reference to a borrowed UserName, also specified as login. Should not be capitalized.
\ No newline at end of file diff --git a/twitch_types/moderation/enum.AutomodStatus.html b/twitch_types/moderation/enum.AutomodStatus.html index 763b1085..baa8e885 100644 --- a/twitch_types/moderation/enum.AutomodStatus.html +++ b/twitch_types/moderation/enum.AutomodStatus.html @@ -1,4 +1,4 @@ -AutomodStatus in twitch_types::moderation - Rust
#[non_exhaustive]
pub enum AutomodStatus { +AutomodStatus in twitch_types::moderation - Rust
#[non_exhaustive]
pub enum AutomodStatus { Pending, Allowed, Denied, @@ -8,11 +8,11 @@
§

Allowed

Message has been allowed

§

Denied

Message has been denied

§

Expired

Automod message expired in queue

-

Trait Implementations§

source§

impl Clone for AutomodStatus

source§

fn clone(&self) -> AutomodStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutomodStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AutomodStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<AutomodStatus> for AutomodStatus

source§

fn eq(&self, other: &AutomodStatus) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AutomodStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AutomodStatus

source§

impl StructuralEq for AutomodStatus

source§

impl StructuralPartialEq for AutomodStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for AutomodStatus

source§

fn clone(&self) -> AutomodStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutomodStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for AutomodStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<AutomodStatus> for AutomodStatus

source§

fn eq(&self, other: &AutomodStatus) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for AutomodStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for AutomodStatus

source§

impl StructuralEq for AutomodStatus

source§

impl StructuralPartialEq for AutomodStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/moderation/index.html b/twitch_types/moderation/index.html index de1fb175..95921067 100644 --- a/twitch_types/moderation/index.html +++ b/twitch_types/moderation/index.html @@ -1,2 +1,2 @@ -twitch_types::moderation - Rust
Available on crate feature moderation only.
Expand description

types for moderation

+twitch_types::moderation - Rust
Available on crate feature moderation only.
Expand description

types for moderation

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/moderation/struct.BlockedTermId.html b/twitch_types/moderation/struct.BlockedTermId.html index 38d0e522..004d808e 100644 --- a/twitch_types/moderation/struct.BlockedTermId.html +++ b/twitch_types/moderation/struct.BlockedTermId.html @@ -1,32 +1,32 @@ -BlockedTermId in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct BlockedTermId(_);
Available on crate feature moderation only.
Expand description

A blocked term ID

-

Implementations§

source§

impl BlockedTermId

source

pub const fn new(raw: String) -> Self

Constructs a new BlockedTermId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newBlockedTermIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<BlockedTermIdRef>

Converts this BlockedTermId into a Box<BlockedTermIdRef>

+BlockedTermId in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct BlockedTermId(/* private fields */);
Available on crate feature moderation only.
Expand description

A blocked term ID

+

Implementations§

source§

impl BlockedTermId

source

pub const fn new(raw: String) -> Self

Constructs a new BlockedTermId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newBlockedTermIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<BlockedTermIdRef>

Converts this BlockedTermId into a Box<BlockedTermIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = BlockedTermIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, BlockedTermIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = BlockedTermIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, BlockedTermIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for BlockedTermId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<BlockedTermIdRef> for BlockedTermId

source§

fn as_ref(&self) -> &BlockedTermIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BlockedTermId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BlockedTermIdRef> for BlockedTermId

source§

fn borrow(&self) -> &BlockedTermIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BlockedTermId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for BlockedTermId

source§

fn clone(&self) -> BlockedTermId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlockedTermId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for BlockedTermId

§

type Target = BlockedTermIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for BlockedTermId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BlockedTermId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BlockedTermId> for Cow<'a, BlockedTermIdRef>

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for BlockedTermId

source§

fn from(s: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for BlockedTermId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for Box<BlockedTermIdRef>

source§

fn from(r: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<BlockedTermId> for Cow<'a, BlockedTermIdRef>

source§

fn from(owned: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for String

source§

fn from(s: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<Box<BlockedTermIdRef, Global>> for BlockedTermId

source§

fn from(r: Box<BlockedTermIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for BlockedTermId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, BlockedTermIdRef>> for BlockedTermId

source§

fn from(r: Cow<'a, BlockedTermIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for BlockedTermId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for BlockedTermId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockedTermId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for BlockedTermId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<BlockedTermIdRef> for BlockedTermId

source§

fn as_ref(&self) -> &BlockedTermIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BlockedTermId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BlockedTermIdRef> for BlockedTermId

source§

fn borrow(&self) -> &BlockedTermIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BlockedTermId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for BlockedTermId

source§

fn clone(&self) -> BlockedTermId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for BlockedTermId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for BlockedTermId

§

type Target = BlockedTermIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for BlockedTermId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BlockedTermId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BlockedTermId> for Cow<'a, BlockedTermIdRef>

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for BlockedTermId

source§

fn from(s: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for BlockedTermId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for Box<BlockedTermIdRef>

source§

fn from(r: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<BlockedTermId> for Cow<'a, BlockedTermIdRef>

source§

fn from(owned: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for String

source§

fn from(s: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl From<Box<BlockedTermIdRef, Global>> for BlockedTermId

source§

fn from(r: Box<BlockedTermIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for BlockedTermId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, BlockedTermIdRef>> for BlockedTermId

source§

fn from(r: Cow<'a, BlockedTermIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for BlockedTermId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for BlockedTermId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for BlockedTermId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BlockedTermId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &&BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for &BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BlockedTermId> for BlockedTermId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for BlockedTermId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BlockedTermId

source§

impl StructuralEq for BlockedTermId

source§

impl StructuralPartialEq for BlockedTermId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BlockedTermId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &&BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for &BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BlockedTermId> for BlockedTermId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for BlockedTermId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BlockedTermId

source§

impl StructuralEq for BlockedTermId

source§

impl StructuralPartialEq for BlockedTermId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/moderation/struct.BlockedTermIdRef.html b/twitch_types/moderation/struct.BlockedTermIdRef.html index 9fd196de..ea474881 100644 --- a/twitch_types/moderation/struct.BlockedTermIdRef.html +++ b/twitch_types/moderation/struct.BlockedTermIdRef.html @@ -1,25 +1,25 @@ -BlockedTermIdRef in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct BlockedTermIdRef(_);
Available on crate feature moderation only.
Expand description

A blocked term ID

-

Implementations§

source§

impl BlockedTermIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed BlockedTermIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed BlockedTermIdRef

-
source

pub fn into_owned(self: Box<BlockedTermIdRef>) -> BlockedTermId

Converts a Box<BlockedTermIdRef> into a BlockedTermId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl BlockedTermIdRef

source

pub fn as_cow(&self) -> Cow<'_, BlockedTermIdRef>

Get a +BlockedTermIdRef in twitch_types::moderation - Rust

#[repr(transparent)]
pub struct BlockedTermIdRef(/* private fields */);
Available on crate feature moderation only.
Expand description

A blocked term ID

+

Implementations§

source§

impl BlockedTermIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed BlockedTermIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed BlockedTermIdRef

+
source

pub fn into_owned(self: Box<BlockedTermIdRef>) -> BlockedTermId

Converts a Box<BlockedTermIdRef> into a BlockedTermId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl BlockedTermIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a BlockedTermIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<BlockedTermIdRef> for BlockedTermId

source§

fn as_ref(&self) -> &BlockedTermIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BlockedTermIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BlockedTermIdRef> for BlockedTermId

source§

fn borrow(&self) -> &BlockedTermIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BlockedTermIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for BlockedTermIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a BlockedTermIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<BlockedTermIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BlockedTermIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BlockedTermIdRef> for Cow<'a, BlockedTermIdRef>

source§

fn from(r: &'a BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, BlockedTermIdRef>> for &'a BlockedTermIdRef

source§

fn from(r: &'a Cow<'b, BlockedTermIdRef>) -> &'a BlockedTermIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a BlockedTermIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a BlockedTermIdRef

source§

fn from(s: &'a str) -> &'a BlockedTermIdRef

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for Arc<BlockedTermIdRef>

source§

fn from(r: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for BlockedTermId

source§

fn from(s: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for Rc<BlockedTermIdRef>

source§

fn from(r: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for Box<BlockedTermIdRef>

source§

fn from(r: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl Hash for BlockedTermIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermIdRef

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BlockedTermIdRef

source§

fn cmp(&self, other: &BlockedTermIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &&BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for &BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BlockedTermIdRef> for BlockedTermIdRef

source§

fn partial_cmp(&self, other: &BlockedTermIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for BlockedTermIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for BlockedTermIdRef

§

type Owned = BlockedTermId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, BlockedTermIdRef> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BlockedTermIdRef

source§

impl StructuralEq for BlockedTermIdRef

source§

impl StructuralPartialEq for BlockedTermIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a BlockedTermIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<BlockedTermIdRef> for BlockedTermId

source§

fn as_ref(&self) -> &BlockedTermIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for BlockedTermIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<BlockedTermIdRef> for BlockedTermId

source§

fn borrow(&self) -> &BlockedTermIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for BlockedTermIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for BlockedTermIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a BlockedTermIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<BlockedTermIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for BlockedTermIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a BlockedTermId> for &'a BlockedTermIdRef

source§

fn from(owned: &'a BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a BlockedTermIdRef> for Cow<'a, BlockedTermIdRef>

source§

fn from(r: &'a BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, BlockedTermIdRef>> for &'a BlockedTermIdRef

source§

fn from(r: &'a Cow<'b, BlockedTermIdRef>) -> &'a BlockedTermIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a BlockedTermIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a BlockedTermIdRef

source§

fn from(s: &'a str) -> &'a BlockedTermIdRef

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for Arc<BlockedTermIdRef>

source§

fn from(r: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for BlockedTermId

source§

fn from(s: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&BlockedTermIdRef> for Rc<BlockedTermIdRef>

source§

fn from(r: &BlockedTermIdRef) -> Self

Converts to this type from the input type.
source§

impl From<BlockedTermId> for Box<BlockedTermIdRef>

source§

fn from(r: BlockedTermId) -> Self

Converts to this type from the input type.
source§

impl Hash for BlockedTermIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermIdRef

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

source§

fn into_cow(self) -> Cow<'a, BlockedTermIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for BlockedTermIdRef

source§

fn cmp(&self, other: &BlockedTermIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &&BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for &BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermId> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermId

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<BlockedTermIdRef> for BlockedTermIdRef

source§

fn eq(&self, other: &BlockedTermIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<BlockedTermIdRef> for BlockedTermIdRef

source§

fn partial_cmp(&self, other: &BlockedTermIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for BlockedTermIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for BlockedTermIdRef

§

type Owned = BlockedTermId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, BlockedTermId> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, BlockedTermIdRef> for &'zf BlockedTermIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf BlockedTermIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for BlockedTermIdRef

source§

impl StructuralEq for BlockedTermIdRef

source§

impl StructuralPartialEq for BlockedTermIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/moderation/struct.MsgId.html b/twitch_types/moderation/struct.MsgId.html index b839942b..d54e42cd 100644 --- a/twitch_types/moderation/struct.MsgId.html +++ b/twitch_types/moderation/struct.MsgId.html @@ -1,4 +1,4 @@ -MsgId in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct MsgId(_);
Available on crate feature moderation only.
Expand description

A message ID

+MsgId in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct MsgId(/* private fields */);
Available on crate feature moderation only.
Expand description

A message ID

Implementations§

source§

impl MsgId

source

pub const fn new(raw: String) -> Self

Constructs a new MsgId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newMsgIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<MsgIdRef>

Converts this MsgId into a Box<MsgIdRef>

@@ -9,23 +9,23 @@ Cow<'_, MsgIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for MsgId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for MsgId

source§

fn clone(&self) -> MsgId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MsgId

§

type Target = MsgIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MsgId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for MsgId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<MsgIdRef, Global>> for MsgId

source§

fn from(r: Box<MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for MsgId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, MsgIdRef>> for MsgId

source§

fn from(r: Cow<'a, MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for String

source§

fn from(s: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<String> for MsgId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for MsgId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for MsgId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for MsgId

source§

fn clone(&self) -> MsgId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MsgId

§

type Target = MsgIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MsgId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for MsgId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<MsgIdRef, Global>> for MsgId

source§

fn from(r: Box<MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for MsgId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, MsgIdRef>> for MsgId

source§

fn from(r: Cow<'a, MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for String

source§

fn from(s: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<String> for MsgId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for MsgId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for MsgId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgId

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgId

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgId

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgId> for MsgId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgId> for MsgId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for MsgId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for MsgId

source§

impl StructuralEq for MsgId

source§

impl StructuralPartialEq for MsgId

Auto Trait Implementations§

§

impl RefUnwindSafe for MsgId

§

impl Send for MsgId

§

impl Sync for MsgId

§

impl Unpin for MsgId

§

impl UnwindSafe for MsgId

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/moderation/struct.MsgIdRef.html b/twitch_types/moderation/struct.MsgIdRef.html index b0ace94e..4cd6079d 100644 --- a/twitch_types/moderation/struct.MsgIdRef.html +++ b/twitch_types/moderation/struct.MsgIdRef.html @@ -1,4 +1,4 @@ -MsgIdRef in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct MsgIdRef(_);
Available on crate feature moderation only.
Expand description

A message ID

+MsgIdRef in twitch_types::moderation - Rust
#[repr(transparent)]
pub struct MsgIdRef(/* private fields */);
Available on crate feature moderation only.
Expand description

A message ID

Implementations§

source§

impl MsgIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed MsgIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed MsgIdRef

source

pub fn into_owned(self: Box<MsgIdRef>) -> MsgId

Converts a Box<MsgIdRef> into a MsgId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, MsgIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a MsgIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<MsgIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef

source§

fn from(r: &'a Cow<'b, MsgIdRef>) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>

source§

fn from(r: &'a MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a MsgIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a MsgIdRef

source§

fn from(s: &'a str) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Arc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Rc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl Hash for MsgIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgIdRef

source§

fn cmp(&self, other: &MsgIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<MsgIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef

source§

fn from(r: &'a Cow<'b, MsgIdRef>) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>

source§

fn from(r: &'a MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a MsgIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a MsgIdRef

source§

fn from(s: &'a str) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Arc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Rc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl Hash for MsgIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgIdRef

source§

fn cmp(&self, other: &MsgIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgId

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgIdRef

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgIdRef> for MsgIdRef

source§

fn partial_cmp(&self, other: &MsgIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgIdRef

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgIdRef> for MsgIdRef

source§

fn partial_cmp(&self, other: &MsgIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for MsgIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for MsgIdRef

§

type Owned = MsgId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, MsgIdRef> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for MsgIdRef

source§

impl StructuralEq for MsgIdRef

source§

impl StructuralPartialEq for MsgIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/points/enum.Max.html b/twitch_types/points/enum.Max.html index 220c236a..4a55025b 100644 --- a/twitch_types/points/enum.Max.html +++ b/twitch_types/points/enum.Max.html @@ -1,4 +1,4 @@ -Max in twitch_types::points - Rust

Enum twitch_types::points::Max

source ·
#[non_exhaustive]
pub enum Max { +Max in twitch_types::points - Rust

Enum twitch_types::points::Max

source ·
#[non_exhaustive]
pub enum Max { MaxPerStream { is_enabled: bool, max_per_stream: u32, @@ -14,11 +14,11 @@
§

MaxPerUserPerStream

Fields

§is_enabled: bool

Max per user per stream is enabled

§max_per_user_per_stream: u32

Max amount of redemptions per user per stream

Max per user per stream

-

Trait Implementations§

source§

impl Clone for Max

source§

fn clone(&self) -> Max

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Max

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Max

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Max> for Max

source§

fn eq(&self, other: &Max) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Max

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Max

source§

impl StructuralEq for Max

source§

impl StructuralPartialEq for Max

Auto Trait Implementations§

§

impl RefUnwindSafe for Max

§

impl Send for Max

§

impl Sync for Max

§

impl Unpin for Max

§

impl UnwindSafe for Max

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for Max

source§

fn clone(&self) -> Max

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Max

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Max

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<Max> for Max

source§

fn eq(&self, other: &Max) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Max

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Max

source§

impl StructuralEq for Max

source§

impl StructuralPartialEq for Max

Auto Trait Implementations§

§

impl RefUnwindSafe for Max

§

impl Send for Max

§

impl Sync for Max

§

impl Unpin for Max

§

impl UnwindSafe for Max

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/enum.PollStatus.html b/twitch_types/points/enum.PollStatus.html index 886e83ae..8f09c9b1 100644 --- a/twitch_types/points/enum.PollStatus.html +++ b/twitch_types/points/enum.PollStatus.html @@ -1,4 +1,4 @@ -PollStatus in twitch_types::points - Rust
#[non_exhaustive]
pub enum PollStatus { +PollStatus in twitch_types::points - Rust
#[non_exhaustive]
pub enum PollStatus { Active, Completed, Terminated, @@ -12,11 +12,11 @@
§

Archived

Poll is no longer visible on the channel.

§

Moderated

Poll is no longer visible to any user on Twitch.

§

Invalid

Something went wrong determining the state.

-

Trait Implementations§

source§

impl Clone for PollStatus

source§

fn clone(&self) -> PollStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PollStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PollStatus> for PollStatus

source§

fn eq(&self, other: &PollStatus) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PollStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PollStatus

source§

impl StructuralEq for PollStatus

source§

impl StructuralPartialEq for PollStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for PollStatus

source§

fn clone(&self) -> PollStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PollStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PollStatus> for PollStatus

source§

fn eq(&self, other: &PollStatus) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PollStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PollStatus

source§

impl StructuralEq for PollStatus

source§

impl StructuralPartialEq for PollStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/enum.PredictionStatus.html b/twitch_types/points/enum.PredictionStatus.html index f67b3014..de6a9de9 100644 --- a/twitch_types/points/enum.PredictionStatus.html +++ b/twitch_types/points/enum.PredictionStatus.html @@ -1,4 +1,4 @@ -PredictionStatus in twitch_types::points - Rust
#[non_exhaustive]
pub enum PredictionStatus { +PredictionStatus in twitch_types::points - Rust
#[non_exhaustive]
pub enum PredictionStatus { Resolved, Active, Canceled, @@ -8,11 +8,11 @@
§

Active

The Prediction is active and viewers can make predictions.

§

Canceled

The Prediction has been canceled and the Channel Points have been refunded to participants.

§

Locked

The Prediction has been locked and viewers can no longer make predictions.

-

Trait Implementations§

source§

impl Clone for PredictionStatus

source§

fn clone(&self) -> PredictionStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionStatus> for PredictionStatus

source§

fn eq(&self, other: &PredictionStatus) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionStatus

source§

impl StructuralEq for PredictionStatus

source§

impl StructuralPartialEq for PredictionStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for PredictionStatus

source§

fn clone(&self) -> PredictionStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionStatus

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionStatus> for PredictionStatus

source§

fn eq(&self, other: &PredictionStatus) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionStatus

source§

impl StructuralEq for PredictionStatus

source§

impl StructuralPartialEq for PredictionStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/index.html b/twitch_types/points/index.html index 3156c29d..4fdc15f1 100644 --- a/twitch_types/points/index.html +++ b/twitch_types/points/index.html @@ -1,2 +1,2 @@ -twitch_types::points - Rust

Module twitch_types::points

source ·
Available on crate feature points only.
Expand description

types for points

+twitch_types::points - Rust

Module twitch_types::points

source ·
Available on crate feature points only.
Expand description

types for points

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/points/struct.GlobalCooldown.html b/twitch_types/points/struct.GlobalCooldown.html index 8b94e9fc..2ccc3fdf 100644 --- a/twitch_types/points/struct.GlobalCooldown.html +++ b/twitch_types/points/struct.GlobalCooldown.html @@ -1,13 +1,13 @@ -GlobalCooldown in twitch_types::points - Rust
#[non_exhaustive]
pub struct GlobalCooldown { +GlobalCooldown in twitch_types::points - Rust
#[non_exhaustive]
pub struct GlobalCooldown { pub is_enabled: bool, pub global_cooldown_seconds: u32, }
Available on crate feature points only.
Expand description

Information about global cooldown

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§is_enabled: bool

Cooldown enabled

§global_cooldown_seconds: u32

Cooldown amount

-

Trait Implementations§

source§

impl Clone for GlobalCooldown

source§

fn clone(&self) -> GlobalCooldown

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GlobalCooldown

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GlobalCooldown

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +

Trait Implementations§

source§

impl Clone for GlobalCooldown

source§

fn clone(&self) -> GlobalCooldown

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GlobalCooldown

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for GlobalCooldown

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<GlobalCooldown> for GlobalCooldown

source§

fn eq(&self, other: &GlobalCooldown) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GlobalCooldown

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where +by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for GlobalCooldown

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for GlobalCooldown

source§

impl StructuralEq for GlobalCooldown

source§

impl StructuralPartialEq for GlobalCooldown

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/points/struct.PollChoice.html b/twitch_types/points/struct.PollChoice.html index 651a7305..2aa1e439 100644 --- a/twitch_types/points/struct.PollChoice.html +++ b/twitch_types/points/struct.PollChoice.html @@ -1,4 +1,4 @@ -PollChoice in twitch_types::points - Rust
#[non_exhaustive]
pub struct PollChoice { +PollChoice in twitch_types::points - Rust
#[non_exhaustive]
pub struct PollChoice { pub id: String, pub title: String, pub votes: Option<i64>, @@ -10,11 +10,11 @@
§votes: Option<i64>

Total number of votes received for the choice across all methods of voting.

§channel_points_votes: Option<i64>

Number of votes received via Channel Points.

§bits_votes: Option<i64>

Number of votes received via Bits.

-

Trait Implementations§

source§

impl Clone for PollChoice

source§

fn clone(&self) -> PollChoice

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollChoice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PollChoice

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PollChoice> for PollChoice

source§

fn eq(&self, other: &PollChoice) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PollChoice

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PollChoice

source§

impl StructuralEq for PollChoice

source§

impl StructuralPartialEq for PollChoice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for PollChoice

source§

fn clone(&self) -> PollChoice

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollChoice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PollChoice

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PollChoice> for PollChoice

source§

fn eq(&self, other: &PollChoice) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PollChoice

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PollChoice

source§

impl StructuralEq for PollChoice

source§

impl StructuralPartialEq for PollChoice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PollChoiceId.html b/twitch_types/points/struct.PollChoiceId.html index 13a34ceb..714422ce 100644 --- a/twitch_types/points/struct.PollChoiceId.html +++ b/twitch_types/points/struct.PollChoiceId.html @@ -1,32 +1,32 @@ -PollChoiceId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PollChoiceId(_);
Available on crate feature points only.
Expand description

A poll choice ID

-

Implementations§

source§

impl PollChoiceId

source

pub const fn new(raw: String) -> Self

Constructs a new PollChoiceId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPollChoiceIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<PollChoiceIdRef>

Converts this PollChoiceId into a Box<PollChoiceIdRef>

+PollChoiceId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PollChoiceId(/* private fields */);
Available on crate feature points only.
Expand description

A poll choice ID

+

Implementations§

source§

impl PollChoiceId

source

pub const fn new(raw: String) -> Self

Constructs a new PollChoiceId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPollChoiceIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<PollChoiceIdRef>

Converts this PollChoiceId into a Box<PollChoiceIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = PollChoiceIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, PollChoiceIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = PollChoiceIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, PollChoiceIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PollChoiceId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PollChoiceIdRef> for PollChoiceId

source§

fn as_ref(&self) -> &PollChoiceIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollChoiceId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollChoiceIdRef> for PollChoiceId

source§

fn borrow(&self) -> &PollChoiceIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollChoiceId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PollChoiceId

source§

fn clone(&self) -> PollChoiceId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollChoiceId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PollChoiceId

§

type Target = PollChoiceIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PollChoiceId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollChoiceId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceId> for Cow<'a, PollChoiceIdRef>

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for PollChoiceId

source§

fn from(s: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PollChoiceId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PollChoiceIdRef, Global>> for PollChoiceId

source§

fn from(r: Box<PollChoiceIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PollChoiceId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PollChoiceIdRef>> for PollChoiceId

source§

fn from(r: Cow<'a, PollChoiceIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for Box<PollChoiceIdRef>

source§

fn from(r: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PollChoiceId> for Cow<'a, PollChoiceIdRef>

source§

fn from(owned: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for String

source§

fn from(s: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PollChoiceId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PollChoiceId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PollChoiceId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PollChoiceId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PollChoiceIdRef> for PollChoiceId

source§

fn as_ref(&self) -> &PollChoiceIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollChoiceId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollChoiceIdRef> for PollChoiceId

source§

fn borrow(&self) -> &PollChoiceIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollChoiceId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PollChoiceId

source§

fn clone(&self) -> PollChoiceId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollChoiceId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PollChoiceId

§

type Target = PollChoiceIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PollChoiceId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollChoiceId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceId> for Cow<'a, PollChoiceIdRef>

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for PollChoiceId

source§

fn from(s: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PollChoiceId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PollChoiceIdRef, Global>> for PollChoiceId

source§

fn from(r: Box<PollChoiceIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PollChoiceId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PollChoiceIdRef>> for PollChoiceId

source§

fn from(r: Cow<'a, PollChoiceIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for Box<PollChoiceIdRef>

source§

fn from(r: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PollChoiceId> for Cow<'a, PollChoiceIdRef>

source§

fn from(owned: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for String

source§

fn from(s: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PollChoiceId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PollChoiceId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PollChoiceId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollChoiceId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &&PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for &PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollChoiceId> for PollChoiceId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PollChoiceId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollChoiceId

source§

impl StructuralEq for PollChoiceId

source§

impl StructuralPartialEq for PollChoiceId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollChoiceId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &&PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for &PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollChoiceId> for PollChoiceId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PollChoiceId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollChoiceId

source§

impl StructuralEq for PollChoiceId

source§

impl StructuralPartialEq for PollChoiceId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PollChoiceIdRef.html b/twitch_types/points/struct.PollChoiceIdRef.html index 04447a2b..ea5de8f9 100644 --- a/twitch_types/points/struct.PollChoiceIdRef.html +++ b/twitch_types/points/struct.PollChoiceIdRef.html @@ -1,25 +1,25 @@ -PollChoiceIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct PollChoiceIdRef(_);
Available on crate feature points only.
Expand description

A poll choice ID

-

Implementations§

source§

impl PollChoiceIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PollChoiceIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PollChoiceIdRef

-
source

pub fn into_owned(self: Box<PollChoiceIdRef>) -> PollChoiceId

Converts a Box<PollChoiceIdRef> into a PollChoiceId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl PollChoiceIdRef

source

pub fn as_cow(&self) -> Cow<'_, PollChoiceIdRef>

Get a +PollChoiceIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct PollChoiceIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A poll choice ID

+

Implementations§

source§

impl PollChoiceIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PollChoiceIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PollChoiceIdRef

+
source

pub fn into_owned(self: Box<PollChoiceIdRef>) -> PollChoiceId

Converts a Box<PollChoiceIdRef> into a PollChoiceId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl PollChoiceIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PollChoiceIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PollChoiceIdRef> for PollChoiceId

source§

fn as_ref(&self) -> &PollChoiceIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollChoiceIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollChoiceIdRef> for PollChoiceId

source§

fn borrow(&self) -> &PollChoiceIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollChoiceIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PollChoiceIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PollChoiceIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PollChoiceIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollChoiceIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PollChoiceIdRef>> for &'a PollChoiceIdRef

source§

fn from(r: &'a Cow<'b, PollChoiceIdRef>) -> &'a PollChoiceIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceIdRef> for Cow<'a, PollChoiceIdRef>

source§

fn from(r: &'a PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PollChoiceIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PollChoiceIdRef

source§

fn from(s: &'a str) -> &'a PollChoiceIdRef

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for Arc<PollChoiceIdRef>

source§

fn from(r: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for PollChoiceId

source§

fn from(s: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for Rc<PollChoiceIdRef>

source§

fn from(r: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for Box<PollChoiceIdRef>

source§

fn from(r: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl Hash for PollChoiceIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceIdRef

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollChoiceIdRef

source§

fn cmp(&self, other: &PollChoiceIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &&PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for &PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollChoiceIdRef> for PollChoiceIdRef

source§

fn partial_cmp(&self, other: &PollChoiceIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PollChoiceIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PollChoiceIdRef

§

type Owned = PollChoiceId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PollChoiceIdRef> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollChoiceIdRef

source§

impl StructuralEq for PollChoiceIdRef

source§

impl StructuralPartialEq for PollChoiceIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PollChoiceIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PollChoiceIdRef> for PollChoiceId

source§

fn as_ref(&self) -> &PollChoiceIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollChoiceIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollChoiceIdRef> for PollChoiceId

source§

fn borrow(&self) -> &PollChoiceIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollChoiceIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PollChoiceIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PollChoiceIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PollChoiceIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollChoiceIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PollChoiceIdRef>> for &'a PollChoiceIdRef

source§

fn from(r: &'a Cow<'b, PollChoiceIdRef>) -> &'a PollChoiceIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceId> for &'a PollChoiceIdRef

source§

fn from(owned: &'a PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollChoiceIdRef> for Cow<'a, PollChoiceIdRef>

source§

fn from(r: &'a PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PollChoiceIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PollChoiceIdRef

source§

fn from(s: &'a str) -> &'a PollChoiceIdRef

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for Arc<PollChoiceIdRef>

source§

fn from(r: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for PollChoiceId

source§

fn from(s: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollChoiceIdRef> for Rc<PollChoiceIdRef>

source§

fn from(r: &PollChoiceIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PollChoiceId> for Box<PollChoiceIdRef>

source§

fn from(r: PollChoiceId) -> Self

Converts to this type from the input type.
source§

impl Hash for PollChoiceIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceIdRef

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

source§

fn into_cow(self) -> Cow<'a, PollChoiceIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollChoiceIdRef

source§

fn cmp(&self, other: &PollChoiceIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &&PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for &PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceId> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceId

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollChoiceIdRef> for PollChoiceIdRef

source§

fn eq(&self, other: &PollChoiceIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollChoiceIdRef> for PollChoiceIdRef

source§

fn partial_cmp(&self, other: &PollChoiceIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PollChoiceIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PollChoiceIdRef

§

type Owned = PollChoiceId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PollChoiceId> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PollChoiceIdRef> for &'zf PollChoiceIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollChoiceIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollChoiceIdRef

source§

impl StructuralEq for PollChoiceIdRef

source§

impl StructuralPartialEq for PollChoiceIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/points/struct.PollId.html b/twitch_types/points/struct.PollId.html index 087e50dc..f5e0b73b 100644 --- a/twitch_types/points/struct.PollId.html +++ b/twitch_types/points/struct.PollId.html @@ -1,32 +1,32 @@ -PollId in twitch_types::points - Rust

Struct twitch_types::points::PollId

source ·
#[repr(transparent)]
pub struct PollId(_);
Available on crate feature points only.
Expand description

A poll ID

-

Implementations§

source§

impl PollId

source

pub const fn new(raw: String) -> Self

Constructs a new PollId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPollIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<PollIdRef>

Converts this PollId into a Box<PollIdRef>

+PollId in twitch_types::points - Rust

Struct twitch_types::points::PollId

source ·
#[repr(transparent)]
pub struct PollId(/* private fields */);
Available on crate feature points only.
Expand description

A poll ID

+

Implementations§

source§

impl PollId

source

pub const fn new(raw: String) -> Self

Constructs a new PollId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPollIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<PollIdRef>

Converts this PollId into a Box<PollIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = PollIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, PollIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = PollIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, PollIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PollId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PollIdRef> for PollId

source§

fn as_ref(&self) -> &PollIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollIdRef> for PollId

source§

fn borrow(&self) -> &PollIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PollId

source§

fn clone(&self) -> PollId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PollId

§

type Target = PollIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PollId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PollId> for &'a PollIdRef

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollId> for Cow<'a, PollIdRef>

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for PollId

source§

fn from(s: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PollId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PollIdRef, Global>> for PollId

source§

fn from(r: Box<PollIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PollId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PollIdRef>> for PollId

source§

fn from(r: Cow<'a, PollIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for Box<PollIdRef>

source§

fn from(r: PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PollId> for Cow<'a, PollIdRef>

source§

fn from(owned: PollId) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for String

source§

fn from(s: PollId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PollId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PollId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PollId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PollId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PollIdRef> for PollId

source§

fn as_ref(&self) -> &PollIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollIdRef> for PollId

source§

fn borrow(&self) -> &PollIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PollId

source§

fn clone(&self) -> PollId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PollId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PollId

§

type Target = PollIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PollId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PollId> for &'a PollIdRef

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollId> for Cow<'a, PollIdRef>

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for PollId

source§

fn from(s: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PollId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PollIdRef, Global>> for PollId

source§

fn from(r: Box<PollIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PollId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PollIdRef>> for PollId

source§

fn from(r: Cow<'a, PollIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for Box<PollIdRef>

source§

fn from(r: PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PollId> for Cow<'a, PollIdRef>

source§

fn from(owned: PollId) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for String

source§

fn from(s: PollId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PollId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PollId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PollId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PollIdRef> for PollId

source§

fn eq(&self, other: &&PollIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for &PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollId

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollId

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollId> for PollId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PollId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollId

source§

impl StructuralEq for PollId

source§

impl StructuralPartialEq for PollId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PollIdRef> for PollId

source§

fn eq(&self, other: &&PollIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for &PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollId

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollId

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollId> for PollId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PollId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollId

source§

impl StructuralEq for PollId

source§

impl StructuralPartialEq for PollId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PollIdRef.html b/twitch_types/points/struct.PollIdRef.html index 8a48f432..31dd1f72 100644 --- a/twitch_types/points/struct.PollIdRef.html +++ b/twitch_types/points/struct.PollIdRef.html @@ -1,25 +1,25 @@ -PollIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct PollIdRef(_);
Available on crate feature points only.
Expand description

A poll ID

-

Implementations§

source§

impl PollIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PollIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PollIdRef

-
source

pub fn into_owned(self: Box<PollIdRef>) -> PollId

Converts a Box<PollIdRef> into a PollId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl PollIdRef

source

pub fn as_cow(&self) -> Cow<'_, PollIdRef>

Get a +PollIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct PollIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A poll ID

+

Implementations§

source§

impl PollIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PollIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PollIdRef

+
source

pub fn into_owned(self: Box<PollIdRef>) -> PollId

Converts a Box<PollIdRef> into a PollId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl PollIdRef

source

pub fn as_cow(&self) -> Cow<'_, PollIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PollIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PollIdRef> for PollId

source§

fn as_ref(&self) -> &PollIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollIdRef> for PollId

source§

fn borrow(&self) -> &PollIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PollIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PollIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PollIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PollIdRef>> for &'a PollIdRef

source§

fn from(r: &'a Cow<'b, PollIdRef>) -> &'a PollIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PollId> for &'a PollIdRef

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollIdRef> for Cow<'a, PollIdRef>

source§

fn from(r: &'a PollIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PollIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PollIdRef

source§

fn from(s: &'a str) -> &'a PollIdRef

Converts to this type from the input type.
source§

impl From<&PollIdRef> for Arc<PollIdRef>

source§

fn from(r: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for PollId

source§

fn from(s: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for Rc<PollIdRef>

source§

fn from(r: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for Box<PollIdRef>

source§

fn from(r: PollId) -> Self

Converts to this type from the input type.
source§

impl Hash for PollIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollIdRef

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollIdRef

source§

fn cmp(&self, other: &PollIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PollIdRef> for PollId

source§

fn eq(&self, other: &&PollIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for &PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollId

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollIdRef

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollIdRef> for PollIdRef

source§

fn partial_cmp(&self, other: &PollIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PollIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PollIdRef

§

type Owned = PollId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PollIdRef> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollIdRef

source§

impl StructuralEq for PollIdRef

source§

impl StructuralPartialEq for PollIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PollIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PollIdRef> for PollId

source§

fn as_ref(&self) -> &PollIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PollIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PollIdRef> for PollId

source§

fn borrow(&self) -> &PollIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PollIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PollIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PollIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PollIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PollIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PollIdRef>> for &'a PollIdRef

source§

fn from(r: &'a Cow<'b, PollIdRef>) -> &'a PollIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PollId> for &'a PollIdRef

source§

fn from(owned: &'a PollId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PollIdRef> for Cow<'a, PollIdRef>

source§

fn from(r: &'a PollIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PollIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PollIdRef

source§

fn from(s: &'a str) -> &'a PollIdRef

Converts to this type from the input type.
source§

impl From<&PollIdRef> for Arc<PollIdRef>

source§

fn from(r: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for PollId

source§

fn from(s: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PollIdRef> for Rc<PollIdRef>

source§

fn from(r: &PollIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PollId> for Box<PollIdRef>

source§

fn from(r: PollId) -> Self

Converts to this type from the input type.
source§

impl Hash for PollIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollIdRef

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

source§

fn into_cow(self) -> Cow<'a, PollIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PollIdRef

source§

fn cmp(&self, other: &PollIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PollIdRef> for PollId

source§

fn eq(&self, other: &&PollIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for &PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollId> for PollIdRef

source§

fn eq(&self, other: &PollId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollId

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PollIdRef> for PollIdRef

source§

fn eq(&self, other: &PollIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PollIdRef> for PollIdRef

source§

fn partial_cmp(&self, other: &PollIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PollIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PollIdRef

§

type Owned = PollId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PollId> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PollIdRef> for &'zf PollIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PollIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PollIdRef

source§

impl StructuralEq for PollIdRef

source§

impl StructuralPartialEq for PollIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/points/struct.PredictionId.html b/twitch_types/points/struct.PredictionId.html index 52383a36..38423f0a 100644 --- a/twitch_types/points/struct.PredictionId.html +++ b/twitch_types/points/struct.PredictionId.html @@ -1,32 +1,32 @@ -PredictionId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionId(_);
Available on crate feature points only.
Expand description

A prediction ID

-

Implementations§

source§

impl PredictionId

source

pub const fn new(raw: String) -> Self

Constructs a new PredictionId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPredictionIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<PredictionIdRef>

Converts this PredictionId into a Box<PredictionIdRef>

+PredictionId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionId(/* private fields */);
Available on crate feature points only.
Expand description

A prediction ID

+

Implementations§

source§

impl PredictionId

source

pub const fn new(raw: String) -> Self

Constructs a new PredictionId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPredictionIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<PredictionIdRef>

Converts this PredictionId into a Box<PredictionIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = PredictionIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, PredictionIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = PredictionIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, PredictionIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PredictionId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PredictionIdRef> for PredictionId

source§

fn as_ref(&self) -> &PredictionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionIdRef> for PredictionId

source§

fn borrow(&self) -> &PredictionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PredictionId

source§

fn clone(&self) -> PredictionId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PredictionId

§

type Target = PredictionIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PredictionId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PredictionId> for &'a PredictionIdRef

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionId> for Cow<'a, PredictionIdRef>

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for PredictionId

source§

fn from(s: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PredictionId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PredictionIdRef, Global>> for PredictionId

source§

fn from(r: Box<PredictionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PredictionId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PredictionIdRef>> for PredictionId

source§

fn from(r: Cow<'a, PredictionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for Box<PredictionIdRef>

source§

fn from(r: PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PredictionId> for Cow<'a, PredictionIdRef>

source§

fn from(owned: PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for String

source§

fn from(s: PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PredictionId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PredictionId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PredictionId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PredictionId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PredictionIdRef> for PredictionId

source§

fn as_ref(&self) -> &PredictionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionIdRef> for PredictionId

source§

fn borrow(&self) -> &PredictionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PredictionId

source§

fn clone(&self) -> PredictionId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PredictionId

§

type Target = PredictionIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PredictionId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PredictionId> for &'a PredictionIdRef

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionId> for Cow<'a, PredictionIdRef>

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for PredictionId

source§

fn from(s: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PredictionId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PredictionIdRef, Global>> for PredictionId

source§

fn from(r: Box<PredictionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PredictionId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PredictionIdRef>> for PredictionId

source§

fn from(r: Cow<'a, PredictionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for Box<PredictionIdRef>

source§

fn from(r: PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PredictionId> for Cow<'a, PredictionIdRef>

source§

fn from(owned: PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for String

source§

fn from(s: PredictionId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PredictionId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PredictionId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PredictionId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &&PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for &PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionId

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionId> for PredictionId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PredictionId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionId

source§

impl StructuralEq for PredictionId

source§

impl StructuralPartialEq for PredictionId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &&PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for &PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionId

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionId> for PredictionId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PredictionId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionId

source§

impl StructuralEq for PredictionId

source§

impl StructuralPartialEq for PredictionId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PredictionIdRef.html b/twitch_types/points/struct.PredictionIdRef.html index 4507b001..6a87924c 100644 --- a/twitch_types/points/struct.PredictionIdRef.html +++ b/twitch_types/points/struct.PredictionIdRef.html @@ -1,25 +1,25 @@ -PredictionIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionIdRef(_);
Available on crate feature points only.
Expand description

A prediction ID

-

Implementations§

source§

impl PredictionIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PredictionIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PredictionIdRef

-
source

pub fn into_owned(self: Box<PredictionIdRef>) -> PredictionId

Converts a Box<PredictionIdRef> into a PredictionId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl PredictionIdRef

source

pub fn as_cow(&self) -> Cow<'_, PredictionIdRef>

Get a +PredictionIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct PredictionIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A prediction ID

+

Implementations§

source§

impl PredictionIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PredictionIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PredictionIdRef

+
source

pub fn into_owned(self: Box<PredictionIdRef>) -> PredictionId

Converts a Box<PredictionIdRef> into a PredictionId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl PredictionIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PredictionIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PredictionIdRef> for PredictionId

source§

fn as_ref(&self) -> &PredictionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionIdRef> for PredictionId

source§

fn borrow(&self) -> &PredictionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PredictionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PredictionIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionIdRef>> for &'a PredictionIdRef

source§

fn from(r: &'a Cow<'b, PredictionIdRef>) -> &'a PredictionIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionId> for &'a PredictionIdRef

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionIdRef> for Cow<'a, PredictionIdRef>

source§

fn from(r: &'a PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PredictionIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PredictionIdRef

source§

fn from(s: &'a str) -> &'a PredictionIdRef

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for Arc<PredictionIdRef>

source§

fn from(r: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for PredictionId

source§

fn from(s: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for Rc<PredictionIdRef>

source§

fn from(r: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for Box<PredictionIdRef>

source§

fn from(r: PredictionId) -> Self

Converts to this type from the input type.
source§

impl Hash for PredictionIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionIdRef

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionIdRef

source§

fn cmp(&self, other: &PredictionIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &&PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for &PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionIdRef

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionIdRef> for PredictionIdRef

source§

fn partial_cmp(&self, other: &PredictionIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PredictionIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PredictionIdRef

§

type Owned = PredictionId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PredictionIdRef> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionIdRef

source§

impl StructuralEq for PredictionIdRef

source§

impl StructuralPartialEq for PredictionIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PredictionIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PredictionIdRef> for PredictionId

source§

fn as_ref(&self) -> &PredictionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionIdRef> for PredictionId

source§

fn borrow(&self) -> &PredictionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PredictionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PredictionIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionIdRef>> for &'a PredictionIdRef

source§

fn from(r: &'a Cow<'b, PredictionIdRef>) -> &'a PredictionIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionId> for &'a PredictionIdRef

source§

fn from(owned: &'a PredictionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionIdRef> for Cow<'a, PredictionIdRef>

source§

fn from(r: &'a PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PredictionIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PredictionIdRef

source§

fn from(s: &'a str) -> &'a PredictionIdRef

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for Arc<PredictionIdRef>

source§

fn from(r: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for PredictionId

source§

fn from(s: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionIdRef> for Rc<PredictionIdRef>

source§

fn from(r: &PredictionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PredictionId> for Box<PredictionIdRef>

source§

fn from(r: PredictionId) -> Self

Converts to this type from the input type.
source§

impl Hash for PredictionIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionIdRef

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

source§

fn into_cow(self) -> Cow<'a, PredictionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionIdRef

source§

fn cmp(&self, other: &PredictionIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &&PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for &PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionId> for PredictionIdRef

source§

fn eq(&self, other: &PredictionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionId

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionIdRef> for PredictionIdRef

source§

fn eq(&self, other: &PredictionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionIdRef> for PredictionIdRef

source§

fn partial_cmp(&self, other: &PredictionIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PredictionIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PredictionIdRef

§

type Owned = PredictionId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionId> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PredictionIdRef> for &'zf PredictionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionIdRef

source§

impl StructuralEq for PredictionIdRef

source§

impl StructuralPartialEq for PredictionIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/points/struct.PredictionOutcome.html b/twitch_types/points/struct.PredictionOutcome.html index 9a5c94ea..e98389a9 100644 --- a/twitch_types/points/struct.PredictionOutcome.html +++ b/twitch_types/points/struct.PredictionOutcome.html @@ -1,4 +1,4 @@ -PredictionOutcome in twitch_types::points - Rust
#[non_exhaustive]
pub struct PredictionOutcome { +PredictionOutcome in twitch_types::points - Rust
#[non_exhaustive]
pub struct PredictionOutcome { pub id: String, pub title: String, pub users: Option<i64>, @@ -12,11 +12,11 @@
§channel_points: Option<i64>

Number of Channel Points used for the outcome.

§top_predictors: Option<Vec<PredictionTopPredictors>>

Array of users who were the top predictors. null if none. Top 10

§color: String

Color for the outcome. Valid values: BLUE, PINK

-

Trait Implementations§

source§

impl Clone for PredictionOutcome

source§

fn clone(&self) -> PredictionOutcome

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionOutcome

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionOutcome

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionOutcome> for PredictionOutcome

source§

fn eq(&self, other: &PredictionOutcome) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionOutcome

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionOutcome

source§

impl StructuralEq for PredictionOutcome

source§

impl StructuralPartialEq for PredictionOutcome

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for PredictionOutcome

source§

fn clone(&self) -> PredictionOutcome

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionOutcome

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionOutcome

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionOutcome> for PredictionOutcome

source§

fn eq(&self, other: &PredictionOutcome) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionOutcome

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionOutcome

source§

impl StructuralEq for PredictionOutcome

source§

impl StructuralPartialEq for PredictionOutcome

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PredictionOutcomeId.html b/twitch_types/points/struct.PredictionOutcomeId.html index 677f4bd6..e7d5225c 100644 --- a/twitch_types/points/struct.PredictionOutcomeId.html +++ b/twitch_types/points/struct.PredictionOutcomeId.html @@ -1,32 +1,32 @@ -PredictionOutcomeId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionOutcomeId(_);
Available on crate feature points only.
Expand description

A prediction choice ID

-

Implementations§

source§

impl PredictionOutcomeId

source

pub const fn new(raw: String) -> Self

Constructs a new PredictionOutcomeId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPredictionOutcomeIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<PredictionOutcomeIdRef>

Converts this PredictionOutcomeId into a Box<PredictionOutcomeIdRef>

+PredictionOutcomeId in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionOutcomeId(/* private fields */);
Available on crate feature points only.
Expand description

A prediction choice ID

+

Implementations§

source§

impl PredictionOutcomeId

source

pub const fn new(raw: String) -> Self

Constructs a new PredictionOutcomeId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newPredictionOutcomeIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<PredictionOutcomeIdRef>

Converts this PredictionOutcomeId into a Box<PredictionOutcomeIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = PredictionOutcomeIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, PredictionOutcomeIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = PredictionOutcomeIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, PredictionOutcomeIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PredictionOutcomeId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn as_ref(&self) -> &PredictionOutcomeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionOutcomeId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn borrow(&self) -> &PredictionOutcomeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionOutcomeId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PredictionOutcomeId

source§

fn clone(&self) -> PredictionOutcomeId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionOutcomeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PredictionOutcomeId

§

type Target = PredictionOutcomeIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PredictionOutcomeId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionOutcomeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn from(s: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PredictionOutcomeId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PredictionOutcomeIdRef, Global>> for PredictionOutcomeId

source§

fn from(r: Box<PredictionOutcomeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PredictionOutcomeId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PredictionOutcomeIdRef>> for PredictionOutcomeId

source§

fn from(r: Cow<'a, PredictionOutcomeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>

source§

fn from(r: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(owned: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for String

source§

fn from(s: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PredictionOutcomeId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PredictionOutcomeId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PredictionOutcomeId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for PredictionOutcomeId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn as_ref(&self) -> &PredictionOutcomeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionOutcomeId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn borrow(&self) -> &PredictionOutcomeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionOutcomeId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for PredictionOutcomeId

source§

fn clone(&self) -> PredictionOutcomeId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionOutcomeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for PredictionOutcomeId

§

type Target = PredictionOutcomeIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for PredictionOutcomeId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionOutcomeId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn from(s: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for PredictionOutcomeId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<PredictionOutcomeIdRef, Global>> for PredictionOutcomeId

source§

fn from(r: Box<PredictionOutcomeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for PredictionOutcomeId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, PredictionOutcomeIdRef>> for PredictionOutcomeId

source§

fn from(r: Cow<'a, PredictionOutcomeIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>

source§

fn from(r: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<PredictionOutcomeId> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(owned: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for String

source§

fn from(s: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl From<String> for PredictionOutcomeId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for PredictionOutcomeId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for PredictionOutcomeId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionOutcomeId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &&PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionOutcomeId> for PredictionOutcomeId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PredictionOutcomeId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionOutcomeId

source§

impl StructuralEq for PredictionOutcomeId

source§

impl StructuralPartialEq for PredictionOutcomeId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionOutcomeId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &&PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionOutcomeId> for PredictionOutcomeId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PredictionOutcomeId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionOutcomeId

source§

impl StructuralEq for PredictionOutcomeId

source§

impl StructuralPartialEq for PredictionOutcomeId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.PredictionOutcomeIdRef.html b/twitch_types/points/struct.PredictionOutcomeIdRef.html index 2ab81f77..ae50ba33 100644 --- a/twitch_types/points/struct.PredictionOutcomeIdRef.html +++ b/twitch_types/points/struct.PredictionOutcomeIdRef.html @@ -1,25 +1,25 @@ -PredictionOutcomeIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct PredictionOutcomeIdRef(_);
Available on crate feature points only.
Expand description

A prediction choice ID

-

Implementations§

source§

impl PredictionOutcomeIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PredictionOutcomeIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PredictionOutcomeIdRef

-
source

pub fn into_owned(self: Box<PredictionOutcomeIdRef>) -> PredictionOutcomeId

Converts a Box<PredictionOutcomeIdRef> into a PredictionOutcomeId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl PredictionOutcomeIdRef

source

pub fn as_cow(&self) -> Cow<'_, PredictionOutcomeIdRef>

Get a +PredictionOutcomeIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct PredictionOutcomeIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A prediction choice ID

+

Implementations§

source§

impl PredictionOutcomeIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed PredictionOutcomeIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed PredictionOutcomeIdRef

+
source

pub fn into_owned(self: Box<PredictionOutcomeIdRef>) -> PredictionOutcomeId

Converts a Box<PredictionOutcomeIdRef> into a PredictionOutcomeId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl PredictionOutcomeIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PredictionOutcomeIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn as_ref(&self) -> &PredictionOutcomeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionOutcomeIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn borrow(&self) -> &PredictionOutcomeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionOutcomeIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PredictionOutcomeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionOutcomeIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PredictionOutcomeIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionOutcomeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionOutcomeIdRef>> for &'a PredictionOutcomeIdRef

source§

fn from(r: &'a Cow<'b, PredictionOutcomeIdRef>) -> &'a PredictionOutcomeIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeIdRef> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(r: &'a PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PredictionOutcomeIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PredictionOutcomeIdRef

source§

fn from(s: &'a str) -> &'a PredictionOutcomeIdRef

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for Arc<PredictionOutcomeIdRef>

source§

fn from(r: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn from(s: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for Rc<PredictionOutcomeIdRef>

source§

fn from(r: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>

source§

fn from(r: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl Hash for PredictionOutcomeIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeIdRef

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionOutcomeIdRef

source§

fn cmp(&self, other: &PredictionOutcomeIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &&PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionOutcomeIdRef> for PredictionOutcomeIdRef

source§

fn partial_cmp(&self, other: &PredictionOutcomeIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for PredictionOutcomeIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PredictionOutcomeIdRef

§

type Owned = PredictionOutcomeId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeIdRef> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionOutcomeIdRef

source§

impl StructuralEq for PredictionOutcomeIdRef

source§

impl StructuralPartialEq for PredictionOutcomeIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a PredictionOutcomeIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn as_ref(&self) -> &PredictionOutcomeIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for PredictionOutcomeIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn borrow(&self) -> &PredictionOutcomeIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for PredictionOutcomeIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for PredictionOutcomeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a PredictionOutcomeIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<PredictionOutcomeIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for PredictionOutcomeIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, PredictionOutcomeIdRef>> for &'a PredictionOutcomeIdRef

source§

fn from(r: &'a Cow<'b, PredictionOutcomeIdRef>) -> &'a PredictionOutcomeIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeId> for &'a PredictionOutcomeIdRef

source§

fn from(owned: &'a PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a PredictionOutcomeIdRef> for Cow<'a, PredictionOutcomeIdRef>

source§

fn from(r: &'a PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a PredictionOutcomeIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a PredictionOutcomeIdRef

source§

fn from(s: &'a str) -> &'a PredictionOutcomeIdRef

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for Arc<PredictionOutcomeIdRef>

source§

fn from(r: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn from(s: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&PredictionOutcomeIdRef> for Rc<PredictionOutcomeIdRef>

source§

fn from(r: &PredictionOutcomeIdRef) -> Self

Converts to this type from the input type.
source§

impl From<PredictionOutcomeId> for Box<PredictionOutcomeIdRef>

source§

fn from(r: PredictionOutcomeId) -> Self

Converts to this type from the input type.
source§

impl Hash for PredictionOutcomeIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeIdRef

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn into_cow(self) -> Cow<'a, PredictionOutcomeIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for PredictionOutcomeIdRef

source§

fn cmp(&self, other: &PredictionOutcomeIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &&PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for &PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeId> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeId

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PredictionOutcomeIdRef> for PredictionOutcomeIdRef

source§

fn eq(&self, other: &PredictionOutcomeIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<PredictionOutcomeIdRef> for PredictionOutcomeIdRef

source§

fn partial_cmp(&self, other: &PredictionOutcomeIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for PredictionOutcomeIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for PredictionOutcomeIdRef

§

type Owned = PredictionOutcomeId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeId> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, PredictionOutcomeIdRef> for &'zf PredictionOutcomeIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf PredictionOutcomeIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for PredictionOutcomeIdRef

source§

impl StructuralEq for PredictionOutcomeIdRef

source§

impl StructuralPartialEq for PredictionOutcomeIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/points/struct.PredictionTopPredictors.html b/twitch_types/points/struct.PredictionTopPredictors.html index 8476f528..ca444fd6 100644 --- a/twitch_types/points/struct.PredictionTopPredictors.html +++ b/twitch_types/points/struct.PredictionTopPredictors.html @@ -1,4 +1,4 @@ -PredictionTopPredictors in twitch_types::points - Rust
#[non_exhaustive]
pub struct PredictionTopPredictors { +PredictionTopPredictors in twitch_types::points - Rust
#[non_exhaustive]
pub struct PredictionTopPredictors { pub id: UserId, pub name: DisplayName, pub login: UserName, @@ -11,11 +11,11 @@
§channel_points_used: i64

Number of Channel Points used by the user.

§channel_points_won: Option<i64>

Number of Channel Points won by the user.

This value is always null in the event payload for Prediction progress and Prediction lock. This value is 0 if the outcome did not win or if the Prediction was canceled and Channel Points were refunded.

-

Trait Implementations§

source§

impl Clone for PredictionTopPredictors

source§

fn clone(&self) -> PredictionTopPredictors

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionTopPredictors

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionTopPredictors

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionTopPredictors> for PredictionTopPredictors

source§

fn eq(&self, other: &PredictionTopPredictors) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionTopPredictors

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionTopPredictors

source§

impl StructuralEq for PredictionTopPredictors

source§

impl StructuralPartialEq for PredictionTopPredictors

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for PredictionTopPredictors

source§

fn clone(&self) -> PredictionTopPredictors

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PredictionTopPredictors

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for PredictionTopPredictors

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<PredictionTopPredictors> for PredictionTopPredictors

source§

fn eq(&self, other: &PredictionTopPredictors) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for PredictionTopPredictors

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for PredictionTopPredictors

source§

impl StructuralEq for PredictionTopPredictors

source§

impl StructuralPartialEq for PredictionTopPredictors

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.RedemptionId.html b/twitch_types/points/struct.RedemptionId.html index a69a53f5..0c0f5221 100644 --- a/twitch_types/points/struct.RedemptionId.html +++ b/twitch_types/points/struct.RedemptionId.html @@ -1,32 +1,32 @@ -RedemptionId in twitch_types::points - Rust
#[repr(transparent)]
pub struct RedemptionId(_);
Available on crate feature points only.
Expand description

A reward redemption ID.

-

Implementations§

source§

impl RedemptionId

source

pub const fn new(raw: String) -> Self

Constructs a new RedemptionId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newRedemptionIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<RedemptionIdRef>

Converts this RedemptionId into a Box<RedemptionIdRef>

+RedemptionId in twitch_types::points - Rust
#[repr(transparent)]
pub struct RedemptionId(/* private fields */);
Available on crate feature points only.
Expand description

A reward redemption ID.

+

Implementations§

source§

impl RedemptionId

source

pub const fn new(raw: String) -> Self

Constructs a new RedemptionId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newRedemptionIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<RedemptionIdRef>

Converts this RedemptionId into a Box<RedemptionIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = RedemptionIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, RedemptionIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = RedemptionIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, RedemptionIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for RedemptionId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<RedemptionIdRef> for RedemptionId

source§

fn as_ref(&self) -> &RedemptionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RedemptionId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RedemptionIdRef> for RedemptionId

source§

fn borrow(&self) -> &RedemptionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RedemptionId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for RedemptionId

source§

fn clone(&self) -> RedemptionId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RedemptionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RedemptionId

§

type Target = RedemptionIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RedemptionId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RedemptionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionId> for Cow<'a, RedemptionIdRef>

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for RedemptionId

source§

fn from(s: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for RedemptionId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<RedemptionIdRef, Global>> for RedemptionId

source§

fn from(r: Box<RedemptionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for RedemptionId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, RedemptionIdRef>> for RedemptionId

source§

fn from(r: Cow<'a, RedemptionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for Box<RedemptionIdRef>

source§

fn from(r: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<RedemptionId> for Cow<'a, RedemptionIdRef>

source§

fn from(owned: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for String

source§

fn from(s: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<String> for RedemptionId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for RedemptionId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RedemptionId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for RedemptionId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<RedemptionIdRef> for RedemptionId

source§

fn as_ref(&self) -> &RedemptionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RedemptionId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RedemptionIdRef> for RedemptionId

source§

fn borrow(&self) -> &RedemptionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RedemptionId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for RedemptionId

source§

fn clone(&self) -> RedemptionId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RedemptionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RedemptionId

§

type Target = RedemptionIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RedemptionId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RedemptionId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionId> for Cow<'a, RedemptionIdRef>

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for RedemptionId

source§

fn from(s: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for RedemptionId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<RedemptionIdRef, Global>> for RedemptionId

source§

fn from(r: Box<RedemptionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for RedemptionId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, RedemptionIdRef>> for RedemptionId

source§

fn from(r: Cow<'a, RedemptionIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for Box<RedemptionIdRef>

source§

fn from(r: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<RedemptionId> for Cow<'a, RedemptionIdRef>

source§

fn from(owned: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for String

source§

fn from(s: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl From<String> for RedemptionId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for RedemptionId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RedemptionId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RedemptionId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &&RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for &RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionId

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RedemptionId> for RedemptionId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for RedemptionId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RedemptionId

source§

impl StructuralEq for RedemptionId

source§

impl StructuralPartialEq for RedemptionId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RedemptionId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &&RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for &RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionId

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RedemptionId> for RedemptionId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for RedemptionId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RedemptionId

source§

impl StructuralEq for RedemptionId

source§

impl StructuralPartialEq for RedemptionId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.RedemptionIdRef.html b/twitch_types/points/struct.RedemptionIdRef.html index 8218f332..0cc29a20 100644 --- a/twitch_types/points/struct.RedemptionIdRef.html +++ b/twitch_types/points/struct.RedemptionIdRef.html @@ -1,25 +1,25 @@ -RedemptionIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct RedemptionIdRef(_);
Available on crate feature points only.
Expand description

A reward redemption ID.

-

Implementations§

source§

impl RedemptionIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed RedemptionIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed RedemptionIdRef

-
source

pub fn into_owned(self: Box<RedemptionIdRef>) -> RedemptionId

Converts a Box<RedemptionIdRef> into a RedemptionId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl RedemptionIdRef

source

pub fn as_cow(&self) -> Cow<'_, RedemptionIdRef>

Get a +RedemptionIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct RedemptionIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A reward redemption ID.

+

Implementations§

source§

impl RedemptionIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed RedemptionIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed RedemptionIdRef

+
source

pub fn into_owned(self: Box<RedemptionIdRef>) -> RedemptionId

Converts a Box<RedemptionIdRef> into a RedemptionId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl RedemptionIdRef

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a RedemptionIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<RedemptionIdRef> for RedemptionId

source§

fn as_ref(&self) -> &RedemptionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RedemptionIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RedemptionIdRef> for RedemptionId

source§

fn borrow(&self) -> &RedemptionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RedemptionIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for RedemptionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a RedemptionIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<RedemptionIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RedemptionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, RedemptionIdRef>> for &'a RedemptionIdRef

source§

fn from(r: &'a Cow<'b, RedemptionIdRef>) -> &'a RedemptionIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionIdRef> for Cow<'a, RedemptionIdRef>

source§

fn from(r: &'a RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a RedemptionIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a RedemptionIdRef

source§

fn from(s: &'a str) -> &'a RedemptionIdRef

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for Arc<RedemptionIdRef>

source§

fn from(r: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for Rc<RedemptionIdRef>

source§

fn from(r: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for RedemptionId

source§

fn from(s: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for Box<RedemptionIdRef>

source§

fn from(r: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl Hash for RedemptionIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionIdRef

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RedemptionIdRef

source§

fn cmp(&self, other: &RedemptionIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &&RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for &RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RedemptionIdRef> for RedemptionIdRef

source§

fn partial_cmp(&self, other: &RedemptionIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for RedemptionIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for RedemptionIdRef

§

type Owned = RedemptionId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, RedemptionIdRef> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RedemptionIdRef

source§

impl StructuralEq for RedemptionIdRef

source§

impl StructuralPartialEq for RedemptionIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a RedemptionIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<RedemptionIdRef> for RedemptionId

source§

fn as_ref(&self) -> &RedemptionIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RedemptionIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RedemptionIdRef> for RedemptionId

source§

fn borrow(&self) -> &RedemptionIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RedemptionIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for RedemptionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a RedemptionIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<RedemptionIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RedemptionIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, RedemptionIdRef>> for &'a RedemptionIdRef

source§

fn from(r: &'a Cow<'b, RedemptionIdRef>) -> &'a RedemptionIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionId> for &'a RedemptionIdRef

source§

fn from(owned: &'a RedemptionId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RedemptionIdRef> for Cow<'a, RedemptionIdRef>

source§

fn from(r: &'a RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a RedemptionIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a RedemptionIdRef

source§

fn from(s: &'a str) -> &'a RedemptionIdRef

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for Arc<RedemptionIdRef>

source§

fn from(r: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for Rc<RedemptionIdRef>

source§

fn from(r: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RedemptionIdRef> for RedemptionId

source§

fn from(s: &RedemptionIdRef) -> Self

Converts to this type from the input type.
source§

impl From<RedemptionId> for Box<RedemptionIdRef>

source§

fn from(r: RedemptionId) -> Self

Converts to this type from the input type.
source§

impl Hash for RedemptionIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionIdRef

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

source§

fn into_cow(self) -> Cow<'a, RedemptionIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RedemptionIdRef

source§

fn cmp(&self, other: &RedemptionIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &&RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for &RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionId> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionId

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RedemptionIdRef> for RedemptionIdRef

source§

fn eq(&self, other: &RedemptionIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RedemptionIdRef> for RedemptionIdRef

source§

fn partial_cmp(&self, other: &RedemptionIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for RedemptionIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for RedemptionIdRef

§

type Owned = RedemptionId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, RedemptionId> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, RedemptionIdRef> for &'zf RedemptionIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RedemptionIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RedemptionIdRef

source§

impl StructuralEq for RedemptionIdRef

source§

impl StructuralPartialEq for RedemptionIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/points/struct.RewardId.html b/twitch_types/points/struct.RewardId.html index 1de32dfb..23d732f8 100644 --- a/twitch_types/points/struct.RewardId.html +++ b/twitch_types/points/struct.RewardId.html @@ -1,32 +1,32 @@ -RewardId in twitch_types::points - Rust
#[repr(transparent)]
pub struct RewardId(_);
Available on crate feature points only.
Expand description

A reward ID.

-

Implementations§

source§

impl RewardId

source

pub const fn new(raw: String) -> Self

Constructs a new RewardId

-
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newRewardIdfrom a static reference

-
source

pub fn into_boxed_ref(self) -> Box<RewardIdRef>

Converts this RewardId into a Box<RewardIdRef>

+RewardId in twitch_types::points - Rust
#[repr(transparent)]
pub struct RewardId(/* private fields */);
Available on crate feature points only.
Expand description

A reward ID.

+

Implementations§

source§

impl RewardId

source

pub const fn new(raw: String) -> Self

Constructs a new RewardId

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newRewardIdfrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<RewardIdRef>

Converts this RewardId into a Box<RewardIdRef>

This will drop any excess capacity.

-
source

pub fn take(self) -> String

Unwraps the underlying String value

-

Methods from Deref<Target = RewardIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source

pub fn as_cow(&self) -> Cow<'_, RewardIdRef>

Get a +

source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = RewardIdRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, RewardIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for RewardId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<RewardIdRef> for RewardId

source§

fn as_ref(&self) -> &RewardIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RewardId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RewardIdRef> for RewardId

source§

fn borrow(&self) -> &RewardIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RewardId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for RewardId

source§

fn clone(&self) -> RewardId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RewardId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RewardId

§

type Target = RewardIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RewardId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RewardId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a RewardId> for &'a RewardIdRef

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardId> for Cow<'a, RewardIdRef>

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for RewardId

source§

fn from(s: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for RewardId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<RewardIdRef, Global>> for RewardId

source§

fn from(r: Box<RewardIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for RewardId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, RewardIdRef>> for RewardId

source§

fn from(r: Cow<'a, RewardIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for Box<RewardIdRef>

source§

fn from(r: RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<RewardId> for Cow<'a, RewardIdRef>

source§

fn from(owned: RewardId) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for String

source§

fn from(s: RewardId) -> Self

Converts to this type from the input type.
source§

impl From<String> for RewardId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for RewardId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RewardId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for RewardId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<RewardIdRef> for RewardId

source§

fn as_ref(&self) -> &RewardIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RewardId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RewardIdRef> for RewardId

source§

fn borrow(&self) -> &RewardIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RewardId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for RewardId

source§

fn clone(&self) -> RewardId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RewardId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for RewardId

§

type Target = RewardIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for RewardId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RewardId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a RewardId> for &'a RewardIdRef

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardId> for Cow<'a, RewardIdRef>

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for RewardId

source§

fn from(s: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for RewardId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<RewardIdRef, Global>> for RewardId

source§

fn from(r: Box<RewardIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for RewardId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, RewardIdRef>> for RewardId

source§

fn from(r: Cow<'a, RewardIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for Box<RewardIdRef>

source§

fn from(r: RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<RewardId> for Cow<'a, RewardIdRef>

source§

fn from(owned: RewardId) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for String

source§

fn from(s: RewardId) -> Self

Converts to this type from the input type.
source§

impl From<String> for RewardId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for RewardId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for RewardId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RewardId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&RewardIdRef> for RewardId

source§

fn eq(&self, other: &&RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for &RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardId

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardId

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RewardId> for RewardId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for RewardId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RewardId

source§

impl StructuralEq for RewardId

source§

impl StructuralPartialEq for RewardId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RewardId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&RewardIdRef> for RewardId

source§

fn eq(&self, other: &&RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for &RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardId

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardId

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RewardId> for RewardId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for RewardId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RewardId

source§

impl StructuralEq for RewardId

source§

impl StructuralPartialEq for RewardId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/points/struct.RewardIdRef.html b/twitch_types/points/struct.RewardIdRef.html index dc6b4535..66c74353 100644 --- a/twitch_types/points/struct.RewardIdRef.html +++ b/twitch_types/points/struct.RewardIdRef.html @@ -1,25 +1,25 @@ -RewardIdRef in twitch_types::points - Rust
#[repr(transparent)]
pub struct RewardIdRef(_);
Available on crate feature points only.
Expand description

A reward ID.

-

Implementations§

source§

impl RewardIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed RewardIdRef

-
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed RewardIdRef

-
source

pub fn into_owned(self: Box<RewardIdRef>) -> RewardId

Converts a Box<RewardIdRef> into a RewardId without copying or allocating

-
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

-
source§

impl RewardIdRef

source

pub fn as_cow(&self) -> Cow<'_, RewardIdRef>

Get a +RewardIdRef in twitch_types::points - Rust

#[repr(transparent)]
pub struct RewardIdRef(/* private fields */);
Available on crate feature points only.
Expand description

A reward ID.

+

Implementations§

source§

impl RewardIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed RewardIdRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed RewardIdRef

+
source

pub fn into_owned(self: Box<RewardIdRef>) -> RewardId

Converts a Box<RewardIdRef> into a RewardId without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl RewardIdRef

source

pub fn as_cow(&self) -> Cow<'_, RewardIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a RewardIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given -unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<RewardIdRef> for RewardId

source§

fn as_ref(&self) -> &RewardIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RewardIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RewardIdRef> for RewardId

source§

fn borrow(&self) -> &RewardIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RewardIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for RewardIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a RewardIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<RewardIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RewardIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, RewardIdRef>> for &'a RewardIdRef

source§

fn from(r: &'a Cow<'b, RewardIdRef>) -> &'a RewardIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardId> for &'a RewardIdRef

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardIdRef> for Cow<'a, RewardIdRef>

source§

fn from(r: &'a RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a RewardIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a RewardIdRef

source§

fn from(s: &'a str) -> &'a RewardIdRef

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for Arc<RewardIdRef>

source§

fn from(r: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for Rc<RewardIdRef>

source§

fn from(r: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for RewardId

source§

fn from(s: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for Box<RewardIdRef>

source§

fn from(r: RewardId) -> Self

Converts to this type from the input type.
source§

impl Hash for RewardIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardIdRef

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RewardIdRef

source§

fn cmp(&self, other: &RewardIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&RewardIdRef> for RewardId

source§

fn eq(&self, other: &&RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for &RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardId

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardIdRef

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RewardIdRef> for RewardIdRef

source§

fn partial_cmp(&self, other: &RewardIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for RewardIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for RewardIdRef

§

type Owned = RewardId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, RewardIdRef> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RewardIdRef

source§

impl StructuralEq for RewardIdRef

source§

impl StructuralPartialEq for RewardIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a RewardIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<RewardIdRef> for RewardId

source§

fn as_ref(&self) -> &RewardIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for RewardIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<RewardIdRef> for RewardId

source§

fn borrow(&self) -> &RewardIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for RewardIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for RewardIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a RewardIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<RewardIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for RewardIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, RewardIdRef>> for &'a RewardIdRef

source§

fn from(r: &'a Cow<'b, RewardIdRef>) -> &'a RewardIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardId> for &'a RewardIdRef

source§

fn from(owned: &'a RewardId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a RewardIdRef> for Cow<'a, RewardIdRef>

source§

fn from(r: &'a RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a RewardIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a RewardIdRef

source§

fn from(s: &'a str) -> &'a RewardIdRef

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for Arc<RewardIdRef>

source§

fn from(r: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for Rc<RewardIdRef>

source§

fn from(r: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&RewardIdRef> for RewardId

source§

fn from(s: &RewardIdRef) -> Self

Converts to this type from the input type.
source§

impl From<RewardId> for Box<RewardIdRef>

source§

fn from(r: RewardId) -> Self

Converts to this type from the input type.
source§

impl Hash for RewardIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardIdRef

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

source§

fn into_cow(self) -> Cow<'a, RewardIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for RewardIdRef

source§

fn cmp(&self, other: &RewardIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&RewardIdRef> for RewardId

source§

fn eq(&self, other: &&RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for &RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardId> for RewardIdRef

source§

fn eq(&self, other: &RewardId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardId

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<RewardIdRef> for RewardIdRef

source§

fn eq(&self, other: &RewardIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<RewardIdRef> for RewardIdRef

source§

fn partial_cmp(&self, other: &RewardIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for RewardIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for RewardIdRef

§

type Owned = RewardId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, RewardId> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, RewardIdRef> for &'zf RewardIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf RewardIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for RewardIdRef

source§

impl StructuralEq for RewardIdRef

source§

impl StructuralPartialEq for RewardIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/stream/enum.CommercialLength.html b/twitch_types/stream/enum.CommercialLength.html index 3be0d6f7..fd01516f 100644 --- a/twitch_types/stream/enum.CommercialLength.html +++ b/twitch_types/stream/enum.CommercialLength.html @@ -1,4 +1,4 @@ -CommercialLength in twitch_types::stream - Rust

Trait Implementations§

source§

impl Clone for CommercialLength

source§

fn clone(&self) -> CommercialLength

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommercialLength

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommercialLength

Available on crate feature serde only.

TODO: macroify?

-
source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where - D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CommercialLength

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CommercialLength> for CommercialLength

source§

fn eq(&self, other: &CommercialLength) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommercialLength

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where - S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<u64> for CommercialLength

§

type Error = CommercialLengthParseError

The type returned in the event of a conversion error.
source§

fn try_from(l: u64) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for CommercialLength

source§

impl Eq for CommercialLength

source§

impl StructuralEq for CommercialLength

source§

impl StructuralPartialEq for CommercialLength

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for CommercialLength

source§

fn clone(&self) -> CommercialLength

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CommercialLength

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for CommercialLength

Available on crate feature serde only.

TODO: macroify?

+
source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where + D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CommercialLength

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<CommercialLength> for CommercialLength

source§

fn eq(&self, other: &CommercialLength) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for CommercialLength

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<u64> for CommercialLength

§

type Error = CommercialLengthParseError

The type returned in the event of a conversion error.
source§

fn try_from(l: u64) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for CommercialLength

source§

impl Eq for CommercialLength

source§

impl StructuralEq for CommercialLength

source§

impl StructuralPartialEq for CommercialLength

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.CommercialLengthParseError.html b/twitch_types/stream/enum.CommercialLengthParseError.html index 6b8725fc..5efb680a 100644 --- a/twitch_types/stream/enum.CommercialLengthParseError.html +++ b/twitch_types/stream/enum.CommercialLengthParseError.html @@ -1,8 +1,8 @@ -CommercialLengthParseError in twitch_types::stream - Rust
pub enum CommercialLengthParseError {
+CommercialLengthParseError in twitch_types::stream - Rust
pub enum CommercialLengthParseError {
     InvalidLength(u64),
 }
Available on crate feature stream only.
Expand description

Error for the TryFrom on CommercialLength

Variants§

§

InvalidLength(u64)

invalid length of {0}

-

Trait Implementations§

source§

impl Debug for CommercialLengthParseError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CommercialLengthParseError

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CommercialLengthParseError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for CommercialLengthParseError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CommercialLengthParseError

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for CommercialLengthParseError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.ContentClassificationId.html b/twitch_types/stream/enum.ContentClassificationId.html index e3607296..8b342856 100644 --- a/twitch_types/stream/enum.ContentClassificationId.html +++ b/twitch_types/stream/enum.ContentClassificationId.html @@ -1,4 +1,4 @@ -ContentClassificationId in twitch_types::stream - Rust
#[non_exhaustive]
pub enum ContentClassificationId { +ContentClassificationId in twitch_types::stream - Rust
#[non_exhaustive]
pub enum ContentClassificationId { DrugsIntoxication, SexualThemes, ViolentGraphic, @@ -20,11 +20,11 @@
§

MatureGame

Mature-rated game

Games that are rated Mature or less suitable for a younger audience.

§

Other(String)

Other

-

Trait Implementations§

source§

impl Clone for ContentClassificationId

source§

fn clone(&self) -> ContentClassificationId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContentClassificationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ContentClassificationId

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<ContentClassificationId> for ContentClassificationId

source§

fn eq(&self, other: &ContentClassificationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ContentClassificationId

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where - S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ContentClassificationId

source§

impl StructuralEq for ContentClassificationId

source§

impl StructuralPartialEq for ContentClassificationId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for ContentClassificationId

source§

fn clone(&self) -> ContentClassificationId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContentClassificationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for ContentClassificationId

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<ContentClassificationId> for ContentClassificationId

source§

fn eq(&self, other: &ContentClassificationId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ContentClassificationId

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for ContentClassificationId

source§

impl StructuralEq for ContentClassificationId

source§

impl StructuralPartialEq for ContentClassificationId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.SubscriptionTier.html b/twitch_types/stream/enum.SubscriptionTier.html index 68241e53..4c6ba0e5 100644 --- a/twitch_types/stream/enum.SubscriptionTier.html +++ b/twitch_types/stream/enum.SubscriptionTier.html @@ -1,4 +1,4 @@ -SubscriptionTier in twitch_types::stream - Rust

Trait Implementations§

source§

impl Clone for SubscriptionTier

source§

fn clone(&self) -> SubscriptionTier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SubscriptionTier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SubscriptionTier

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<SubscriptionTier> for SubscriptionTier

source§

fn eq(&self, other: &SubscriptionTier) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SubscriptionTier

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where - S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for SubscriptionTier

source§

impl StructuralEq for SubscriptionTier

source§

impl StructuralPartialEq for SubscriptionTier

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for SubscriptionTier

source§

fn clone(&self) -> SubscriptionTier

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SubscriptionTier

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SubscriptionTier

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<SubscriptionTier> for SubscriptionTier

source§

fn eq(&self, other: &SubscriptionTier) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for SubscriptionTier

Available on crate feature serde only.
source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where + S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for SubscriptionTier

source§

impl StructuralEq for SubscriptionTier

source§

impl StructuralPartialEq for SubscriptionTier

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.VideoPeriod.html b/twitch_types/stream/enum.VideoPeriod.html index dd12ec5c..c103b6fa 100644 --- a/twitch_types/stream/enum.VideoPeriod.html +++ b/twitch_types/stream/enum.VideoPeriod.html @@ -1,4 +1,4 @@ -VideoPeriod in twitch_types::stream - Rust

Trait Implementations§

source§

impl Clone for VideoPeriod

source§

fn clone(&self) -> VideoPeriod

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoPeriod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoPeriod

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoPeriod> for VideoPeriod

source§

fn eq(&self, other: &VideoPeriod) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoPeriod

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoPeriod

source§

impl StructuralEq for VideoPeriod

source§

impl StructuralPartialEq for VideoPeriod

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for VideoPeriod

source§

fn clone(&self) -> VideoPeriod

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoPeriod

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoPeriod

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoPeriod> for VideoPeriod

source§

fn eq(&self, other: &VideoPeriod) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoPeriod

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoPeriod

source§

impl StructuralEq for VideoPeriod

source§

impl StructuralPartialEq for VideoPeriod

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.VideoPrivacy.html b/twitch_types/stream/enum.VideoPrivacy.html index 09a579e3..a51220b2 100644 --- a/twitch_types/stream/enum.VideoPrivacy.html +++ b/twitch_types/stream/enum.VideoPrivacy.html @@ -1,14 +1,14 @@ -VideoPrivacy in twitch_types::stream - Rust
pub enum VideoPrivacy {
+VideoPrivacy in twitch_types::stream - Rust
pub enum VideoPrivacy {
     Public,
     Private,
 }
Available on crate feature stream only.
Expand description

Type of video

Variants§

§

Public

Video is public

§

Private

Video is private

-

Trait Implementations§

source§

impl Clone for VideoPrivacy

source§

fn clone(&self) -> VideoPrivacy

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoPrivacy

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoPrivacy

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoPrivacy> for VideoPrivacy

source§

fn eq(&self, other: &VideoPrivacy) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoPrivacy

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoPrivacy

source§

impl StructuralEq for VideoPrivacy

source§

impl StructuralPartialEq for VideoPrivacy

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for VideoPrivacy

source§

fn clone(&self) -> VideoPrivacy

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoPrivacy

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoPrivacy

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoPrivacy> for VideoPrivacy

source§

fn eq(&self, other: &VideoPrivacy) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoPrivacy

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoPrivacy

source§

impl StructuralEq for VideoPrivacy

source§

impl StructuralPartialEq for VideoPrivacy

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/enum.VideoType.html b/twitch_types/stream/enum.VideoType.html index 5a607be0..3dc04cdb 100644 --- a/twitch_types/stream/enum.VideoType.html +++ b/twitch_types/stream/enum.VideoType.html @@ -1,4 +1,4 @@ -VideoType in twitch_types::stream - Rust

Trait Implementations§

source§

impl Clone for VideoType

source§

fn clone(&self) -> VideoType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoType> for VideoType

source§

fn eq(&self, other: &VideoType) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoType

source§

impl StructuralEq for VideoType

source§

impl StructuralPartialEq for VideoType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for VideoType

source§

fn clone(&self) -> VideoType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for VideoType

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<VideoType> for VideoType

source§

fn eq(&self, other: &VideoType) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for VideoType

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for VideoType

source§

impl StructuralEq for VideoType

source§

impl StructuralPartialEq for VideoType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/stream/index.html b/twitch_types/stream/index.html index d28dbfc2..517ee55d 100644 --- a/twitch_types/stream/index.html +++ b/twitch_types/stream/index.html @@ -1,2 +1,2 @@ -twitch_types::stream - Rust

Module twitch_types::stream

source ·
Available on crate feature stream only.
Expand description

types for stream related things

+twitch_types::stream - Rust

Module twitch_types::stream

source ·
Available on crate feature stream only.
Expand description

types for stream related things

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/stream/struct.CategoryId.html b/twitch_types/stream/struct.CategoryId.html index e3827d9f..e9116f09 100644 --- a/twitch_types/stream/struct.CategoryId.html +++ b/twitch_types/stream/struct.CategoryId.html @@ -1,4 +1,4 @@ -CategoryId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CategoryId(_);
Available on crate feature stream only.
Expand description

A game or category ID

+CategoryId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CategoryId(/* private fields */);
Available on crate feature stream only.
Expand description

A game or category ID

Implementations§

source§

impl CategoryId

source

pub const fn new(raw: String) -> Self

Constructs a new CategoryId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newCategoryIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<CategoryIdRef>

Converts this CategoryId into a Box<CategoryIdRef>

@@ -9,23 +9,23 @@ Cow<'_, CategoryIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for CategoryId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CategoryIdRef> for CategoryId

source§

fn as_ref(&self) -> &CategoryIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CategoryId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CategoryIdRef> for CategoryId

source§

fn borrow(&self) -> &CategoryIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CategoryId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CategoryId

source§

fn clone(&self) -> CategoryId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CategoryId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CategoryId

§

type Target = CategoryIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CategoryId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CategoryId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CategoryId> for &'a CategoryIdRef

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CategoryId> for Cow<'a, CategoryIdRef>

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for CategoryId

source§

fn from(s: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CategoryId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CategoryIdRef, Global>> for CategoryId

source§

fn from(r: Box<CategoryIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CategoryId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for Box<CategoryIdRef>

source§

fn from(r: CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CategoryId> for Cow<'a, CategoryIdRef>

source§

fn from(owned: CategoryId) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for String

source§

fn from(s: CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CategoryIdRef>> for CategoryId

source§

fn from(r: Cow<'a, CategoryIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CategoryId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CategoryId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CategoryId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<CategoryIdRef> for CategoryId

source§

fn as_ref(&self) -> &CategoryIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CategoryId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CategoryIdRef> for CategoryId

source§

fn borrow(&self) -> &CategoryIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CategoryId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CategoryId

source§

fn clone(&self) -> CategoryId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CategoryId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CategoryId

§

type Target = CategoryIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CategoryId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CategoryId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CategoryId> for &'a CategoryIdRef

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CategoryId> for Cow<'a, CategoryIdRef>

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for CategoryId

source§

fn from(s: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CategoryId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CategoryIdRef, Global>> for CategoryId

source§

fn from(r: Box<CategoryIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CategoryId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for Box<CategoryIdRef>

source§

fn from(r: CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CategoryId> for Cow<'a, CategoryIdRef>

source§

fn from(owned: CategoryId) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for String

source§

fn from(s: CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CategoryIdRef>> for CategoryId

source§

fn from(r: Cow<'a, CategoryIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CategoryId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CategoryId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CategoryId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CategoryId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &&CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for &CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryId

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CategoryId> for CategoryId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CategoryId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &&CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for &CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryId

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CategoryId> for CategoryId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for CategoryId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, CategoryId> for &'zf CategoryIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CategoryId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CategoryId

source§

impl StructuralEq for CategoryId

source§

impl StructuralPartialEq for CategoryId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.CategoryIdRef.html b/twitch_types/stream/struct.CategoryIdRef.html index 5c0816b0..a77f2aae 100644 --- a/twitch_types/stream/struct.CategoryIdRef.html +++ b/twitch_types/stream/struct.CategoryIdRef.html @@ -1,4 +1,4 @@ -CategoryIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CategoryIdRef(_);
Available on crate feature stream only.
Expand description

A game or category ID

+CategoryIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CategoryIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A game or category ID

Implementations§

source§

impl CategoryIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed CategoryIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed CategoryIdRef

source

pub fn into_owned(self: Box<CategoryIdRef>) -> CategoryId

Converts a Box<CategoryIdRef> into a CategoryId without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, CategoryIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a CategoryIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CategoryIdRef> for CategoryId

source§

fn as_ref(&self) -> &CategoryIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CategoryIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CategoryIdRef> for CategoryId

source§

fn borrow(&self) -> &CategoryIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CategoryIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CategoryIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CategoryIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CategoryIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CategoryIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CategoryId> for &'a CategoryIdRef

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CategoryIdRef> for Cow<'a, CategoryIdRef>

source§

fn from(r: &'a CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CategoryIdRef>> for &'a CategoryIdRef

source§

fn from(r: &'a Cow<'b, CategoryIdRef>) -> &'a CategoryIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CategoryIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CategoryIdRef

source§

fn from(s: &'a str) -> &'a CategoryIdRef

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for Arc<CategoryIdRef>

source§

fn from(r: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for CategoryId

source§

fn from(s: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for Rc<CategoryIdRef>

source§

fn from(r: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for Box<CategoryIdRef>

source§

fn from(r: CategoryId) -> Self

Converts to this type from the input type.
source§

impl Hash for CategoryIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryIdRef

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CategoryIdRef

source§

fn cmp(&self, other: &CategoryIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &&CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for &CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryIdRef

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CategoryIdRef> for CategoryIdRef

source§

fn partial_cmp(&self, other: &CategoryIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for CategoryIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CategoryIdRef

§

type Owned = CategoryId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CategoryId> for &'zf CategoryIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CategoryId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CategoryIdRef> for &'zf CategoryIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CategoryIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CategoryIdRef

source§

impl StructuralEq for CategoryIdRef

source§

impl StructuralPartialEq for CategoryIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +needs to construct itself. Read more

source§

impl AsRef<CategoryIdRef> for CategoryId

source§

fn as_ref(&self) -> &CategoryIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CategoryIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CategoryIdRef> for CategoryId

source§

fn borrow(&self) -> &CategoryIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CategoryIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CategoryIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CategoryIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CategoryIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CategoryIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CategoryId> for &'a CategoryIdRef

source§

fn from(owned: &'a CategoryId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CategoryIdRef> for Cow<'a, CategoryIdRef>

source§

fn from(r: &'a CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CategoryIdRef>> for &'a CategoryIdRef

source§

fn from(r: &'a Cow<'b, CategoryIdRef>) -> &'a CategoryIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CategoryIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CategoryIdRef

source§

fn from(s: &'a str) -> &'a CategoryIdRef

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for Arc<CategoryIdRef>

source§

fn from(r: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for CategoryId

source§

fn from(s: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CategoryIdRef> for Rc<CategoryIdRef>

source§

fn from(r: &CategoryIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CategoryId> for Box<CategoryIdRef>

source§

fn from(r: CategoryId) -> Self

Converts to this type from the input type.
source§

impl Hash for CategoryIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryIdRef

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

source§

fn into_cow(self) -> Cow<'a, CategoryIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CategoryIdRef

source§

fn cmp(&self, other: &CategoryIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &&CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for &CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryId> for CategoryIdRef

source§

fn eq(&self, other: &CategoryId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryId

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CategoryIdRef> for CategoryIdRef

source§

fn eq(&self, other: &CategoryIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CategoryIdRef> for CategoryIdRef

source§

fn partial_cmp(&self, other: &CategoryIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for CategoryIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CategoryIdRef

§

type Owned = CategoryId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CategoryId> for &'zf CategoryIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CategoryId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CategoryIdRef> for &'zf CategoryIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CategoryIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CategoryIdRef

source§

impl StructuralEq for CategoryIdRef

source§

impl StructuralPartialEq for CategoryIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/stream/struct.CharityCampaignId.html b/twitch_types/stream/struct.CharityCampaignId.html index c045cdc5..21050956 100644 --- a/twitch_types/stream/struct.CharityCampaignId.html +++ b/twitch_types/stream/struct.CharityCampaignId.html @@ -1,4 +1,4 @@ -CharityCampaignId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityCampaignId(_);
Available on crate feature stream only.
Expand description

A Charity Campaign ID

+CharityCampaignId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityCampaignId(/* private fields */);
Available on crate feature stream only.
Expand description

A Charity Campaign ID

Implementations§

source§

impl CharityCampaignId

source

pub const fn new(raw: String) -> Self

Constructs a new CharityCampaignId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newCharityCampaignIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<CharityCampaignIdRef>

Converts this CharityCampaignId into a Box<CharityCampaignIdRef>

@@ -9,23 +9,23 @@ Cow<'_, CharityCampaignIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for CharityCampaignId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CharityCampaignIdRef> for CharityCampaignId

source§

fn as_ref(&self) -> &CharityCampaignIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityCampaignId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityCampaignIdRef> for CharityCampaignId

source§

fn borrow(&self) -> &CharityCampaignIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityCampaignId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CharityCampaignId

source§

fn clone(&self) -> CharityCampaignId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharityCampaignId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CharityCampaignId

§

type Target = CharityCampaignIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CharityCampaignId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityCampaignId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for CharityCampaignId

source§

fn from(s: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CharityCampaignId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CharityCampaignIdRef, Global>> for CharityCampaignId

source§

fn from(r: Box<CharityCampaignIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CharityCampaignId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for Box<CharityCampaignIdRef>

source§

fn from(r: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>

source§

fn from(owned: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for String

source§

fn from(s: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId

source§

fn from(r: Cow<'a, CharityCampaignIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CharityCampaignId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CharityCampaignId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CharityCampaignId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<CharityCampaignIdRef> for CharityCampaignId

source§

fn as_ref(&self) -> &CharityCampaignIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityCampaignId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityCampaignIdRef> for CharityCampaignId

source§

fn borrow(&self) -> &CharityCampaignIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityCampaignId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CharityCampaignId

source§

fn clone(&self) -> CharityCampaignId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharityCampaignId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CharityCampaignId

§

type Target = CharityCampaignIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CharityCampaignId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityCampaignId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityCampaignId> for Cow<'a, CharityCampaignIdRef>

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for CharityCampaignId

source§

fn from(s: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CharityCampaignId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CharityCampaignIdRef, Global>> for CharityCampaignId

source§

fn from(r: Box<CharityCampaignIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CharityCampaignId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for Box<CharityCampaignIdRef>

source§

fn from(r: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CharityCampaignId> for Cow<'a, CharityCampaignIdRef>

source§

fn from(owned: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for String

source§

fn from(s: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CharityCampaignIdRef>> for CharityCampaignId

source§

fn from(r: Cow<'a, CharityCampaignIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CharityCampaignId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CharityCampaignId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CharityCampaignId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityCampaignId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &&CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityCampaignId> for CharityCampaignId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityCampaignId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &&CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityCampaignId> for CharityCampaignId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for CharityCampaignId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, CharityCampaignId> for &'zf CharityCampaignIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityCampaignId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CharityCampaignId

source§

impl StructuralEq for CharityCampaignId

source§

impl StructuralPartialEq for CharityCampaignId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.CharityCampaignIdRef.html b/twitch_types/stream/struct.CharityCampaignIdRef.html index a4ccddfb..5065f903 100644 --- a/twitch_types/stream/struct.CharityCampaignIdRef.html +++ b/twitch_types/stream/struct.CharityCampaignIdRef.html @@ -1,4 +1,4 @@ -CharityCampaignIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityCampaignIdRef(_);
Available on crate feature stream only.
Expand description

A Charity Campaign ID

+CharityCampaignIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityCampaignIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Charity Campaign ID

Implementations§

source§

impl CharityCampaignIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed CharityCampaignIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed CharityCampaignIdRef

source

pub fn into_owned(self: Box<CharityCampaignIdRef>) -> CharityCampaignId

Converts a Box<CharityCampaignIdRef> into a CharityCampaignId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, CharityCampaignIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a CharityCampaignIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CharityCampaignIdRef> for CharityCampaignId

source§

fn as_ref(&self) -> &CharityCampaignIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityCampaignIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityCampaignIdRef> for CharityCampaignId

source§

fn borrow(&self) -> &CharityCampaignIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityCampaignIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CharityCampaignIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityCampaignIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CharityCampaignIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityCampaignIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityCampaignIdRef> for Cow<'a, CharityCampaignIdRef>

source§

fn from(r: &'a CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CharityCampaignIdRef>> for &'a CharityCampaignIdRef

source§

fn from(r: &'a Cow<'b, CharityCampaignIdRef>) -> &'a CharityCampaignIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CharityCampaignIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CharityCampaignIdRef

source§

fn from(s: &'a str) -> &'a CharityCampaignIdRef

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for Arc<CharityCampaignIdRef>

source§

fn from(r: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for CharityCampaignId

source§

fn from(s: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for Rc<CharityCampaignIdRef>

source§

fn from(r: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for Box<CharityCampaignIdRef>

source§

fn from(r: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl Hash for CharityCampaignIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignIdRef

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityCampaignIdRef

source§

fn cmp(&self, other: &CharityCampaignIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &&CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityCampaignIdRef> for CharityCampaignIdRef

source§

fn partial_cmp(&self, other: &CharityCampaignIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +needs to construct itself. Read more
source§

impl AsRef<CharityCampaignIdRef> for CharityCampaignId

source§

fn as_ref(&self) -> &CharityCampaignIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityCampaignIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityCampaignIdRef> for CharityCampaignId

source§

fn borrow(&self) -> &CharityCampaignIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityCampaignIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CharityCampaignIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityCampaignIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CharityCampaignIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityCampaignIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityCampaignId> for &'a CharityCampaignIdRef

source§

fn from(owned: &'a CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityCampaignIdRef> for Cow<'a, CharityCampaignIdRef>

source§

fn from(r: &'a CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CharityCampaignIdRef>> for &'a CharityCampaignIdRef

source§

fn from(r: &'a Cow<'b, CharityCampaignIdRef>) -> &'a CharityCampaignIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CharityCampaignIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CharityCampaignIdRef

source§

fn from(s: &'a str) -> &'a CharityCampaignIdRef

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for Arc<CharityCampaignIdRef>

source§

fn from(r: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for CharityCampaignId

source§

fn from(s: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityCampaignIdRef> for Rc<CharityCampaignIdRef>

source§

fn from(r: &CharityCampaignIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CharityCampaignId> for Box<CharityCampaignIdRef>

source§

fn from(r: CharityCampaignId) -> Self

Converts to this type from the input type.
source§

impl Hash for CharityCampaignIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignIdRef

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

source§

fn into_cow(self) -> Cow<'a, CharityCampaignIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityCampaignIdRef

source§

fn cmp(&self, other: &CharityCampaignIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &&CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for &CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignId> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignId

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityCampaignIdRef> for CharityCampaignIdRef

source§

fn eq(&self, other: &CharityCampaignIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityCampaignIdRef> for CharityCampaignIdRef

source§

fn partial_cmp(&self, other: &CharityCampaignIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for CharityCampaignIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CharityCampaignIdRef

§

type Owned = CharityCampaignId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CharityCampaignId> for &'zf CharityCampaignIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityCampaignId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CharityCampaignIdRef> for &'zf CharityCampaignIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityCampaignIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CharityCampaignIdRef

source§

impl StructuralEq for CharityCampaignIdRef

source§

impl StructuralPartialEq for CharityCampaignIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.CharityDonationId.html b/twitch_types/stream/struct.CharityDonationId.html index d335861b..74688aba 100644 --- a/twitch_types/stream/struct.CharityDonationId.html +++ b/twitch_types/stream/struct.CharityDonationId.html @@ -1,4 +1,4 @@ -CharityDonationId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityDonationId(_);
Available on crate feature stream only.
Expand description

A Charity Donation ID

+CharityDonationId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityDonationId(/* private fields */);
Available on crate feature stream only.
Expand description

A Charity Donation ID

Implementations§

source§

impl CharityDonationId

source

pub const fn new(raw: String) -> Self

Constructs a new CharityDonationId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newCharityDonationIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<CharityDonationIdRef>

Converts this CharityDonationId into a Box<CharityDonationIdRef>

@@ -9,23 +9,23 @@ Cow<'_, CharityDonationIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for CharityDonationId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CharityDonationIdRef> for CharityDonationId

source§

fn as_ref(&self) -> &CharityDonationIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityDonationId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityDonationIdRef> for CharityDonationId

source§

fn borrow(&self) -> &CharityDonationIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityDonationId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CharityDonationId

source§

fn clone(&self) -> CharityDonationId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharityDonationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CharityDonationId

§

type Target = CharityDonationIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CharityDonationId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityDonationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityDonationId> for Cow<'a, CharityDonationIdRef>

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for CharityDonationId

source§

fn from(s: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CharityDonationId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CharityDonationIdRef, Global>> for CharityDonationId

source§

fn from(r: Box<CharityDonationIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CharityDonationId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for Box<CharityDonationIdRef>

source§

fn from(r: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CharityDonationId> for Cow<'a, CharityDonationIdRef>

source§

fn from(owned: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for String

source§

fn from(s: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CharityDonationIdRef>> for CharityDonationId

source§

fn from(r: Cow<'a, CharityDonationIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CharityDonationId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CharityDonationId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CharityDonationId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<CharityDonationIdRef> for CharityDonationId

source§

fn as_ref(&self) -> &CharityDonationIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityDonationId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityDonationIdRef> for CharityDonationId

source§

fn borrow(&self) -> &CharityDonationIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityDonationId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for CharityDonationId

source§

fn clone(&self) -> CharityDonationId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CharityDonationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for CharityDonationId

§

type Target = CharityDonationIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for CharityDonationId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityDonationId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityDonationId> for Cow<'a, CharityDonationIdRef>

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for CharityDonationId

source§

fn from(s: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for CharityDonationId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<CharityDonationIdRef, Global>> for CharityDonationId

source§

fn from(r: Box<CharityDonationIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for CharityDonationId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for Box<CharityDonationIdRef>

source§

fn from(r: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<CharityDonationId> for Cow<'a, CharityDonationIdRef>

source§

fn from(owned: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for String

source§

fn from(s: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, CharityDonationIdRef>> for CharityDonationId

source§

fn from(r: Cow<'a, CharityDonationIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for CharityDonationId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for CharityDonationId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for CharityDonationId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityDonationId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &&CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for &CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityDonationId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &&CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for &CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for CharityDonationId

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityDonationId> for CharityDonationId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityDonationId> for CharityDonationId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for CharityDonationId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, CharityDonationId> for &'zf CharityDonationIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityDonationId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CharityDonationId

source§

impl StructuralEq for CharityDonationId

source§

impl StructuralPartialEq for CharityDonationId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.CharityDonationIdRef.html b/twitch_types/stream/struct.CharityDonationIdRef.html index b25ef5a4..b07cf1c8 100644 --- a/twitch_types/stream/struct.CharityDonationIdRef.html +++ b/twitch_types/stream/struct.CharityDonationIdRef.html @@ -1,4 +1,4 @@ -CharityDonationIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityDonationIdRef(_);
Available on crate feature stream only.
Expand description

A Charity Donation ID

+CharityDonationIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct CharityDonationIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Charity Donation ID

Implementations§

source§

impl CharityDonationIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed CharityDonationIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed CharityDonationIdRef

source

pub fn into_owned(self: Box<CharityDonationIdRef>) -> CharityDonationId

Converts a Box<CharityDonationIdRef> into a CharityDonationId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, CharityDonationIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a CharityDonationIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<CharityDonationIdRef> for CharityDonationId

source§

fn as_ref(&self) -> &CharityDonationIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityDonationIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityDonationIdRef> for CharityDonationId

source§

fn borrow(&self) -> &CharityDonationIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityDonationIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CharityDonationIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CharityDonationIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityDonationIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>

source§

fn from(r: &'a CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef

source§

fn from(r: &'a Cow<'b, CharityDonationIdRef>) -> &'a CharityDonationIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CharityDonationIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CharityDonationIdRef

source§

fn from(s: &'a str) -> &'a CharityDonationIdRef

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>

source§

fn from(r: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for CharityDonationId

source§

fn from(s: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>

source§

fn from(r: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for Box<CharityDonationIdRef>

source§

fn from(r: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl Hash for CharityDonationIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationIdRef

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityDonationIdRef

source§

fn cmp(&self, other: &CharityDonationIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &&CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for &CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<CharityDonationIdRef> for CharityDonationId

source§

fn as_ref(&self) -> &CharityDonationIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for CharityDonationIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<CharityDonationIdRef> for CharityDonationId

source§

fn borrow(&self) -> &CharityDonationIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for CharityDonationIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for CharityDonationIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a CharityDonationIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<CharityDonationIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for CharityDonationIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a CharityDonationId> for &'a CharityDonationIdRef

source§

fn from(owned: &'a CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a CharityDonationIdRef> for Cow<'a, CharityDonationIdRef>

source§

fn from(r: &'a CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, CharityDonationIdRef>> for &'a CharityDonationIdRef

source§

fn from(r: &'a Cow<'b, CharityDonationIdRef>) -> &'a CharityDonationIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a CharityDonationIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a CharityDonationIdRef

source§

fn from(s: &'a str) -> &'a CharityDonationIdRef

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for Arc<CharityDonationIdRef>

source§

fn from(r: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for CharityDonationId

source§

fn from(s: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&CharityDonationIdRef> for Rc<CharityDonationIdRef>

source§

fn from(r: &CharityDonationIdRef) -> Self

Converts to this type from the input type.
source§

impl From<CharityDonationId> for Box<CharityDonationIdRef>

source§

fn from(r: CharityDonationId) -> Self

Converts to this type from the input type.
source§

impl Hash for CharityDonationIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationIdRef

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

source§

fn into_cow(self) -> Cow<'a, CharityDonationIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for CharityDonationIdRef

source§

fn cmp(&self, other: &CharityDonationIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &&CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for &CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationId> for CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityDonationIdRef> for CharityDonationIdRef

source§

fn partial_cmp(&self, other: &CharityDonationIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationId

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<CharityDonationIdRef> for CharityDonationIdRef

source§

fn eq(&self, other: &CharityDonationIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<CharityDonationIdRef> for CharityDonationIdRef

source§

fn partial_cmp(&self, other: &CharityDonationIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for CharityDonationIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for CharityDonationIdRef

§

type Owned = CharityDonationId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, CharityDonationId> for &'zf CharityDonationIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityDonationId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, CharityDonationIdRef> for &'zf CharityDonationIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf CharityDonationIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for CharityDonationIdRef

source§

impl StructuralEq for CharityDonationIdRef

source§

impl StructuralPartialEq for CharityDonationIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.ClipId.html b/twitch_types/stream/struct.ClipId.html index c5aa96a4..13bf2c2d 100644 --- a/twitch_types/stream/struct.ClipId.html +++ b/twitch_types/stream/struct.ClipId.html @@ -1,4 +1,4 @@ -ClipId in twitch_types::stream - Rust

Struct twitch_types::stream::ClipId

source ·
#[repr(transparent)]
pub struct ClipId(_);
Available on crate feature stream only.
Expand description

A clip ID

+ClipId in twitch_types::stream - Rust

Struct twitch_types::stream::ClipId

source ·
#[repr(transparent)]
pub struct ClipId(/* private fields */);
Available on crate feature stream only.
Expand description

A clip ID

Implementations§

source§

impl ClipId

source

pub const fn new(raw: String) -> Self

Constructs a new ClipId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newClipIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<ClipIdRef>

Converts this ClipId into a Box<ClipIdRef>

@@ -9,23 +9,23 @@ Cow<'_, ClipIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for ClipId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<ClipIdRef> for ClipId

source§

fn as_ref(&self) -> &ClipIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ClipId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ClipIdRef> for ClipId

source§

fn borrow(&self) -> &ClipIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ClipId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for ClipId

source§

fn clone(&self) -> ClipId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ClipId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ClipId

§

type Target = ClipIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ClipId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ClipId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ClipId> for &'a ClipIdRef

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ClipId> for Cow<'a, ClipIdRef>

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for ClipId

source§

fn from(s: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for ClipId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<ClipIdRef, Global>> for ClipId

source§

fn from(r: Box<ClipIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for ClipId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for Box<ClipIdRef>

source§

fn from(r: ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<ClipId> for Cow<'a, ClipIdRef>

source§

fn from(owned: ClipId) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for String

source§

fn from(s: ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, ClipIdRef>> for ClipId

source§

fn from(r: Cow<'a, ClipIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for ClipId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for ClipId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ClipId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<ClipIdRef> for ClipId

source§

fn as_ref(&self) -> &ClipIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ClipId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ClipIdRef> for ClipId

source§

fn borrow(&self) -> &ClipIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ClipId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for ClipId

source§

fn clone(&self) -> ClipId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ClipId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for ClipId

§

type Target = ClipIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for ClipId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ClipId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ClipId> for &'a ClipIdRef

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ClipId> for Cow<'a, ClipIdRef>

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for ClipId

source§

fn from(s: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for ClipId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<ClipIdRef, Global>> for ClipId

source§

fn from(r: Box<ClipIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for ClipId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for Box<ClipIdRef>

source§

fn from(r: ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<ClipId> for Cow<'a, ClipIdRef>

source§

fn from(owned: ClipId) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for String

source§

fn from(s: ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, ClipIdRef>> for ClipId

source§

fn from(r: Cow<'a, ClipIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for ClipId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for ClipId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for ClipId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ClipId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ClipId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&ClipIdRef> for ClipId

source§

fn eq(&self, other: &&ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for &ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipId

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for &ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipId

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipIdRef> for ClipId

source§

fn eq(&self, other: &ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ClipId> for ClipId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ClipId> for ClipId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for ClipId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, ClipId> for &'zf ClipIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ClipId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ClipId

source§

impl StructuralEq for ClipId

source§

impl StructuralPartialEq for ClipId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.ClipIdRef.html b/twitch_types/stream/struct.ClipIdRef.html index 9f89d3dc..9e8a4094 100644 --- a/twitch_types/stream/struct.ClipIdRef.html +++ b/twitch_types/stream/struct.ClipIdRef.html @@ -1,4 +1,4 @@ -ClipIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct ClipIdRef(_);
Available on crate feature stream only.
Expand description

A clip ID

+ClipIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct ClipIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A clip ID

Implementations§

source§

impl ClipIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed ClipIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed ClipIdRef

source

pub fn into_owned(self: Box<ClipIdRef>) -> ClipId

Converts a Box<ClipIdRef> into a ClipId without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, ClipIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a ClipIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<ClipIdRef> for ClipId

source§

fn as_ref(&self) -> &ClipIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ClipIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ClipIdRef> for ClipId

source§

fn borrow(&self) -> &ClipIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ClipIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for ClipIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a ClipIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<ClipIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ClipIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ClipId> for &'a ClipIdRef

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ClipIdRef> for Cow<'a, ClipIdRef>

source§

fn from(r: &'a ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, ClipIdRef>> for &'a ClipIdRef

source§

fn from(r: &'a Cow<'b, ClipIdRef>) -> &'a ClipIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a ClipIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a ClipIdRef

source§

fn from(s: &'a str) -> &'a ClipIdRef

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for Arc<ClipIdRef>

source§

fn from(r: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for ClipId

source§

fn from(s: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for Rc<ClipIdRef>

source§

fn from(r: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for Box<ClipIdRef>

source§

fn from(r: ClipId) -> Self

Converts to this type from the input type.
source§

impl Hash for ClipIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipIdRef

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ClipIdRef

source§

fn cmp(&self, other: &ClipIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&ClipIdRef> for ClipId

source§

fn eq(&self, other: &&ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for &ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<ClipIdRef> for ClipId

source§

fn as_ref(&self) -> &ClipIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for ClipIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<ClipIdRef> for ClipId

source§

fn borrow(&self) -> &ClipIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for ClipIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for ClipIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a ClipIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<ClipIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for ClipIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a ClipId> for &'a ClipIdRef

source§

fn from(owned: &'a ClipId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a ClipIdRef> for Cow<'a, ClipIdRef>

source§

fn from(r: &'a ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, ClipIdRef>> for &'a ClipIdRef

source§

fn from(r: &'a Cow<'b, ClipIdRef>) -> &'a ClipIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a ClipIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a ClipIdRef

source§

fn from(s: &'a str) -> &'a ClipIdRef

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for Arc<ClipIdRef>

source§

fn from(r: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for ClipId

source§

fn from(s: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&ClipIdRef> for Rc<ClipIdRef>

source§

fn from(r: &ClipIdRef) -> Self

Converts to this type from the input type.
source§

impl From<ClipId> for Box<ClipIdRef>

source§

fn from(r: ClipId) -> Self

Converts to this type from the input type.
source§

impl Hash for ClipIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipIdRef

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

source§

fn into_cow(self) -> Cow<'a, ClipIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for ClipIdRef

source§

fn cmp(&self, other: &ClipIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&ClipIdRef> for ClipId

source§

fn eq(&self, other: &&ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for &ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipId> for ClipIdRef

source§

fn eq(&self, other: &ClipId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipIdRef> for ClipId

source§

fn eq(&self, other: &ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<ClipIdRef> for ClipIdRef

source§

fn eq(&self, other: &ClipIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ClipIdRef> for ClipIdRef

source§

fn partial_cmp(&self, other: &ClipIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for ClipIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for ClipIdRef

§

type Owned = ClipId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, ClipId> for &'zf ClipIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ClipId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ClipIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ClipIdRef

source§

impl StructuralEq for ClipIdRef

source§

impl StructuralPartialEq for ClipIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

source§

impl PartialOrd<ClipIdRef> for ClipIdRef

source§

fn partial_cmp(&self, other: &ClipIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for ClipIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for ClipIdRef

§

type Owned = ClipId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, ClipId> for &'zf ClipIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ClipId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, ClipIdRef> for &'zf ClipIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf ClipIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for ClipIdRef

source§

impl StructuralEq for ClipIdRef

source§

impl StructuralPartialEq for ClipIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/stream/struct.HypeTrainId.html b/twitch_types/stream/struct.HypeTrainId.html index 30f2628b..bb28b0e0 100644 --- a/twitch_types/stream/struct.HypeTrainId.html +++ b/twitch_types/stream/struct.HypeTrainId.html @@ -1,4 +1,4 @@ -HypeTrainId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct HypeTrainId(_);
Available on crate feature stream only.
Expand description

A Hype Train ID

+HypeTrainId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct HypeTrainId(/* private fields */);
Available on crate feature stream only.
Expand description

A Hype Train ID

Implementations§

source§

impl HypeTrainId

source

pub const fn new(raw: String) -> Self

Constructs a new HypeTrainId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newHypeTrainIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<HypeTrainIdRef>

Converts this HypeTrainId into a Box<HypeTrainIdRef>

@@ -9,23 +9,23 @@ Cow<'_, HypeTrainIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for HypeTrainId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<HypeTrainIdRef> for HypeTrainId

source§

fn as_ref(&self) -> &HypeTrainIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HypeTrainId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HypeTrainIdRef> for HypeTrainId

source§

fn borrow(&self) -> &HypeTrainIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HypeTrainId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for HypeTrainId

source§

fn clone(&self) -> HypeTrainId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HypeTrainId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for HypeTrainId

§

type Target = HypeTrainIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for HypeTrainId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HypeTrainId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainId> for Cow<'a, HypeTrainIdRef>

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for HypeTrainId

source§

fn from(s: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for HypeTrainId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<HypeTrainIdRef, Global>> for HypeTrainId

source§

fn from(r: Box<HypeTrainIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for HypeTrainId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, HypeTrainIdRef>> for HypeTrainId

source§

fn from(r: Cow<'a, HypeTrainIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for Box<HypeTrainIdRef>

source§

fn from(r: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HypeTrainId> for Cow<'a, HypeTrainIdRef>

source§

fn from(owned: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for String

source§

fn from(s: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<String> for HypeTrainId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for HypeTrainId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for HypeTrainId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<HypeTrainIdRef> for HypeTrainId

source§

fn as_ref(&self) -> &HypeTrainIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HypeTrainId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HypeTrainIdRef> for HypeTrainId

source§

fn borrow(&self) -> &HypeTrainIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HypeTrainId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for HypeTrainId

source§

fn clone(&self) -> HypeTrainId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for HypeTrainId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for HypeTrainId

§

type Target = HypeTrainIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for HypeTrainId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HypeTrainId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainId> for Cow<'a, HypeTrainIdRef>

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for HypeTrainId

source§

fn from(s: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for HypeTrainId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<HypeTrainIdRef, Global>> for HypeTrainId

source§

fn from(r: Box<HypeTrainIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for HypeTrainId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, HypeTrainIdRef>> for HypeTrainId

source§

fn from(r: Cow<'a, HypeTrainIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for Box<HypeTrainIdRef>

source§

fn from(r: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<HypeTrainId> for Cow<'a, HypeTrainIdRef>

source§

fn from(owned: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for String

source§

fn from(s: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl From<String> for HypeTrainId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for HypeTrainId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for HypeTrainId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for HypeTrainId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &&HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for &HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainId

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for HypeTrainId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &&HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for &HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainId

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HypeTrainId> for HypeTrainId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HypeTrainId> for HypeTrainId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for HypeTrainId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, HypeTrainId> for &'zf HypeTrainIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HypeTrainId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HypeTrainId

source§

impl StructuralEq for HypeTrainId

source§

impl StructuralPartialEq for HypeTrainId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.HypeTrainIdRef.html b/twitch_types/stream/struct.HypeTrainIdRef.html index 2895dd10..dc3d4295 100644 --- a/twitch_types/stream/struct.HypeTrainIdRef.html +++ b/twitch_types/stream/struct.HypeTrainIdRef.html @@ -1,4 +1,4 @@ -HypeTrainIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct HypeTrainIdRef(_);
Available on crate feature stream only.
Expand description

A Hype Train ID

+HypeTrainIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct HypeTrainIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Hype Train ID

Implementations§

source§

impl HypeTrainIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed HypeTrainIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed HypeTrainIdRef

source

pub fn into_owned(self: Box<HypeTrainIdRef>) -> HypeTrainId

Converts a Box<HypeTrainIdRef> into a HypeTrainId without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, HypeTrainIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a HypeTrainIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<HypeTrainIdRef> for HypeTrainId

source§

fn as_ref(&self) -> &HypeTrainIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HypeTrainIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HypeTrainIdRef> for HypeTrainId

source§

fn borrow(&self) -> &HypeTrainIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HypeTrainIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for HypeTrainIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a HypeTrainIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<HypeTrainIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HypeTrainIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, HypeTrainIdRef>> for &'a HypeTrainIdRef

source§

fn from(r: &'a Cow<'b, HypeTrainIdRef>) -> &'a HypeTrainIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainIdRef> for Cow<'a, HypeTrainIdRef>

source§

fn from(r: &'a HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a HypeTrainIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a HypeTrainIdRef

source§

fn from(s: &'a str) -> &'a HypeTrainIdRef

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for Arc<HypeTrainIdRef>

source§

fn from(r: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for HypeTrainId

source§

fn from(s: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for Rc<HypeTrainIdRef>

source§

fn from(r: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for Box<HypeTrainIdRef>

source§

fn from(r: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl Hash for HypeTrainIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainIdRef

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for HypeTrainIdRef

source§

fn cmp(&self, other: &HypeTrainIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &&HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for &HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainIdRef> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HypeTrainIdRef> for HypeTrainIdRef

source§

fn partial_cmp(&self, other: &HypeTrainIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for HypeTrainIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for HypeTrainIdRef

§

type Owned = HypeTrainId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, HypeTrainId> for &'zf HypeTrainIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HypeTrainId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, HypeTrainIdRef> for &'zf HypeTrainIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HypeTrainIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HypeTrainIdRef

source§

impl StructuralEq for HypeTrainIdRef

source§

impl StructuralPartialEq for HypeTrainIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +needs to construct itself. Read more

source§

impl AsRef<HypeTrainIdRef> for HypeTrainId

source§

fn as_ref(&self) -> &HypeTrainIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for HypeTrainIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<HypeTrainIdRef> for HypeTrainId

source§

fn borrow(&self) -> &HypeTrainIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for HypeTrainIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for HypeTrainIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a HypeTrainIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<HypeTrainIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for HypeTrainIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, HypeTrainIdRef>> for &'a HypeTrainIdRef

source§

fn from(r: &'a Cow<'b, HypeTrainIdRef>) -> &'a HypeTrainIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainId> for &'a HypeTrainIdRef

source§

fn from(owned: &'a HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a HypeTrainIdRef> for Cow<'a, HypeTrainIdRef>

source§

fn from(r: &'a HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a HypeTrainIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a HypeTrainIdRef

source§

fn from(s: &'a str) -> &'a HypeTrainIdRef

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for Arc<HypeTrainIdRef>

source§

fn from(r: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for HypeTrainId

source§

fn from(s: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&HypeTrainIdRef> for Rc<HypeTrainIdRef>

source§

fn from(r: &HypeTrainIdRef) -> Self

Converts to this type from the input type.
source§

impl From<HypeTrainId> for Box<HypeTrainIdRef>

source§

fn from(r: HypeTrainId) -> Self

Converts to this type from the input type.
source§

impl Hash for HypeTrainIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainIdRef

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

source§

fn into_cow(self) -> Cow<'a, HypeTrainIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for HypeTrainIdRef

source§

fn cmp(&self, other: &HypeTrainIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &&HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for &HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainId> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainIdRef> for HypeTrainId

source§

fn eq(&self, other: &HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<HypeTrainIdRef> for HypeTrainIdRef

source§

fn eq(&self, other: &HypeTrainIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<HypeTrainIdRef> for HypeTrainIdRef

source§

fn partial_cmp(&self, other: &HypeTrainIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for HypeTrainIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for HypeTrainIdRef

§

type Owned = HypeTrainId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, HypeTrainId> for &'zf HypeTrainIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HypeTrainId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, HypeTrainIdRef> for &'zf HypeTrainIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf HypeTrainIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for HypeTrainIdRef

source§

impl StructuralEq for HypeTrainIdRef

source§

impl StructuralPartialEq for HypeTrainIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/stream/struct.IgdbId.html b/twitch_types/stream/struct.IgdbId.html index fd22affe..2e07a327 100644 --- a/twitch_types/stream/struct.IgdbId.html +++ b/twitch_types/stream/struct.IgdbId.html @@ -1,4 +1,4 @@ -IgdbId in twitch_types::stream - Rust

Struct twitch_types::stream::IgdbId

source ·
#[repr(transparent)]
pub struct IgdbId(_);
Available on crate feature stream only.
Expand description

A IGDB ID

+IgdbId in twitch_types::stream - Rust

Struct twitch_types::stream::IgdbId

source ·
#[repr(transparent)]
pub struct IgdbId(/* private fields */);
Available on crate feature stream only.
Expand description

A IGDB ID

Implementations§

source§

impl IgdbId

source

pub const fn new(raw: String) -> Self

Constructs a new IgdbId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newIgdbIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<IgdbIdRef>

Converts this IgdbId into a Box<IgdbIdRef>

@@ -9,23 +9,23 @@ Cow<'_, IgdbIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for IgdbId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<IgdbIdRef> for IgdbId

source§

fn as_ref(&self) -> &IgdbIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for IgdbId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<IgdbIdRef> for IgdbId

source§

fn borrow(&self) -> &IgdbIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for IgdbId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for IgdbId

source§

fn clone(&self) -> IgdbId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IgdbId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for IgdbId

§

type Target = IgdbIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for IgdbId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IgdbId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a IgdbId> for &'a IgdbIdRef

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbId> for Cow<'a, IgdbIdRef>

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for IgdbId

source§

fn from(s: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for IgdbId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<IgdbIdRef, Global>> for IgdbId

source§

fn from(r: Box<IgdbIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for IgdbId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, IgdbIdRef>> for IgdbId

source§

fn from(r: Cow<'a, IgdbIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for Box<IgdbIdRef>

source§

fn from(r: IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<IgdbId> for Cow<'a, IgdbIdRef>

source§

fn from(owned: IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for String

source§

fn from(s: IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<String> for IgdbId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for IgdbId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for IgdbId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<IgdbIdRef> for IgdbId

source§

fn as_ref(&self) -> &IgdbIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for IgdbId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<IgdbIdRef> for IgdbId

source§

fn borrow(&self) -> &IgdbIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for IgdbId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for IgdbId

source§

fn clone(&self) -> IgdbId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IgdbId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for IgdbId

§

type Target = IgdbIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for IgdbId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IgdbId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a IgdbId> for &'a IgdbIdRef

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbId> for Cow<'a, IgdbIdRef>

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for IgdbId

source§

fn from(s: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for IgdbId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<IgdbIdRef, Global>> for IgdbId

source§

fn from(r: Box<IgdbIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for IgdbId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, IgdbIdRef>> for IgdbId

source§

fn from(r: Cow<'a, IgdbIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for Box<IgdbIdRef>

source§

fn from(r: IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<IgdbId> for Cow<'a, IgdbIdRef>

source§

fn from(owned: IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for String

source§

fn from(s: IgdbId) -> Self

Converts to this type from the input type.
source§

impl From<String> for IgdbId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for IgdbId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for IgdbId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for IgdbId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for IgdbId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &&IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for &IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbId

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<IgdbId> for IgdbId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for &IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbId

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<IgdbId> for IgdbId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for IgdbId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, IgdbId> for &'zf IgdbIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf IgdbId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for IgdbId

source§

impl StructuralEq for IgdbId

source§

impl StructuralPartialEq for IgdbId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.IgdbIdRef.html b/twitch_types/stream/struct.IgdbIdRef.html index f1d60a81..40d16d88 100644 --- a/twitch_types/stream/struct.IgdbIdRef.html +++ b/twitch_types/stream/struct.IgdbIdRef.html @@ -1,4 +1,4 @@ -IgdbIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct IgdbIdRef(_);
Available on crate feature stream only.
Expand description

A IGDB ID

+IgdbIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct IgdbIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A IGDB ID

Implementations§

source§

impl IgdbIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed IgdbIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed IgdbIdRef

source

pub fn into_owned(self: Box<IgdbIdRef>) -> IgdbId

Converts a Box<IgdbIdRef> into a IgdbId without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, IgdbIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a IgdbIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<IgdbIdRef> for IgdbId

source§

fn as_ref(&self) -> &IgdbIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for IgdbIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<IgdbIdRef> for IgdbId

source§

fn borrow(&self) -> &IgdbIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for IgdbIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for IgdbIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a IgdbIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<IgdbIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IgdbIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, IgdbIdRef>> for &'a IgdbIdRef

source§

fn from(r: &'a Cow<'b, IgdbIdRef>) -> &'a IgdbIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbId> for &'a IgdbIdRef

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbIdRef> for Cow<'a, IgdbIdRef>

source§

fn from(r: &'a IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a IgdbIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a IgdbIdRef

source§

fn from(s: &'a str) -> &'a IgdbIdRef

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for Arc<IgdbIdRef>

source§

fn from(r: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for IgdbId

source§

fn from(s: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for Rc<IgdbIdRef>

source§

fn from(r: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for Box<IgdbIdRef>

source§

fn from(r: IgdbId) -> Self

Converts to this type from the input type.
source§

impl Hash for IgdbIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbIdRef

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for IgdbIdRef

source§

fn cmp(&self, other: &IgdbIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &&IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for &IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbIdRef

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<IgdbIdRef> for IgdbIdRef

source§

fn partial_cmp(&self, other: &IgdbIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for IgdbIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for IgdbIdRef

§

type Owned = IgdbId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, IgdbId> for &'zf IgdbIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf IgdbId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, IgdbIdRef> for &'zf IgdbIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf IgdbIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for IgdbIdRef

source§

impl StructuralEq for IgdbIdRef

source§

impl StructuralPartialEq for IgdbIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +needs to construct itself. Read more

source§

impl AsRef<IgdbIdRef> for IgdbId

source§

fn as_ref(&self) -> &IgdbIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for IgdbIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<IgdbIdRef> for IgdbId

source§

fn borrow(&self) -> &IgdbIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for IgdbIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for IgdbIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a IgdbIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<IgdbIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for IgdbIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, IgdbIdRef>> for &'a IgdbIdRef

source§

fn from(r: &'a Cow<'b, IgdbIdRef>) -> &'a IgdbIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbId> for &'a IgdbIdRef

source§

fn from(owned: &'a IgdbId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a IgdbIdRef> for Cow<'a, IgdbIdRef>

source§

fn from(r: &'a IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a IgdbIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a IgdbIdRef

source§

fn from(s: &'a str) -> &'a IgdbIdRef

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for Arc<IgdbIdRef>

source§

fn from(r: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for IgdbId

source§

fn from(s: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&IgdbIdRef> for Rc<IgdbIdRef>

source§

fn from(r: &IgdbIdRef) -> Self

Converts to this type from the input type.
source§

impl From<IgdbId> for Box<IgdbIdRef>

source§

fn from(r: IgdbId) -> Self

Converts to this type from the input type.
source§

impl Hash for IgdbIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbIdRef

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

source§

fn into_cow(self) -> Cow<'a, IgdbIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for IgdbIdRef

source§

fn cmp(&self, other: &IgdbIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &&IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for &IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbId> for IgdbIdRef

source§

fn eq(&self, other: &IgdbId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbId

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<IgdbIdRef> for IgdbIdRef

source§

fn eq(&self, other: &IgdbIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<IgdbIdRef> for IgdbIdRef

source§

fn partial_cmp(&self, other: &IgdbIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for IgdbIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for IgdbIdRef

§

type Owned = IgdbId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, IgdbId> for &'zf IgdbIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf IgdbId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, IgdbIdRef> for &'zf IgdbIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf IgdbIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for IgdbIdRef

source§

impl StructuralEq for IgdbIdRef

source§

impl StructuralPartialEq for IgdbIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/stream/struct.StreamId.html b/twitch_types/stream/struct.StreamId.html index 21c13f62..9e6345dc 100644 --- a/twitch_types/stream/struct.StreamId.html +++ b/twitch_types/stream/struct.StreamId.html @@ -1,4 +1,4 @@ -StreamId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamId(_);
Available on crate feature stream only.
Expand description

A Stream ID

+StreamId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamId(/* private fields */);
Available on crate feature stream only.
Expand description

A Stream ID

Implementations§

source§

impl StreamId

source

pub const fn new(raw: String) -> Self

Constructs a new StreamId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newStreamIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<StreamIdRef>

Converts this StreamId into a Box<StreamIdRef>

@@ -9,23 +9,23 @@ Cow<'_, StreamIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for StreamId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<StreamIdRef> for StreamId

source§

fn as_ref(&self) -> &StreamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamIdRef> for StreamId

source§

fn borrow(&self) -> &StreamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for StreamId

source§

fn clone(&self) -> StreamId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for StreamId

§

type Target = StreamIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for StreamId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a StreamId> for &'a StreamIdRef

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamId> for Cow<'a, StreamIdRef>

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for StreamId

source§

fn from(s: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for StreamId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<StreamIdRef, Global>> for StreamId

source§

fn from(r: Box<StreamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for StreamId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, StreamIdRef>> for StreamId

source§

fn from(r: Cow<'a, StreamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for Box<StreamIdRef>

source§

fn from(r: StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<StreamId> for Cow<'a, StreamIdRef>

source§

fn from(owned: StreamId) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for String

source§

fn from(s: StreamId) -> Self

Converts to this type from the input type.
source§

impl From<String> for StreamId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for StreamId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for StreamId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<StreamIdRef> for StreamId

source§

fn as_ref(&self) -> &StreamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamIdRef> for StreamId

source§

fn borrow(&self) -> &StreamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for StreamId

source§

fn clone(&self) -> StreamId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for StreamId

§

type Target = StreamIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for StreamId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a StreamId> for &'a StreamIdRef

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamId> for Cow<'a, StreamIdRef>

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for StreamId

source§

fn from(s: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for StreamId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<StreamIdRef, Global>> for StreamId

source§

fn from(r: Box<StreamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for StreamId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, StreamIdRef>> for StreamId

source§

fn from(r: Cow<'a, StreamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for Box<StreamIdRef>

source§

fn from(r: StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<StreamId> for Cow<'a, StreamIdRef>

source§

fn from(owned: StreamId) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for String

source§

fn from(s: StreamId) -> Self

Converts to this type from the input type.
source§

impl From<String> for StreamId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for StreamId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for StreamId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&StreamIdRef> for StreamId

source§

fn eq(&self, other: &&StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for &StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for &StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for StreamId

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamId

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamId> for StreamId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamId

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamId> for StreamId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for StreamId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, StreamId> for &'zf StreamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for StreamId

source§

impl StructuralEq for StreamId

source§

impl StructuralPartialEq for StreamId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.StreamIdRef.html b/twitch_types/stream/struct.StreamIdRef.html index aab1b1c9..3bd9ab0f 100644 --- a/twitch_types/stream/struct.StreamIdRef.html +++ b/twitch_types/stream/struct.StreamIdRef.html @@ -1,4 +1,4 @@ -StreamIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamIdRef(_);
Available on crate feature stream only.
Expand description

A Stream ID

+StreamIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Stream ID

Implementations§

source§

impl StreamIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed StreamIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed StreamIdRef

source

pub fn into_owned(self: Box<StreamIdRef>) -> StreamId

Converts a Box<StreamIdRef> into a StreamId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, StreamIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a StreamIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<StreamIdRef> for StreamId

source§

fn as_ref(&self) -> &StreamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamIdRef> for StreamId

source§

fn borrow(&self) -> &StreamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for StreamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<StreamIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, StreamIdRef>> for &'a StreamIdRef

source§

fn from(r: &'a Cow<'b, StreamIdRef>) -> &'a StreamIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamId> for &'a StreamIdRef

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamIdRef> for Cow<'a, StreamIdRef>

source§

fn from(r: &'a StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a StreamIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a StreamIdRef

source§

fn from(s: &'a str) -> &'a StreamIdRef

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for Arc<StreamIdRef>

source§

fn from(r: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for Rc<StreamIdRef>

source§

fn from(r: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for StreamId

source§

fn from(s: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for Box<StreamIdRef>

source§

fn from(r: StreamId) -> Self

Converts to this type from the input type.
source§

impl Hash for StreamIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamIdRef

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamIdRef

source§

fn cmp(&self, other: &StreamIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&StreamIdRef> for StreamId

source§

fn eq(&self, other: &&StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for &StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<StreamIdRef> for StreamId

source§

fn as_ref(&self) -> &StreamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamIdRef> for StreamId

source§

fn borrow(&self) -> &StreamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for StreamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<StreamIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, StreamIdRef>> for &'a StreamIdRef

source§

fn from(r: &'a Cow<'b, StreamIdRef>) -> &'a StreamIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamId> for &'a StreamIdRef

source§

fn from(owned: &'a StreamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamIdRef> for Cow<'a, StreamIdRef>

source§

fn from(r: &'a StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a StreamIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a StreamIdRef

source§

fn from(s: &'a str) -> &'a StreamIdRef

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for Arc<StreamIdRef>

source§

fn from(r: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for Rc<StreamIdRef>

source§

fn from(r: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamIdRef> for StreamId

source§

fn from(s: &StreamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<StreamId> for Box<StreamIdRef>

source§

fn from(r: StreamId) -> Self

Converts to this type from the input type.
source§

impl Hash for StreamIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamIdRef

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

source§

fn into_cow(self) -> Cow<'a, StreamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamIdRef

source§

fn cmp(&self, other: &StreamIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&StreamIdRef> for StreamId

source§

fn eq(&self, other: &&StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for &StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamId> for StreamIdRef

source§

fn eq(&self, other: &StreamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamId

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamIdRef

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamIdRef> for StreamIdRef

source§

fn partial_cmp(&self, other: &StreamIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamId

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamIdRef> for StreamIdRef

source§

fn eq(&self, other: &StreamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamIdRef> for StreamIdRef

source§

fn partial_cmp(&self, other: &StreamIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for StreamIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for StreamIdRef

§

type Owned = StreamId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, StreamId> for &'zf StreamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, StreamIdRef> for &'zf StreamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for StreamIdRef

source§

impl StructuralEq for StreamIdRef

source§

impl StructuralPartialEq for StreamIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.StreamSegmentId.html b/twitch_types/stream/struct.StreamSegmentId.html index e55efc67..4ad3d3ab 100644 --- a/twitch_types/stream/struct.StreamSegmentId.html +++ b/twitch_types/stream/struct.StreamSegmentId.html @@ -1,4 +1,4 @@ -StreamSegmentId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamSegmentId(_);
Available on crate feature stream only.
Expand description

A Stream Segment ID.

+StreamSegmentId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamSegmentId(/* private fields */);
Available on crate feature stream only.
Expand description

A Stream Segment ID.

Implementations§

source§

impl StreamSegmentId

source

pub const fn new(raw: String) -> Self

Constructs a new StreamSegmentId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newStreamSegmentIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<StreamSegmentIdRef>

Converts this StreamSegmentId into a Box<StreamSegmentIdRef>

@@ -9,23 +9,23 @@ Cow<'_, StreamSegmentIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for StreamSegmentId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<StreamSegmentIdRef> for StreamSegmentId

source§

fn as_ref(&self) -> &StreamSegmentIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamSegmentId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamSegmentIdRef> for StreamSegmentId

source§

fn borrow(&self) -> &StreamSegmentIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamSegmentId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for StreamSegmentId

source§

fn clone(&self) -> StreamSegmentId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamSegmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for StreamSegmentId

§

type Target = StreamSegmentIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for StreamSegmentId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamSegmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentId> for Cow<'a, StreamSegmentIdRef>

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for StreamSegmentId

source§

fn from(s: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for StreamSegmentId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<StreamSegmentIdRef, Global>> for StreamSegmentId

source§

fn from(r: Box<StreamSegmentIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for StreamSegmentId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, StreamSegmentIdRef>> for StreamSegmentId

source§

fn from(r: Cow<'a, StreamSegmentIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for Box<StreamSegmentIdRef>

source§

fn from(r: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<StreamSegmentId> for Cow<'a, StreamSegmentIdRef>

source§

fn from(owned: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for String

source§

fn from(s: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<String> for StreamSegmentId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for StreamSegmentId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for StreamSegmentId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<StreamSegmentIdRef> for StreamSegmentId

source§

fn as_ref(&self) -> &StreamSegmentIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamSegmentId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamSegmentIdRef> for StreamSegmentId

source§

fn borrow(&self) -> &StreamSegmentIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamSegmentId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for StreamSegmentId

source§

fn clone(&self) -> StreamSegmentId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StreamSegmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for StreamSegmentId

§

type Target = StreamSegmentIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for StreamSegmentId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamSegmentId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentId> for Cow<'a, StreamSegmentIdRef>

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for StreamSegmentId

source§

fn from(s: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for StreamSegmentId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<StreamSegmentIdRef, Global>> for StreamSegmentId

source§

fn from(r: Box<StreamSegmentIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for StreamSegmentId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, StreamSegmentIdRef>> for StreamSegmentId

source§

fn from(r: Cow<'a, StreamSegmentIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for Box<StreamSegmentIdRef>

source§

fn from(r: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<StreamSegmentId> for Cow<'a, StreamSegmentIdRef>

source§

fn from(owned: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for String

source§

fn from(s: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl From<String> for StreamSegmentId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for StreamSegmentId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for StreamSegmentId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamSegmentId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &&StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentId

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamSegmentId> for StreamSegmentId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamSegmentId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &&StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentId

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamSegmentId> for StreamSegmentId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for StreamSegmentId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, StreamSegmentId> for &'zf StreamSegmentIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamSegmentId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for StreamSegmentId

source§

impl StructuralEq for StreamSegmentId

source§

impl StructuralPartialEq for StreamSegmentId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.StreamSegmentIdRef.html b/twitch_types/stream/struct.StreamSegmentIdRef.html index f0f88b4c..c9aeeddd 100644 --- a/twitch_types/stream/struct.StreamSegmentIdRef.html +++ b/twitch_types/stream/struct.StreamSegmentIdRef.html @@ -1,4 +1,4 @@ -StreamSegmentIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamSegmentIdRef(_);
Available on crate feature stream only.
Expand description

A Stream Segment ID.

+StreamSegmentIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct StreamSegmentIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Stream Segment ID.

Implementations§

source§

impl StreamSegmentIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed StreamSegmentIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed StreamSegmentIdRef

source

pub fn into_owned(self: Box<StreamSegmentIdRef>) -> StreamSegmentId

Converts a Box<StreamSegmentIdRef> into a StreamSegmentId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, StreamSegmentIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a StreamSegmentIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<StreamSegmentIdRef> for StreamSegmentId

source§

fn as_ref(&self) -> &StreamSegmentIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamSegmentIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamSegmentIdRef> for StreamSegmentId

source§

fn borrow(&self) -> &StreamSegmentIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamSegmentIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for StreamSegmentIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamSegmentIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<StreamSegmentIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamSegmentIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, StreamSegmentIdRef>> for &'a StreamSegmentIdRef

source§

fn from(r: &'a Cow<'b, StreamSegmentIdRef>) -> &'a StreamSegmentIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentIdRef> for Cow<'a, StreamSegmentIdRef>

source§

fn from(r: &'a StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a StreamSegmentIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a StreamSegmentIdRef

source§

fn from(s: &'a str) -> &'a StreamSegmentIdRef

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for Arc<StreamSegmentIdRef>

source§

fn from(r: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for Rc<StreamSegmentIdRef>

source§

fn from(r: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for StreamSegmentId

source§

fn from(s: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for Box<StreamSegmentIdRef>

source§

fn from(r: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl Hash for StreamSegmentIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentIdRef

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamSegmentIdRef

source§

fn cmp(&self, other: &StreamSegmentIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &&StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<StreamSegmentIdRef> for StreamSegmentId

source§

fn as_ref(&self) -> &StreamSegmentIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for StreamSegmentIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<StreamSegmentIdRef> for StreamSegmentId

source§

fn borrow(&self) -> &StreamSegmentIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for StreamSegmentIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for StreamSegmentIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a StreamSegmentIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<StreamSegmentIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for StreamSegmentIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, StreamSegmentIdRef>> for &'a StreamSegmentIdRef

source§

fn from(r: &'a Cow<'b, StreamSegmentIdRef>) -> &'a StreamSegmentIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentId> for &'a StreamSegmentIdRef

source§

fn from(owned: &'a StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a StreamSegmentIdRef> for Cow<'a, StreamSegmentIdRef>

source§

fn from(r: &'a StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a StreamSegmentIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a StreamSegmentIdRef

source§

fn from(s: &'a str) -> &'a StreamSegmentIdRef

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for Arc<StreamSegmentIdRef>

source§

fn from(r: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for Rc<StreamSegmentIdRef>

source§

fn from(r: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&StreamSegmentIdRef> for StreamSegmentId

source§

fn from(s: &StreamSegmentIdRef) -> Self

Converts to this type from the input type.
source§

impl From<StreamSegmentId> for Box<StreamSegmentIdRef>

source§

fn from(r: StreamSegmentId) -> Self

Converts to this type from the input type.
source§

impl Hash for StreamSegmentIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentIdRef

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

source§

fn into_cow(self) -> Cow<'a, StreamSegmentIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for StreamSegmentIdRef

source§

fn cmp(&self, other: &StreamSegmentIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &&StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for &StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentId> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentIdRef> for StreamSegmentId

source§

fn eq(&self, other: &StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentIdRef> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamSegmentIdRef> for StreamSegmentIdRef

source§

fn partial_cmp(&self, other: &StreamSegmentIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<StreamSegmentIdRef> for StreamSegmentIdRef

source§

fn eq(&self, other: &StreamSegmentIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<StreamSegmentIdRef> for StreamSegmentIdRef

source§

fn partial_cmp(&self, other: &StreamSegmentIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for StreamSegmentIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for StreamSegmentIdRef

§

type Owned = StreamSegmentId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, StreamSegmentId> for &'zf StreamSegmentIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamSegmentId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, StreamSegmentIdRef> for &'zf StreamSegmentIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf StreamSegmentIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for StreamSegmentIdRef

source§

impl StructuralEq for StreamSegmentIdRef

source§

impl StructuralPartialEq for StreamSegmentIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.TagId.html b/twitch_types/stream/struct.TagId.html index a7e26f4a..bdcc1472 100644 --- a/twitch_types/stream/struct.TagId.html +++ b/twitch_types/stream/struct.TagId.html @@ -1,4 +1,4 @@ -TagId in twitch_types::stream - Rust

Struct twitch_types::stream::TagId

source ·
#[repr(transparent)]
pub struct TagId(_);
Available on crate feature stream only.
Expand description

A tag ID

+TagId in twitch_types::stream - Rust

Struct twitch_types::stream::TagId

source ·
#[repr(transparent)]
pub struct TagId(/* private fields */);
Available on crate feature stream only.
Expand description

A tag ID

Implementations§

source§

impl TagId

source

pub const fn new(raw: String) -> Self

Constructs a new TagId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newTagIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<TagIdRef>

Converts this TagId into a Box<TagIdRef>

@@ -9,23 +9,23 @@ Cow<'_, TagIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for TagId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<TagIdRef> for TagId

source§

fn as_ref(&self) -> &TagIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TagId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TagIdRef> for TagId

source§

fn borrow(&self) -> &TagIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TagId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for TagId

source§

fn clone(&self) -> TagId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TagId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for TagId

§

type Target = TagIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for TagId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TagId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a TagId> for &'a TagIdRef

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagId> for Cow<'a, TagIdRef>

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for TagId

source§

fn from(s: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for TagId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<TagIdRef, Global>> for TagId

source§

fn from(r: Box<TagIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for TagId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TagIdRef>> for TagId

source§

fn from(r: Cow<'a, TagIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for TagId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for Box<TagIdRef>

source§

fn from(r: TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<TagId> for Cow<'a, TagIdRef>

source§

fn from(owned: TagId) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for String

source§

fn from(s: TagId) -> Self

Converts to this type from the input type.
source§

impl FromStr for TagId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for TagId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<TagIdRef> for TagId

source§

fn as_ref(&self) -> &TagIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TagId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TagIdRef> for TagId

source§

fn borrow(&self) -> &TagIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TagId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for TagId

source§

fn clone(&self) -> TagId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TagId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for TagId

§

type Target = TagIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for TagId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TagId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a TagId> for &'a TagIdRef

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagId> for Cow<'a, TagIdRef>

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for TagId

source§

fn from(s: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for TagId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<TagIdRef, Global>> for TagId

source§

fn from(r: Box<TagIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for TagId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TagIdRef>> for TagId

source§

fn from(r: Cow<'a, TagIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for TagId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for Box<TagIdRef>

source§

fn from(r: TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<TagId> for Cow<'a, TagIdRef>

source§

fn from(owned: TagId) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for String

source§

fn from(s: TagId) -> Self

Converts to this type from the input type.
source§

impl FromStr for TagId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for TagId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TagId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&TagIdRef> for TagId

source§

fn eq(&self, other: &&TagIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for &TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagId

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagId

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TagId> for TagId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TagId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&TagIdRef> for TagId

source§

fn eq(&self, other: &&TagIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for &TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagId

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagId

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TagId> for TagId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for TagId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, TagId> for &'zf TagIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TagId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for TagId

source§

impl StructuralEq for TagId

source§

impl StructuralPartialEq for TagId

Auto Trait Implementations§

§

impl RefUnwindSafe for TagId

§

impl Send for TagId

§

impl Sync for TagId

§

impl Unpin for TagId

§

impl UnwindSafe for TagId

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.TagIdRef.html b/twitch_types/stream/struct.TagIdRef.html index 117696dd..eb8d9941 100644 --- a/twitch_types/stream/struct.TagIdRef.html +++ b/twitch_types/stream/struct.TagIdRef.html @@ -1,4 +1,4 @@ -TagIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct TagIdRef(_);
Available on crate feature stream only.
Expand description

A tag ID

+TagIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct TagIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A tag ID

Implementations§

source§

impl TagIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed TagIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed TagIdRef

source

pub fn into_owned(self: Box<TagIdRef>) -> TagId

Converts a Box<TagIdRef> into a TagId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, TagIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a TagIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<TagIdRef> for TagId

source§

fn as_ref(&self) -> &TagIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TagIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TagIdRef> for TagId

source§

fn borrow(&self) -> &TagIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TagIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TagIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TagIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TagIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TagIdRef>> for &'a TagIdRef

source§

fn from(r: &'a Cow<'b, TagIdRef>) -> &'a TagIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a TagIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagId> for &'a TagIdRef

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagIdRef> for Cow<'a, TagIdRef>

source§

fn from(r: &'a TagIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a TagIdRef

source§

fn from(s: &'a str) -> &'a TagIdRef

Converts to this type from the input type.
source§

impl From<&TagIdRef> for Arc<TagIdRef>

source§

fn from(r: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for Rc<TagIdRef>

source§

fn from(r: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for TagId

source§

fn from(s: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for Box<TagIdRef>

source§

fn from(r: TagId) -> Self

Converts to this type from the input type.
source§

impl Hash for TagIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagIdRef

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TagIdRef

source§

fn cmp(&self, other: &TagIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&TagIdRef> for TagId

source§

fn eq(&self, other: &&TagIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for &TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagId

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagIdRef

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TagIdRef> for TagIdRef

source§

fn partial_cmp(&self, other: &TagIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +needs to construct itself. Read more
source§

impl AsRef<TagIdRef> for TagId

source§

fn as_ref(&self) -> &TagIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TagIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TagIdRef> for TagId

source§

fn borrow(&self) -> &TagIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TagIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TagIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TagIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TagIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TagIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TagIdRef>> for &'a TagIdRef

source§

fn from(r: &'a Cow<'b, TagIdRef>) -> &'a TagIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a TagIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagId> for &'a TagIdRef

source§

fn from(owned: &'a TagId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TagIdRef> for Cow<'a, TagIdRef>

source§

fn from(r: &'a TagIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a TagIdRef

source§

fn from(s: &'a str) -> &'a TagIdRef

Converts to this type from the input type.
source§

impl From<&TagIdRef> for Arc<TagIdRef>

source§

fn from(r: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for Rc<TagIdRef>

source§

fn from(r: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TagIdRef> for TagId

source§

fn from(s: &TagIdRef) -> Self

Converts to this type from the input type.
source§

impl From<TagId> for Box<TagIdRef>

source§

fn from(r: TagId) -> Self

Converts to this type from the input type.
source§

impl Hash for TagIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagIdRef

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

source§

fn into_cow(self) -> Cow<'a, TagIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TagIdRef

source§

fn cmp(&self, other: &TagIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&TagIdRef> for TagId

source§

fn eq(&self, other: &&TagIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for &TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagId> for TagIdRef

source§

fn eq(&self, other: &TagId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagId

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TagIdRef> for TagIdRef

source§

fn eq(&self, other: &TagIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TagIdRef> for TagIdRef

source§

fn partial_cmp(&self, other: &TagIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for TagIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for TagIdRef

§

type Owned = TagId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, TagId> for &'zf TagIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TagId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, TagIdRef> for &'zf TagIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TagIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for TagIdRef

source§

impl StructuralEq for TagIdRef

source§

impl StructuralPartialEq for TagIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.TeamId.html b/twitch_types/stream/struct.TeamId.html index 0424f789..9bdf452c 100644 --- a/twitch_types/stream/struct.TeamId.html +++ b/twitch_types/stream/struct.TeamId.html @@ -1,4 +1,4 @@ -TeamId in twitch_types::stream - Rust

Struct twitch_types::stream::TeamId

source ·
#[repr(transparent)]
pub struct TeamId(_);
Available on crate feature stream only.
Expand description

A Team ID

+TeamId in twitch_types::stream - Rust

Struct twitch_types::stream::TeamId

source ·
#[repr(transparent)]
pub struct TeamId(/* private fields */);
Available on crate feature stream only.
Expand description

A Team ID

Implementations§

source§

impl TeamId

source

pub const fn new(raw: String) -> Self

Constructs a new TeamId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newTeamIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<TeamIdRef>

Converts this TeamId into a Box<TeamIdRef>

@@ -9,23 +9,23 @@ Cow<'_, TeamIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for TeamId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<TeamIdRef> for TeamId

source§

fn as_ref(&self) -> &TeamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TeamId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TeamIdRef> for TeamId

source§

fn borrow(&self) -> &TeamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TeamId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for TeamId

source§

fn clone(&self) -> TeamId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TeamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for TeamId

§

type Target = TeamIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for TeamId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TeamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a TeamId> for &'a TeamIdRef

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamId> for Cow<'a, TeamIdRef>

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for TeamId

source§

fn from(s: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for TeamId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<TeamIdRef, Global>> for TeamId

source§

fn from(r: Box<TeamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for TeamId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TeamIdRef>> for TeamId

source§

fn from(r: Cow<'a, TeamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for TeamId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for Box<TeamIdRef>

source§

fn from(r: TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<TeamId> for Cow<'a, TeamIdRef>

source§

fn from(owned: TeamId) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for String

source§

fn from(s: TeamId) -> Self

Converts to this type from the input type.
source§

impl FromStr for TeamId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for TeamId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<TeamIdRef> for TeamId

source§

fn as_ref(&self) -> &TeamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TeamId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TeamIdRef> for TeamId

source§

fn borrow(&self) -> &TeamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TeamId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for TeamId

source§

fn clone(&self) -> TeamId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TeamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for TeamId

§

type Target = TeamIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for TeamId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TeamId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a TeamId> for &'a TeamIdRef

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamId> for Cow<'a, TeamIdRef>

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for TeamId

source§

fn from(s: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for TeamId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<TeamIdRef, Global>> for TeamId

source§

fn from(r: Box<TeamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for TeamId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TeamIdRef>> for TeamId

source§

fn from(r: Cow<'a, TeamIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for TeamId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for Box<TeamIdRef>

source§

fn from(r: TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<TeamId> for Cow<'a, TeamIdRef>

source§

fn from(owned: TeamId) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for String

source§

fn from(s: TeamId) -> Self

Converts to this type from the input type.
source§

impl FromStr for TeamId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for TeamId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TeamId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&TeamIdRef> for TeamId

source§

fn eq(&self, other: &&TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for &TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TeamId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&TeamIdRef> for TeamId

source§

fn eq(&self, other: &&TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for &TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for TeamId

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamIdRef> for TeamId

source§

fn eq(&self, other: &TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TeamId> for TeamId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TeamId> for TeamId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for TeamId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, TeamId> for &'zf TeamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TeamId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for TeamId

source§

impl StructuralEq for TeamId

source§

impl StructuralPartialEq for TeamId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.TeamIdRef.html b/twitch_types/stream/struct.TeamIdRef.html index 84cd493a..7c8251c1 100644 --- a/twitch_types/stream/struct.TeamIdRef.html +++ b/twitch_types/stream/struct.TeamIdRef.html @@ -1,4 +1,4 @@ -TeamIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct TeamIdRef(_);
Available on crate feature stream only.
Expand description

A Team ID

+TeamIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct TeamIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A Team ID

Implementations§

source§

impl TeamIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed TeamIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed TeamIdRef

source

pub fn into_owned(self: Box<TeamIdRef>) -> TeamId

Converts a Box<TeamIdRef> into a TeamId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, TeamIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a TeamIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<TeamIdRef> for TeamId

source§

fn as_ref(&self) -> &TeamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TeamIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TeamIdRef> for TeamId

source§

fn borrow(&self) -> &TeamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TeamIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TeamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TeamIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TeamIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TeamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TeamIdRef>> for &'a TeamIdRef

source§

fn from(r: &'a Cow<'b, TeamIdRef>) -> &'a TeamIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a TeamIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamId> for &'a TeamIdRef

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamIdRef> for Cow<'a, TeamIdRef>

source§

fn from(r: &'a TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a TeamIdRef

source§

fn from(s: &'a str) -> &'a TeamIdRef

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for Arc<TeamIdRef>

source§

fn from(r: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for Rc<TeamIdRef>

source§

fn from(r: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for TeamId

source§

fn from(s: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for Box<TeamIdRef>

source§

fn from(r: TeamId) -> Self

Converts to this type from the input type.
source§

impl Hash for TeamIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamIdRef

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TeamIdRef

source§

fn cmp(&self, other: &TeamIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&TeamIdRef> for TeamId

source§

fn eq(&self, other: &&TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for &TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<TeamIdRef> for TeamId

source§

fn as_ref(&self) -> &TeamIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TeamIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TeamIdRef> for TeamId

source§

fn borrow(&self) -> &TeamIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TeamIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TeamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TeamIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TeamIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TeamIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TeamIdRef>> for &'a TeamIdRef

source§

fn from(r: &'a Cow<'b, TeamIdRef>) -> &'a TeamIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a TeamIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamId> for &'a TeamIdRef

source§

fn from(owned: &'a TeamId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TeamIdRef> for Cow<'a, TeamIdRef>

source§

fn from(r: &'a TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a TeamIdRef

source§

fn from(s: &'a str) -> &'a TeamIdRef

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for Arc<TeamIdRef>

source§

fn from(r: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for Rc<TeamIdRef>

source§

fn from(r: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&TeamIdRef> for TeamId

source§

fn from(s: &TeamIdRef) -> Self

Converts to this type from the input type.
source§

impl From<TeamId> for Box<TeamIdRef>

source§

fn from(r: TeamId) -> Self

Converts to this type from the input type.
source§

impl Hash for TeamIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamIdRef

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

source§

fn into_cow(self) -> Cow<'a, TeamIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for TeamIdRef

source§

fn cmp(&self, other: &TeamIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&TeamIdRef> for TeamId

source§

fn eq(&self, other: &&TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for &TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamId> for TeamIdRef

source§

fn eq(&self, other: &TeamId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamIdRef> for TeamId

source§

fn eq(&self, other: &TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamIdRef> for TeamIdRef

source§

fn eq(&self, other: &TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TeamIdRef> for TeamIdRef

source§

fn partial_cmp(&self, other: &TeamIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TeamIdRef> for TeamIdRef

source§

fn eq(&self, other: &TeamIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<TeamIdRef> for TeamIdRef

source§

fn partial_cmp(&self, other: &TeamIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for TeamIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for TeamIdRef

§

type Owned = TeamId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, TeamId> for &'zf TeamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TeamId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, TeamIdRef> for &'zf TeamIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TeamIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for TeamIdRef

source§

impl StructuralEq for TeamIdRef

source§

impl StructuralPartialEq for TeamIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.TwitchCategory.html b/twitch_types/stream/struct.TwitchCategory.html index b8776170..ecf48f2f 100644 --- a/twitch_types/stream/struct.TwitchCategory.html +++ b/twitch_types/stream/struct.TwitchCategory.html @@ -1,4 +1,4 @@ -TwitchCategory in twitch_types::stream - Rust
#[non_exhaustive]
pub struct TwitchCategory { +TwitchCategory in twitch_types::stream - Rust
#[non_exhaustive]
pub struct TwitchCategory { pub box_art_url: String, pub id: CategoryId, pub name: String, @@ -9,10 +9,10 @@
§name: String

Game name.

§igdb_id: Option<IgdbId>

The ID that IGDB uses to identify this game.

An empty value may indicate the endpoint does not return an id or that the category/game is not available on IGDB

-

Trait Implementations§

source§

impl Clone for TwitchCategory

source§

fn clone(&self) -> TwitchCategory

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TwitchCategory

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TwitchCategory

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where +

Trait Implementations§

source§

impl Clone for TwitchCategory

source§

fn clone(&self) -> TwitchCategory

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TwitchCategory

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for TwitchCategory

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<TwitchCategory> for TwitchCategory

source§

fn eq(&self, other: &TwitchCategory) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TwitchCategory

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where +by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TwitchCategory

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for TwitchCategory

source§

impl StructuralEq for TwitchCategory

source§

impl StructuralPartialEq for TwitchCategory

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.VideoId.html b/twitch_types/stream/struct.VideoId.html index 54b2516c..4b56e36f 100644 --- a/twitch_types/stream/struct.VideoId.html +++ b/twitch_types/stream/struct.VideoId.html @@ -1,4 +1,4 @@ -VideoId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct VideoId(_);
Available on crate feature stream only.
Expand description

A video ID

+VideoId in twitch_types::stream - Rust
#[repr(transparent)]
pub struct VideoId(/* private fields */);
Available on crate feature stream only.
Expand description

A video ID

Implementations§

source§

impl VideoId

source

pub const fn new(raw: String) -> Self

Constructs a new VideoId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newVideoIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<VideoIdRef>

Converts this VideoId into a Box<VideoIdRef>

@@ -9,23 +9,23 @@ Cow<'_, VideoIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for VideoId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<VideoIdRef> for VideoId

source§

fn as_ref(&self) -> &VideoIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for VideoId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<VideoIdRef> for VideoId

source§

fn borrow(&self) -> &VideoIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for VideoId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for VideoId

source§

fn clone(&self) -> VideoId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for VideoId

§

type Target = VideoIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for VideoId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VideoId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a VideoId> for &'a VideoIdRef

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoId> for Cow<'a, VideoIdRef>

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for VideoId

source§

fn from(s: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for VideoId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<VideoIdRef, Global>> for VideoId

source§

fn from(r: Box<VideoIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for VideoId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, VideoIdRef>> for VideoId

source§

fn from(r: Cow<'a, VideoIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for VideoId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for Box<VideoIdRef>

source§

fn from(r: VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<VideoId> for Cow<'a, VideoIdRef>

source§

fn from(owned: VideoId) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for String

source§

fn from(s: VideoId) -> Self

Converts to this type from the input type.
source§

impl FromStr for VideoId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for VideoId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<VideoIdRef> for VideoId

source§

fn as_ref(&self) -> &VideoIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for VideoId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<VideoIdRef> for VideoId

source§

fn borrow(&self) -> &VideoIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for VideoId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for VideoId

source§

fn clone(&self) -> VideoId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for VideoId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for VideoId

§

type Target = VideoIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for VideoId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VideoId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a VideoId> for &'a VideoIdRef

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoId> for Cow<'a, VideoIdRef>

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for VideoId

source§

fn from(s: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for VideoId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<VideoIdRef, Global>> for VideoId

source§

fn from(r: Box<VideoIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for VideoId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, VideoIdRef>> for VideoId

source§

fn from(r: Cow<'a, VideoIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for VideoId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for Box<VideoIdRef>

source§

fn from(r: VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<VideoId> for Cow<'a, VideoIdRef>

source§

fn from(owned: VideoId) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for String

source§

fn from(s: VideoId) -> Self

Converts to this type from the input type.
source§

impl FromStr for VideoId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for VideoId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for VideoId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for VideoId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&VideoIdRef> for VideoId

source§

fn eq(&self, other: &&VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for &VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoId

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoIdRef> for VideoId

source§

fn eq(&self, other: &VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<VideoId> for VideoId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoId

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoIdRef> for VideoId

source§

fn eq(&self, other: &VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<VideoId> for VideoId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for VideoId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, VideoId> for &'zf VideoIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf VideoId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for VideoId

source§

impl StructuralEq for VideoId

source§

impl StructuralPartialEq for VideoId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/stream/struct.VideoIdRef.html b/twitch_types/stream/struct.VideoIdRef.html index 104d17f3..67764e9a 100644 --- a/twitch_types/stream/struct.VideoIdRef.html +++ b/twitch_types/stream/struct.VideoIdRef.html @@ -1,4 +1,4 @@ -VideoIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct VideoIdRef(_);
Available on crate feature stream only.
Expand description

A video ID

+VideoIdRef in twitch_types::stream - Rust
#[repr(transparent)]
pub struct VideoIdRef(/* private fields */);
Available on crate feature stream only.
Expand description

A video ID

Implementations§

source§

impl VideoIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed VideoIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed VideoIdRef

source

pub fn into_owned(self: Box<VideoIdRef>) -> VideoId

Converts a Box<VideoIdRef> into a VideoId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, VideoIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a VideoIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<VideoIdRef> for VideoId

source§

fn as_ref(&self) -> &VideoIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for VideoIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<VideoIdRef> for VideoId

source§

fn borrow(&self) -> &VideoIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for VideoIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for VideoIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a VideoIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<VideoIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VideoIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, VideoIdRef>> for &'a VideoIdRef

source§

fn from(r: &'a Cow<'b, VideoIdRef>) -> &'a VideoIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a VideoIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoId> for &'a VideoIdRef

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoIdRef> for Cow<'a, VideoIdRef>

source§

fn from(r: &'a VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a VideoIdRef

source§

fn from(s: &'a str) -> &'a VideoIdRef

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for Arc<VideoIdRef>

source§

fn from(r: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for Rc<VideoIdRef>

source§

fn from(r: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for VideoId

source§

fn from(s: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for Box<VideoIdRef>

source§

fn from(r: VideoId) -> Self

Converts to this type from the input type.
source§

impl Hash for VideoIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoIdRef

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for VideoIdRef

source§

fn cmp(&self, other: &VideoIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&VideoIdRef> for VideoId

source§

fn eq(&self, other: &&VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<VideoIdRef> for VideoId

source§

fn as_ref(&self) -> &VideoIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for VideoIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<VideoIdRef> for VideoId

source§

fn borrow(&self) -> &VideoIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for VideoIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for VideoIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a VideoIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<VideoIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for VideoIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, VideoIdRef>> for &'a VideoIdRef

source§

fn from(r: &'a Cow<'b, VideoIdRef>) -> &'a VideoIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a VideoIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoId> for &'a VideoIdRef

source§

fn from(owned: &'a VideoId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a VideoIdRef> for Cow<'a, VideoIdRef>

source§

fn from(r: &'a VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a VideoIdRef

source§

fn from(s: &'a str) -> &'a VideoIdRef

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for Arc<VideoIdRef>

source§

fn from(r: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for Rc<VideoIdRef>

source§

fn from(r: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&VideoIdRef> for VideoId

source§

fn from(s: &VideoIdRef) -> Self

Converts to this type from the input type.
source§

impl From<VideoId> for Box<VideoIdRef>

source§

fn from(r: VideoId) -> Self

Converts to this type from the input type.
source§

impl Hash for VideoIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoIdRef

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

source§

fn into_cow(self) -> Cow<'a, VideoIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for VideoIdRef

source§

fn cmp(&self, other: &VideoIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&VideoIdRef> for VideoId

source§

fn eq(&self, other: &&VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for &VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoIdRef> for VideoId

source§

fn eq(&self, other: &VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoId> for VideoIdRef

source§

fn eq(&self, other: &VideoId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoIdRef> for VideoId

source§

fn eq(&self, other: &VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<VideoIdRef> for VideoIdRef

source§

fn eq(&self, other: &VideoIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<VideoIdRef> for VideoIdRef

source§

fn partial_cmp(&self, other: &VideoIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<VideoIdRef> for VideoIdRef

source§

fn partial_cmp(&self, other: &VideoIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for VideoIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for VideoIdRef

§

type Owned = VideoId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, VideoId> for &'zf VideoIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf VideoId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, VideoIdRef> for &'zf VideoIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf VideoIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for VideoIdRef

source§

impl StructuralEq for VideoIdRef

source§

impl StructuralPartialEq for VideoIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.DisplayName.html b/twitch_types/struct.DisplayName.html index f1fe9e09..c0a864b1 100644 --- a/twitch_types/struct.DisplayName.html +++ b/twitch_types/struct.DisplayName.html @@ -1,4 +1,4 @@ -DisplayName in twitch_types - Rust
#[repr(transparent)]
pub struct DisplayName(_);
Expand description

A users display name

+DisplayName in twitch_types - Rust
#[repr(transparent)]
pub struct DisplayName(/* private fields */);
Expand description

A users display name

Implementations§

source§

impl DisplayName

source

pub const fn new(raw: String) -> Self

Constructs a new DisplayName

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newDisplayNamefrom a static reference

source

pub fn into_boxed_ref(self) -> Box<DisplayNameRef>

Converts this DisplayName into a Box<DisplayNameRef>

@@ -9,23 +9,23 @@ Cow<'_, DisplayNameRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for DisplayName

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<DisplayNameRef> for DisplayName

source§

fn as_ref(&self) -> &DisplayNameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for DisplayName

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<DisplayNameRef> for DisplayName

source§

fn borrow(&self) -> &DisplayNameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for DisplayName

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for DisplayName

source§

fn clone(&self) -> DisplayName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DisplayName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for DisplayName

§

type Target = DisplayNameRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for DisplayName

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DisplayName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a DisplayName> for &'a DisplayNameRef

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayName> for Cow<'a, DisplayNameRef>

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for DisplayName

source§

fn from(s: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for DisplayName

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<DisplayNameRef, Global>> for DisplayName

source§

fn from(r: Box<DisplayNameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for DisplayName

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, DisplayNameRef>> for DisplayName

source§

fn from(r: Cow<'a, DisplayNameRef>) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for Box<DisplayNameRef>

source§

fn from(r: DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<DisplayName> for Cow<'a, DisplayNameRef>

source§

fn from(owned: DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for String

source§

fn from(s: DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<String> for DisplayName

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for DisplayName

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for DisplayName

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<DisplayNameRef> for DisplayName

source§

fn as_ref(&self) -> &DisplayNameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for DisplayName

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<DisplayNameRef> for DisplayName

source§

fn borrow(&self) -> &DisplayNameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for DisplayName

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for DisplayName

source§

fn clone(&self) -> DisplayName

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DisplayName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for DisplayName

§

type Target = DisplayNameRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for DisplayName

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DisplayName

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a DisplayName> for &'a DisplayNameRef

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayName> for Cow<'a, DisplayNameRef>

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for DisplayName

source§

fn from(s: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for DisplayName

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<DisplayNameRef, Global>> for DisplayName

source§

fn from(r: Box<DisplayNameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for DisplayName

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, DisplayNameRef>> for DisplayName

source§

fn from(r: Cow<'a, DisplayNameRef>) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for Box<DisplayNameRef>

source§

fn from(r: DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<DisplayName> for Cow<'a, DisplayNameRef>

source§

fn from(owned: DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for String

source§

fn from(s: DisplayName) -> Self

Converts to this type from the input type.
source§

impl From<String> for DisplayName

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for DisplayName

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for DisplayName

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl Ord for DisplayName

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &&DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for &DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl Ord for DisplayName

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &&DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for &DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for DisplayName

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<DisplayName> for DisplayName

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<DisplayName> for DisplayName

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for DisplayName

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, DisplayName> for &'zf DisplayNameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf DisplayName) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for DisplayName

source§

impl StructuralEq for DisplayName

source§

impl StructuralPartialEq for DisplayName

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.DisplayNameRef.html b/twitch_types/struct.DisplayNameRef.html index b98e1419..4aeb0486 100644 --- a/twitch_types/struct.DisplayNameRef.html +++ b/twitch_types/struct.DisplayNameRef.html @@ -1,4 +1,4 @@ -DisplayNameRef in twitch_types - Rust
#[repr(transparent)]
pub struct DisplayNameRef(_);
Expand description

A users display name

+DisplayNameRef in twitch_types - Rust
#[repr(transparent)]
pub struct DisplayNameRef(/* private fields */);
Expand description

A users display name

Implementations§

source§

impl DisplayNameRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed DisplayNameRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed DisplayNameRef

source

pub fn into_owned(self: Box<DisplayNameRef>) -> DisplayName

Converts a Box<DisplayNameRef> into a DisplayName without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, DisplayNameRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a DisplayNameRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<DisplayNameRef> for DisplayName

source§

fn as_ref(&self) -> &DisplayNameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for DisplayNameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<DisplayNameRef> for DisplayName

source§

fn borrow(&self) -> &DisplayNameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for DisplayNameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for DisplayNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a DisplayNameRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<DisplayNameRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DisplayNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, DisplayNameRef>> for &'a DisplayNameRef

source§

fn from(r: &'a Cow<'b, DisplayNameRef>) -> &'a DisplayNameRef

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayName> for &'a DisplayNameRef

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayNameRef> for Cow<'a, DisplayNameRef>

source§

fn from(r: &'a DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a DisplayNameRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a DisplayNameRef

source§

fn from(s: &'a str) -> &'a DisplayNameRef

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for Arc<DisplayNameRef>

source§

fn from(r: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for DisplayName

source§

fn from(s: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for Rc<DisplayNameRef>

source§

fn from(r: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for Box<DisplayNameRef>

source§

fn from(r: DisplayName) -> Self

Converts to this type from the input type.
source§

impl Hash for DisplayNameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayNameRef

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl Ord for DisplayNameRef

source§

fn cmp(&self, other: &DisplayNameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &&DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for &DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<DisplayNameRef> for DisplayName

source§

fn as_ref(&self) -> &DisplayNameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for DisplayNameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<DisplayNameRef> for DisplayName

source§

fn borrow(&self) -> &DisplayNameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for DisplayNameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for DisplayNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a DisplayNameRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<DisplayNameRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for DisplayNameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, DisplayNameRef>> for &'a DisplayNameRef

source§

fn from(r: &'a Cow<'b, DisplayNameRef>) -> &'a DisplayNameRef

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayName> for &'a DisplayNameRef

source§

fn from(owned: &'a DisplayName) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a DisplayNameRef> for Cow<'a, DisplayNameRef>

source§

fn from(r: &'a DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a DisplayNameRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a DisplayNameRef

source§

fn from(s: &'a str) -> &'a DisplayNameRef

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for Arc<DisplayNameRef>

source§

fn from(r: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for DisplayName

source§

fn from(s: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<&DisplayNameRef> for Rc<DisplayNameRef>

source§

fn from(r: &DisplayNameRef) -> Self

Converts to this type from the input type.
source§

impl From<DisplayName> for Box<DisplayNameRef>

source§

fn from(r: DisplayName) -> Self

Converts to this type from the input type.
source§

impl Hash for DisplayNameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayNameRef

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

fn into_cow(self) -> Cow<'a, DisplayNameRef>

Make the cow with proper ownership, muu
source§

impl Ord for DisplayNameRef

source§

fn cmp(&self, other: &DisplayNameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &&DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for &DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayName> for DisplayNameRef

source§

fn eq(&self, other: &DisplayName) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayNameRef> for DisplayName

source§

fn eq(&self, other: &DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayNameRef> for DisplayNameRef

source§

fn eq(&self, other: &DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<DisplayNameRef> for DisplayNameRef

source§

fn partial_cmp(&self, other: &DisplayNameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<DisplayNameRef> for DisplayNameRef

source§

fn eq(&self, other: &DisplayNameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<DisplayNameRef> for DisplayNameRef

source§

fn partial_cmp(&self, other: &DisplayNameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for DisplayNameRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for DisplayNameRef

§

type Owned = DisplayName

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, DisplayName> for &'zf DisplayNameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf DisplayName) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, DisplayNameRef> for &'zf DisplayNameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf DisplayNameRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for DisplayNameRef

source§

impl StructuralEq for DisplayNameRef

source§

impl StructuralPartialEq for DisplayNameRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.MsgId.html b/twitch_types/struct.MsgId.html index 70b7fa35..62d0d6fc 100644 --- a/twitch_types/struct.MsgId.html +++ b/twitch_types/struct.MsgId.html @@ -1,4 +1,4 @@ -MsgId in twitch_types - Rust

Struct twitch_types::MsgId

source ·
#[repr(transparent)]
pub struct MsgId(_);
Expand description

A message ID

+MsgId in twitch_types - Rust

Struct twitch_types::MsgId

source ·
#[repr(transparent)]
pub struct MsgId(/* private fields */);
Expand description

A message ID

Implementations§

source§

impl MsgId

source

pub const fn new(raw: String) -> Self

Constructs a new MsgId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newMsgIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<MsgIdRef>

Converts this MsgId into a Box<MsgIdRef>

@@ -9,23 +9,23 @@ Cow<'_, MsgIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for MsgId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for MsgId

source§

fn clone(&self) -> MsgId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MsgId

§

type Target = MsgIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MsgId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for MsgId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<MsgIdRef, Global>> for MsgId

source§

fn from(r: Box<MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for MsgId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, MsgIdRef>> for MsgId

source§

fn from(r: Cow<'a, MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for String

source§

fn from(s: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<String> for MsgId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for MsgId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for MsgId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for MsgId

source§

fn clone(&self) -> MsgId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for MsgId

§

type Target = MsgIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for MsgId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for MsgId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<MsgIdRef, Global>> for MsgId

source§

fn from(r: Box<MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for MsgId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, MsgIdRef>> for MsgId

source§

fn from(r: Cow<'a, MsgIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<MsgId> for Cow<'a, MsgIdRef>

source§

fn from(owned: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for String

source§

fn from(s: MsgId) -> Self

Converts to this type from the input type.
source§

impl From<String> for MsgId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for MsgId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for MsgId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgId

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgId

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgId

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgId> for MsgId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgId> for MsgId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for MsgId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for MsgId

source§

impl StructuralEq for MsgId

source§

impl StructuralPartialEq for MsgId

Auto Trait Implementations§

§

impl RefUnwindSafe for MsgId

§

impl Send for MsgId

§

impl Sync for MsgId

§

impl Unpin for MsgId

§

impl UnwindSafe for MsgId

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.MsgIdRef.html b/twitch_types/struct.MsgIdRef.html index c33d665f..0b3d0330 100644 --- a/twitch_types/struct.MsgIdRef.html +++ b/twitch_types/struct.MsgIdRef.html @@ -1,4 +1,4 @@ -MsgIdRef in twitch_types - Rust

Struct twitch_types::MsgIdRef

source ·
#[repr(transparent)]
pub struct MsgIdRef(_);
Expand description

A message ID

+MsgIdRef in twitch_types - Rust

Struct twitch_types::MsgIdRef

source ·
#[repr(transparent)]
pub struct MsgIdRef(/* private fields */);
Expand description

A message ID

Implementations§

source§

impl MsgIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed MsgIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed MsgIdRef

source

pub fn into_owned(self: Box<MsgIdRef>) -> MsgId

Converts a Box<MsgIdRef> into a MsgId without copying or allocating

@@ -7,18 +7,18 @@ Cow<'_, MsgIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a MsgIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<MsgIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef

source§

fn from(r: &'a Cow<'b, MsgIdRef>) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>

source§

fn from(r: &'a MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a MsgIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a MsgIdRef

source§

fn from(s: &'a str) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Arc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Rc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl Hash for MsgIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgIdRef

source§

fn cmp(&self, other: &MsgIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<MsgIdRef> for MsgId

source§

fn as_ref(&self) -> &MsgIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for MsgIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<MsgIdRef> for MsgId

source§

fn borrow(&self) -> &MsgIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for MsgIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a MsgIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<MsgIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for MsgIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, MsgIdRef>> for &'a MsgIdRef

source§

fn from(r: &'a Cow<'b, MsgIdRef>) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgId> for &'a MsgIdRef

source§

fn from(owned: &'a MsgId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a MsgIdRef> for Cow<'a, MsgIdRef>

source§

fn from(r: &'a MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a MsgIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a MsgIdRef

source§

fn from(s: &'a str) -> &'a MsgIdRef

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Arc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for MsgId

source§

fn from(s: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&MsgIdRef> for Rc<MsgIdRef>

source§

fn from(r: &MsgIdRef) -> Self

Converts to this type from the input type.
source§

impl From<MsgId> for Box<MsgIdRef>

source§

fn from(r: MsgId) -> Self

Converts to this type from the input type.
source§

impl Hash for MsgIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

fn into_cow(self) -> Cow<'a, MsgIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for MsgIdRef

source§

fn cmp(&self, other: &MsgIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&MsgIdRef> for MsgId

source§

fn eq(&self, other: &&MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for &MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgId> for MsgIdRef

source§

fn eq(&self, other: &MsgId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgId

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgIdRef

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgIdRef> for MsgIdRef

source§

fn partial_cmp(&self, other: &MsgIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<MsgIdRef> for MsgIdRef

source§

fn eq(&self, other: &MsgIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<MsgIdRef> for MsgIdRef

source§

fn partial_cmp(&self, other: &MsgIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for MsgIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for MsgIdRef

§

type Owned = MsgId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, MsgId> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, MsgIdRef> for &'zf MsgIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf MsgIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for MsgIdRef

source§

impl StructuralEq for MsgIdRef

source§

impl StructuralPartialEq for MsgIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.Nickname.html b/twitch_types/struct.Nickname.html index baf7ef55..824f9530 100644 --- a/twitch_types/struct.Nickname.html +++ b/twitch_types/struct.Nickname.html @@ -1,4 +1,4 @@ -Nickname in twitch_types - Rust

Struct twitch_types::Nickname

source ·
#[repr(transparent)]
pub struct Nickname(_);
Expand description

A nickname, not capitalized.

+Nickname in twitch_types - Rust

Struct twitch_types::Nickname

source ·
#[repr(transparent)]
pub struct Nickname(/* private fields */);
Expand description

A nickname, not capitalized.

Implementations§

source§

impl Nickname

source

pub const fn new(raw: String) -> Self

Constructs a new Nickname

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newNicknamefrom a static reference

source

pub fn into_boxed_ref(self) -> Box<NicknameRef>

Converts this Nickname into a Box<NicknameRef>

@@ -9,23 +9,23 @@ Cow<'_, NicknameRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for Nickname

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<NicknameRef> for Nickname

source§

fn as_ref(&self) -> &NicknameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for Nickname

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<NicknameRef> for Nickname

source§

fn borrow(&self) -> &NicknameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for Nickname

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for Nickname

source§

fn clone(&self) -> Nickname

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Nickname

§

type Target = NicknameRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Nickname

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a Nickname> for &'a NicknameRef

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a Nickname> for Cow<'a, NicknameRef>

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Nickname

source§

fn from(s: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for Nickname

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<NicknameRef, Global>> for Nickname

source§

fn from(r: Box<NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for Nickname

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, NicknameRef>> for Nickname

source§

fn from(r: Cow<'a, NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for Box<NicknameRef>

source§

fn from(r: Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Nickname> for Cow<'a, NicknameRef>

source§

fn from(owned: Nickname) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for String

source§

fn from(s: Nickname) -> Self

Converts to this type from the input type.
source§

impl From<String> for Nickname

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for Nickname

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Nickname

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<NicknameRef> for Nickname

source§

fn as_ref(&self) -> &NicknameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for Nickname

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<NicknameRef> for Nickname

source§

fn borrow(&self) -> &NicknameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for Nickname

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for Nickname

source§

fn clone(&self) -> Nickname

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Nickname

§

type Target = NicknameRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Nickname

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a Nickname> for &'a NicknameRef

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a Nickname> for Cow<'a, NicknameRef>

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Nickname

source§

fn from(s: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for Nickname

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<NicknameRef, Global>> for Nickname

source§

fn from(r: Box<NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for Nickname

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, NicknameRef>> for Nickname

source§

fn from(r: Cow<'a, NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for Box<NicknameRef>

source§

fn from(r: Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Nickname> for Cow<'a, NicknameRef>

source§

fn from(owned: Nickname) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for String

source§

fn from(s: Nickname) -> Self

Converts to this type from the input type.
source§

impl From<String> for Nickname

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for Nickname

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Nickname

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl Ord for Nickname

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&NicknameRef> for Nickname

source§

fn eq(&self, other: &&NicknameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for &NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for Nickname

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl Ord for Nickname

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&NicknameRef> for Nickname

source§

fn eq(&self, other: &&NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for &NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for Nickname

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<NicknameRef> for Nickname

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Nickname> for Nickname

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Nickname> for Nickname

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for Nickname

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, Nickname> for &'zf NicknameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Nickname) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for Nickname

source§

impl StructuralEq for Nickname

source§

impl StructuralPartialEq for Nickname

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.NicknameRef.html b/twitch_types/struct.NicknameRef.html index 37d975b9..2a6aa6cc 100644 --- a/twitch_types/struct.NicknameRef.html +++ b/twitch_types/struct.NicknameRef.html @@ -1,4 +1,4 @@ -NicknameRef in twitch_types - Rust
#[repr(transparent)]
pub struct NicknameRef(_);
Expand description

A nickname, not capitalized.

+NicknameRef in twitch_types - Rust
#[repr(transparent)]
pub struct NicknameRef(/* private fields */);
Expand description

A nickname, not capitalized.

Implementations§

source§

impl NicknameRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed NicknameRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed NicknameRef

source

pub fn into_owned(self: Box<NicknameRef>) -> Nickname

Converts a Box<NicknameRef> into a Nickname without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, NicknameRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a NicknameRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<NicknameRef> for Nickname

source§

fn as_ref(&self) -> &NicknameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for NicknameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<NicknameRef> for Nickname

source§

fn borrow(&self) -> &NicknameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for NicknameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a NicknameRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<NicknameRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, NicknameRef>> for &'a NicknameRef

source§

fn from(r: &'a Cow<'b, NicknameRef>) -> &'a NicknameRef

Converts to this type from the input type.
source§

impl<'a> From<&'a Nickname> for &'a NicknameRef

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a NicknameRef> for Cow<'a, NicknameRef>

source§

fn from(r: &'a NicknameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a NicknameRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a NicknameRef

source§

fn from(s: &'a str) -> &'a NicknameRef

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Arc<NicknameRef>

source§

fn from(r: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Nickname

source§

fn from(s: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Rc<NicknameRef>

source§

fn from(r: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for Box<NicknameRef>

source§

fn from(r: Nickname) -> Self

Converts to this type from the input type.
source§

impl Hash for NicknameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a NicknameRef

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl Ord for NicknameRef

source§

fn cmp(&self, other: &NicknameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&NicknameRef> for Nickname

source§

fn eq(&self, other: &&NicknameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for &NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +needs to construct itself. Read more
source§

impl AsRef<NicknameRef> for Nickname

source§

fn as_ref(&self) -> &NicknameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for NicknameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<NicknameRef> for Nickname

source§

fn borrow(&self) -> &NicknameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for NicknameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a NicknameRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<NicknameRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, NicknameRef>> for &'a NicknameRef

source§

fn from(r: &'a Cow<'b, NicknameRef>) -> &'a NicknameRef

Converts to this type from the input type.
source§

impl<'a> From<&'a Nickname> for &'a NicknameRef

source§

fn from(owned: &'a Nickname) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a NicknameRef> for Cow<'a, NicknameRef>

source§

fn from(r: &'a NicknameRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a NicknameRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a NicknameRef

source§

fn from(s: &'a str) -> &'a NicknameRef

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Arc<NicknameRef>

source§

fn from(r: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Nickname

source§

fn from(s: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&NicknameRef> for Rc<NicknameRef>

source§

fn from(r: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<Nickname> for Box<NicknameRef>

source§

fn from(r: Nickname) -> Self

Converts to this type from the input type.
source§

impl Hash for NicknameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for &'a NicknameRef

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl Ord for NicknameRef

source§

fn cmp(&self, other: &NicknameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&NicknameRef> for Nickname

source§

fn eq(&self, other: &&NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for &NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<NicknameRef> for Nickname

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<NicknameRef> for NicknameRef

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<NicknameRef> for NicknameRef

source§

fn partial_cmp(&self, other: &NicknameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for NicknameRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for NicknameRef

§

type Owned = Nickname

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, Nickname> for &'zf NicknameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Nickname) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, NicknameRef> for &'zf NicknameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf NicknameRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for NicknameRef

source§

impl StructuralEq for NicknameRef

source§

impl StructuralPartialEq for NicknameRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +by ==.

1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.

source§

impl PartialEq<NicknameRef> for NicknameRef

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<NicknameRef> for NicknameRef

source§

fn partial_cmp(&self, other: &NicknameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for NicknameRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for NicknameRef

§

type Owned = Nickname

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, Nickname> for &'zf NicknameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Nickname) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, NicknameRef> for &'zf NicknameRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf NicknameRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for NicknameRef

source§

impl StructuralEq for NicknameRef

source§

impl StructuralPartialEq for NicknameRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/struct.UserId.html b/twitch_types/struct.UserId.html index 9bfe6863..ebfe1743 100644 --- a/twitch_types/struct.UserId.html +++ b/twitch_types/struct.UserId.html @@ -1,4 +1,4 @@ -UserId in twitch_types - Rust

Struct twitch_types::UserId

source ·
#[repr(transparent)]
pub struct UserId(_);
Expand description

A user ID.

+UserId in twitch_types - Rust

Struct twitch_types::UserId

source ·
#[repr(transparent)]
pub struct UserId(/* private fields */);
Expand description

A user ID.

Implementations§

source§

impl UserId

source

pub const fn new(raw: String) -> Self

Constructs a new UserId

source

pub fn from_static(raw: &'static str) -> Self

Constructs a newUserIdfrom a static reference

source

pub fn into_boxed_ref(self) -> Box<UserIdRef>

Converts this UserId into a Box<UserIdRef>

@@ -9,23 +9,23 @@ Cow<'_, UserIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for UserId

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<UserIdRef> for UserId

source§

fn as_ref(&self) -> &UserIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for UserId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<UserIdRef> for UserId

source§

fn borrow(&self) -> &UserIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for UserId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for UserId

source§

fn clone(&self) -> UserId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UserId

§

type Target = UserIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for UserId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UserId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a UserId> for &'a UserIdRef

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserId> for Cow<'a, UserIdRef>

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for UserId

source§

fn from(s: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for UserId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<UserIdRef, Global>> for UserId

source§

fn from(r: Box<UserIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for UserId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, UserIdRef>> for UserId

source§

fn from(r: Cow<'a, UserIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for UserId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for Box<UserIdRef>

source§

fn from(r: UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<UserId> for Cow<'a, UserIdRef>

source§

fn from(owned: UserId) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for String

source§

fn from(s: UserId) -> Self

Converts to this type from the input type.
source§

impl FromStr for UserId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for UserId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<UserIdRef> for UserId

source§

fn as_ref(&self) -> &UserIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for UserId

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<UserIdRef> for UserId

source§

fn borrow(&self) -> &UserIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for UserId

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for UserId

source§

fn clone(&self) -> UserId

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for UserId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for UserId

§

type Target = UserIdRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for UserId

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UserId

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a UserId> for &'a UserIdRef

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserId> for Cow<'a, UserIdRef>

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for UserId

source§

fn from(s: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for UserId

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<UserIdRef, Global>> for UserId

source§

fn from(r: Box<UserIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for UserId

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, UserIdRef>> for UserId

source§

fn from(r: Cow<'a, UserIdRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for UserId

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for Box<UserIdRef>

source§

fn from(r: UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<UserId> for Cow<'a, UserIdRef>

source§

fn from(owned: UserId) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for String

source§

fn from(s: UserId) -> Self

Converts to this type from the input type.
source§

impl FromStr for UserId

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for UserId

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for UserId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere - Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&UserIdRef> for UserId

source§

fn eq(&self, other: &&UserIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for &UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserId

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserId

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserId> for UserId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more

source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for UserId

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&UserIdRef> for UserId

source§

fn eq(&self, other: &&UserIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for &UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserId

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserId

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserId> for UserId

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for UserId

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl<'zf> ZeroFrom<'zf, UserId> for &'zf UserIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf UserId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for UserId

source§

impl StructuralEq for UserId

source§

impl StructuralPartialEq for UserId

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/struct.UserIdRef.html b/twitch_types/struct.UserIdRef.html index 72ff913e..c64c6a2e 100644 --- a/twitch_types/struct.UserIdRef.html +++ b/twitch_types/struct.UserIdRef.html @@ -1,4 +1,4 @@ -UserIdRef in twitch_types - Rust

Struct twitch_types::UserIdRef

source ·
#[repr(transparent)]
pub struct UserIdRef(_);
Expand description

A user ID.

+UserIdRef in twitch_types - Rust

Struct twitch_types::UserIdRef

source ·
#[repr(transparent)]
pub struct UserIdRef(/* private fields */);
Expand description

A user ID.

Implementations§

source§

impl UserIdRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed UserIdRef

source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed UserIdRef

source

pub fn into_owned(self: Box<UserIdRef>) -> UserId

Converts a Box<UserIdRef> into a UserId without copying or allocating

@@ -7,19 +7,19 @@ Cow<'_, UserIdRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for &'a UserIdRef

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<UserIdRef> for UserId

source§

fn as_ref(&self) -> &UserIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for UserIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<UserIdRef> for UserId

source§

fn borrow(&self) -> &UserIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for UserIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for UserIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a UserIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<UserIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UserIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, UserIdRef>> for &'a UserIdRef

source§

fn from(r: &'a Cow<'b, UserIdRef>) -> &'a UserIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a UserIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserId> for &'a UserIdRef

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserIdRef> for Cow<'a, UserIdRef>

source§

fn from(r: &'a UserIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a UserIdRef

source§

fn from(s: &'a str) -> &'a UserIdRef

Converts to this type from the input type.
source§

impl From<&UserIdRef> for Arc<UserIdRef>

source§

fn from(r: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for Rc<UserIdRef>

source§

fn from(r: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for UserId

source§

fn from(s: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for Box<UserIdRef>

source§

fn from(r: UserId) -> Self

Converts to this type from the input type.
source§

impl Hash for UserIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserIdRef

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for UserIdRef

source§

fn cmp(&self, other: &UserIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&UserIdRef> for UserId

source§

fn eq(&self, other: &&UserIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for &UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserId

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserIdRef

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserIdRef> for UserIdRef

source§

fn partial_cmp(&self, other: &UserIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for UserIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for UserIdRef

§

type Owned = UserId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, UserId> for &'zf UserIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf UserId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, UserIdRef> for &'zf UserIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf UserIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for UserIdRef

source§

impl StructuralEq for UserIdRef

source§

impl StructuralPartialEq for UserIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +needs to construct itself. Read more

source§

impl AsRef<UserIdRef> for UserId

source§

fn as_ref(&self) -> &UserIdRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for UserIdRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<UserIdRef> for UserId

source§

fn borrow(&self) -> &UserIdRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for UserIdRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for UserIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a UserIdRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<UserIdRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for UserIdRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, UserIdRef>> for &'a UserIdRef

source§

fn from(r: &'a Cow<'b, UserIdRef>) -> &'a UserIdRef

Converts to this type from the input type.
source§

impl<'a> From<&'a String> for &'a UserIdRef

source§

fn from(string: &'a String) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserId> for &'a UserIdRef

source§

fn from(owned: &'a UserId) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a UserIdRef> for Cow<'a, UserIdRef>

source§

fn from(r: &'a UserIdRef) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a str> for &'a UserIdRef

source§

fn from(s: &'a str) -> &'a UserIdRef

Converts to this type from the input type.
source§

impl From<&UserIdRef> for Arc<UserIdRef>

source§

fn from(r: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for Rc<UserIdRef>

source§

fn from(r: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<&UserIdRef> for UserId

source§

fn from(s: &UserIdRef) -> Self

Converts to this type from the input type.
source§

impl From<UserId> for Box<UserIdRef>

source§

fn from(r: UserId) -> Self

Converts to this type from the input type.
source§

impl Hash for UserIdRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserIdRef

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

fn into_cow(self) -> Cow<'a, UserIdRef>

Make the cow with proper ownership, muu
source§

impl Ord for UserIdRef

source§

fn cmp(&self, other: &UserIdRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<&UserIdRef> for UserId

source§

fn eq(&self, other: &&UserIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for &UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserId> for UserIdRef

source§

fn eq(&self, other: &UserId) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserId

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<UserIdRef> for UserIdRef

source§

fn eq(&self, other: &UserIdRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<UserIdRef> for UserIdRef

source§

fn partial_cmp(&self, other: &UserIdRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for UserIdRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for UserIdRef

§

type Owned = UserId

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'zf> ZeroFrom<'zf, UserId> for &'zf UserIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf UserId) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, UserIdRef> for &'zf UserIdRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf UserIdRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for UserIdRef

source§

impl StructuralEq for UserIdRef

source§

impl StructuralPartialEq for UserIdRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ToString for Twhere diff --git a/twitch_types/time/enum.TimestampParseError.html b/twitch_types/time/enum.TimestampParseError.html index be5fd35b..76ccb4b4 100644 --- a/twitch_types/time/enum.TimestampParseError.html +++ b/twitch_types/time/enum.TimestampParseError.html @@ -1,4 +1,4 @@ -TimestampParseError in twitch_types::time - Rust
#[non_exhaustive]
pub enum TimestampParseError { +TimestampParseError in twitch_types::time - Rust
#[non_exhaustive]
pub enum TimestampParseError { TimeError(Parse), TimeFormatError(Format), Other(&'static str), @@ -13,7 +13,7 @@
§

InvalidFormat

Fields

§location: &'static Location<'static>

location of error

§s: Option<String>

Thing that failed

Timestamp has an invalid format.

-

Trait Implementations§

source§

impl Debug for TimestampParseError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimestampParseError

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TimestampParseError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Format> for TimestampParseError

Available on crate feature time only.
source§

fn from(source: Format) -> Self

Converts to this type from the input type.
source§

impl From<Infallible> for TimestampParseError

source§

fn from(value: Infallible) -> Self

Converts to this type from the input type.
source§

impl From<Parse> for TimestampParseError

Available on crate feature time only.
source§

fn from(source: Parse) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Debug for TimestampParseError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for TimestampParseError

source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for TimestampParseError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<Format> for TimestampParseError

Available on crate feature time only.
source§

fn from(source: Format) -> Self

Converts to this type from the input type.
source§

impl From<Infallible> for TimestampParseError

source§

fn from(value: Infallible) -> Self

Converts to this type from the input type.
source§

impl From<Parse> for TimestampParseError

Available on crate feature time only.
source§

fn from(source: Parse) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/time/index.html b/twitch_types/time/index.html index 26e45005..507f9776 100644 --- a/twitch_types/time/index.html +++ b/twitch_types/time/index.html @@ -1,2 +1,2 @@ -twitch_types::time - Rust

Module twitch_types::time

source ·
Available on crate feature timestamp only.
Expand description

types for time

+twitch_types::time - Rust

Module twitch_types::time

source ·
Available on crate feature timestamp only.
Expand description

types for time

Structs

Enums

\ No newline at end of file diff --git a/twitch_types/time/struct.Timestamp.html b/twitch_types/time/struct.Timestamp.html index cc1b69c5..c0bc1f93 100644 --- a/twitch_types/time/struct.Timestamp.html +++ b/twitch_types/time/struct.Timestamp.html @@ -1,4 +1,4 @@ -Timestamp in twitch_types::time - Rust
#[repr(transparent)]
pub struct Timestamp(_);
Available on crate feature timestamp only.
Expand description

RFC3339 timestamp

+Timestamp in twitch_types::time - Rust
#[repr(transparent)]
pub struct Timestamp(/* private fields */);
Available on crate feature timestamp only.
Expand description

RFC3339 timestamp

Implementations§

source§

impl Timestamp

source

pub fn new(raw: String) -> Result<Self, TimestampParseError>

Constructs a new Timestamp if it conforms to Timestamp

source

pub const unsafe fn new_unchecked(raw: String) -> Self

Constructs a new Timestamp without validation

Safety
@@ -88,27 +88,27 @@
Panics

This method assumes the timestamp is a valid rfc3339 timestamp, and panics if not.

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for Timestamp

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type -needs to construct itself. Read more
source§

impl AsRef<TimestampRef> for Timestamp

source§

fn as_ref(&self) -> &TimestampRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for Timestamp

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TimestampRef> for Timestamp

source§

fn borrow(&self) -> &TimestampRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for Timestamp

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for Timestamp

source§

fn clone(&self) -> Timestamp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Timestamp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Timestamp

§

type Target = TimestampRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Timestamp

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Timestamp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a Timestamp> for &'a TimestampRef

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a Timestamp> for Cow<'a, TimestampRef>

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Timestamp

source§

fn from(s: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<Box<TimestampRef, Global>> for Timestamp

source§

fn from(r: Box<TimestampRef>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TimestampRef>> for Timestamp

source§

fn from(r: Cow<'a, TimestampRef>) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for Box<TimestampRef>

source§

fn from(r: Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Timestamp> for Cow<'a, TimestampRef>

source§

fn from(owned: Timestamp) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for String

source§

fn from(s: Timestamp) -> Self

Converts to this type from the input type.
source§

impl FromStr for Timestamp

§

type Err = TimestampParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Timestamp

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where +needs to construct itself. Read more

source§

impl AsRef<TimestampRef> for Timestamp

source§

fn as_ref(&self) -> &TimestampRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for Timestamp

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TimestampRef> for Timestamp

source§

fn borrow(&self) -> &TimestampRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for Timestamp

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for Timestamp

source§

fn clone(&self) -> Timestamp

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Timestamp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Timestamp

§

type Target = TimestampRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Timestamp

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Timestamp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> From<&'a Timestamp> for &'a TimestampRef

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a Timestamp> for Cow<'a, TimestampRef>

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Timestamp

source§

fn from(s: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<Box<TimestampRef, Global>> for Timestamp

source§

fn from(r: Box<TimestampRef>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, TimestampRef>> for Timestamp

source§

fn from(r: Cow<'a, TimestampRef>) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for Box<TimestampRef>

source§

fn from(r: Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Timestamp> for Cow<'a, TimestampRef>

source§

fn from(owned: Timestamp) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for String

source§

fn from(s: Timestamp) -> Self

Converts to this type from the input type.
source§

impl FromStr for Timestamp

§

type Err = TimestampParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Timestamp

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, - Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl PartialEq<&TimestampRef> for Timestamp

source§

fn eq(&self, other: &&TimestampRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<OffsetDateTime> for Timestamp

Available on crate feature time only.
source§

fn eq(&self, other: &OffsetDateTime) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for &TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for Timestamp

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TimestampRef> for Timestamp

source§

fn eq(&self, other: &TimestampRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<OffsetDateTime> for Timestamp

Available on crate feature time only.
source§

fn partial_cmp(&self, other: &OffsetDateTime) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl PartialOrd<Timestamp> for Timestamp

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl PartialOrd<Timestamp> for TimestampRef

source§

fn partial_cmp(&self, other: &Timestamp) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl Serialize for Timestamp

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&str> for Timestamp

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<OffsetDateTime> for Timestamp

Available on crate feature time only.
§

type Error = Format

The type returned in the event of a conversion error.
source§

fn try_from(value: OffsetDateTime) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<String> for Timestamp

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: String) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'zf> ZeroFrom<'zf, Timestamp> for &'zf TimestampRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Timestamp) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for Timestamp

source§

impl StructuralEq for Timestamp

source§

impl StructuralPartialEq for Timestamp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl PartialEq<&TimestampRef> for Timestamp

source§

fn eq(&self, other: &&TimestampRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<OffsetDateTime> for Timestamp

Available on crate feature time only.
source§

fn eq(&self, other: &OffsetDateTime) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for &TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for Timestamp

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TimestampRef> for Timestamp

source§

fn eq(&self, other: &TimestampRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<OffsetDateTime> for Timestamp

Available on crate feature time only.
source§

fn partial_cmp(&self, other: &OffsetDateTime) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl PartialOrd<Timestamp> for Timestamp

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl PartialOrd<Timestamp> for TimestampRef

source§

fn partial_cmp(&self, other: &Timestamp) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for Timestamp

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&str> for Timestamp

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<OffsetDateTime> for Timestamp

Available on crate feature time only.
§

type Error = Format

The type returned in the event of a conversion error.
source§

fn try_from(value: OffsetDateTime) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<String> for Timestamp

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: String) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl<'zf> ZeroFrom<'zf, Timestamp> for &'zf TimestampRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Timestamp) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for Timestamp

source§

impl StructuralEq for Timestamp

source§

impl StructuralPartialEq for Timestamp

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/twitch_types/time/struct.TimestampRef.html b/twitch_types/time/struct.TimestampRef.html index 4ed3e03e..ed21ea71 100644 --- a/twitch_types/time/struct.TimestampRef.html +++ b/twitch_types/time/struct.TimestampRef.html @@ -1,4 +1,4 @@ -TimestampRef in twitch_types::time - Rust
#[repr(transparent)]
pub struct TimestampRef(_);
Available on crate feature timestamp only.
Expand description

RFC3339 timestamp

+TimestampRef in twitch_types::time - Rust
#[repr(transparent)]
pub struct TimestampRef(/* private fields */);
Available on crate feature timestamp only.
Expand description

RFC3339 timestamp

Implementations§

source§

impl TimestampRef

source

pub fn from_str(raw: &str) -> Result<&Self, TimestampParseError>

Transparently reinterprets the string slice as a strongly-typed TimestampRef if it conforms to Timestamp

source

pub const unsafe fn from_str_unchecked(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed TimestampRef without validating

source

pub fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed TimestampRef if it conforms to Timestamp

@@ -80,24 +80,24 @@
Panics
source

pub fn to_fixed_offset(&self) -> OffsetDateTime

Available on crate feature time only.

Construct into a OffsetDateTime time.

Panics

This method assumes the timestamp is a valid rfc3339 timestamp, and panics if not.

-

Trait Implementations§

source§

impl AsRef<TimestampRef> for Timestamp

source§

fn as_ref(&self) -> &TimestampRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TimestampRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TimestampRef> for Timestamp

source§

fn borrow(&self) -> &TimestampRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TimestampRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TimestampRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TimestampRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TimestampRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TimestampRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TimestampRef>> for &'a TimestampRef

source§

fn from(r: &'a Cow<'b, TimestampRef>) -> &'a TimestampRef

Converts to this type from the input type.
source§

impl<'a> From<&'a Timestamp> for &'a TimestampRef

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TimestampRef> for Cow<'a, TimestampRef>

source§

fn from(r: &'a TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Arc<TimestampRef>

source§

fn from(r: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Rc<TimestampRef>

source§

fn from(r: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Timestamp

source§

fn from(s: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for Box<TimestampRef>

source§

fn from(r: Timestamp) -> Self

Converts to this type from the input type.
source§

impl Hash for TimestampRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a TimestampRef

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl PartialEq<&TimestampRef> for Timestamp

source§

fn eq(&self, other: &&TimestampRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<OffsetDateTime> for TimestampRef

Available on crate feature time only.
source§

fn eq(&self, other: &OffsetDateTime) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for &TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +

Trait Implementations§

source§

impl AsRef<TimestampRef> for Timestamp

source§

fn as_ref(&self) -> &TimestampRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for TimestampRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<TimestampRef> for Timestamp

source§

fn borrow(&self) -> &TimestampRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for TimestampRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for TimestampRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for &'a TimestampRef

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de> Deserialize<'de> for Box<TimestampRef>

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for TimestampRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a, 'b: 'a> From<&'a Cow<'b, TimestampRef>> for &'a TimestampRef

source§

fn from(r: &'a Cow<'b, TimestampRef>) -> &'a TimestampRef

Converts to this type from the input type.
source§

impl<'a> From<&'a Timestamp> for &'a TimestampRef

source§

fn from(owned: &'a Timestamp) -> Self

Converts to this type from the input type.
source§

impl<'a> From<&'a TimestampRef> for Cow<'a, TimestampRef>

source§

fn from(r: &'a TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Arc<TimestampRef>

source§

fn from(r: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Rc<TimestampRef>

source§

fn from(r: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<&TimestampRef> for Timestamp

source§

fn from(s: &TimestampRef) -> Self

Converts to this type from the input type.
source§

impl From<Timestamp> for Box<TimestampRef>

source§

fn from(r: Timestamp) -> Self

Converts to this type from the input type.
source§

impl Hash for TimestampRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a TimestampRef

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

source§

fn into_cow(self) -> Cow<'a, TimestampRef>

Make the cow with proper ownership, muu
source§

impl PartialEq<&TimestampRef> for Timestamp

source§

fn eq(&self, other: &&TimestampRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<OffsetDateTime> for TimestampRef

Available on crate feature time only.
source§

fn eq(&self, other: &OffsetDateTime) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for &TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Timestamp> for TimestampRef

source§

fn eq(&self, other: &Timestamp) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TimestampRef> for Timestamp

source§

fn eq(&self, other: &TimestampRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TimestampRef> for TimestampRef

source§

fn eq(&self, other: &TimestampRef) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<OffsetDateTime> for TimestampRef

Available on crate feature time only.
source§

fn partial_cmp(&self, other: &OffsetDateTime) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl PartialOrd<Timestamp> for TimestampRef

source§

fn partial_cmp(&self, other: &Timestamp) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
source§

impl PartialOrd<TimestampRef> for TimestampRef

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<TimestampRef> for TimestampRef

source§

fn eq(&self, other: &TimestampRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<OffsetDateTime> for TimestampRef

Available on crate feature time only.
source§

fn partial_cmp(&self, other: &OffsetDateTime) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl PartialOrd<Timestamp> for TimestampRef

source§

fn partial_cmp(&self, other: &Timestamp) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl PartialOrd<TimestampRef> for TimestampRef

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for TimestampRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for TimestampRef

§

type Owned = Timestamp

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<'a> TryFrom<&'a String> for &'a TimestampRef

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(string: &'a String) -> Result<Self, TimestampParseError>

Performs the conversion.
source§

impl<'a> TryFrom<&'a str> for &'a TimestampRef

§

type Error = TimestampParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &'a str) -> Result<&'a TimestampRef, Self::Error>

Performs the conversion.
source§

impl<'zf> ZeroFrom<'zf, Timestamp> for &'zf TimestampRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf Timestamp) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl<'zf> ZeroFrom<'zf, TimestampRef> for &'zf TimestampRef

Available on crate feature zerofrom only.
source§

fn zero_from(other: &'zf TimestampRef) -> Self

Clone the other C into a struct that may retain references into C.
source§

impl Eq for TimestampRef

source§

impl StructuralEq for TimestampRef

source§

impl StructuralPartialEq for TimestampRef

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere diff --git a/twitch_types/trait.IntoCow.html b/twitch_types/trait.IntoCow.html index 2fdffc1b..f9a00b8a 100644 --- a/twitch_types/trait.IntoCow.html +++ b/twitch_types/trait.IntoCow.html @@ -1,4 +1,4 @@ -IntoCow in twitch_types - Rust

Trait twitch_types::IntoCow

source ·
pub trait IntoCow<'a, Ref>where
+IntoCow in twitch_types - Rust

Trait twitch_types::IntoCow

source ·
pub trait IntoCow<'a, Ref>where
     Ref: ToOwned + ?Sized,{
     // Required method
     fn into_cow(self) -> Cow<'a, Ref>
@@ -6,14 +6,14 @@
 }
Expand description

Convert a type into a Cow

Required Methods§

source

fn into_cow(self) -> Cow<'a, Ref>where &'a Self: 'a,

Make the cow with proper ownership, muu

-

Implementations on Foreign Types§

source§

impl<'a, R> IntoCow<'a, R> for &'a strwhere - &'a str: Into<&'a R>, - R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R> IntoCow<'a, R> for Stringwhere +

Implementations on Foreign Types§

source§

impl<'a, R> IntoCow<'a, R> for Stringwhere String: Into<R::Owned>, - R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R, S> IntoCow<'a, R> for Cow<'a, S>where + R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R> IntoCow<'a, R> for &'a Stringwhere + &'a String: Into<&'a R>, + R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R, S> IntoCow<'a, R> for Cow<'a, S>where R: ToOwned + ?Sized + 'a, S: ToOwned + ?Sized + 'a, S::Owned: Into<R::Owned>, - &'a R: From<&'a S>,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R> IntoCow<'a, R> for &'a Stringwhere - &'a String: Into<&'a R>, - R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

Implementors§

source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColorRef

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubIdRef

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermIdRef

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayNameRef

source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

impl<'a> IntoCow<'a, NicknameRef> for &'a NicknameRef

source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserIdRef

source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

Available on crate feature timestamp only.
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a TimestampRef

Available on crate feature timestamp only.
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

Available on crate feature timestamp only.
\ No newline at end of file + &'a R: From<&'a S>,

source§

fn into_cow(self) -> Cow<'a, R>

source§

impl<'a, R> IntoCow<'a, R> for &'a strwhere + &'a str: Into<&'a R>, + R: ToOwned + ?Sized + 'a,

source§

fn into_cow(self) -> Cow<'a, R>

Implementors§

source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColor

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, HexColorRef> for &'a HexColorRef

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, HexColorRef> for HexColor

Available on crate feature color only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for &'a BadgeSetIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, BadgeSetIdRef> for BadgeSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for &'a ChatBadgeIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, ChatBadgeIdRef> for ChatBadgeId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for &'a EmoteIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteIdRef> for EmoteId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for &'a EmoteSetIdRef

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EmoteSetIdRef> for EmoteSetId

Available on crate feature emote only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubId

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for &'a EventSubIdRef

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, EventSubIdRef> for EventSubId

Available on crate feature eventsub only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalId

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for &'a CreatorGoalIdRef

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, CreatorGoalIdRef> for CreatorGoalId

Available on crate feature goal only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermId

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for &'a BlockedTermIdRef

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, BlockedTermIdRef> for BlockedTermId

Available on crate feature moderation only.
source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgId

source§

impl<'a> IntoCow<'a, MsgIdRef> for &'a MsgIdRef

source§

impl<'a> IntoCow<'a, MsgIdRef> for MsgId

source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for &'a PollChoiceIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollChoiceIdRef> for PollChoiceId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for &'a PollIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PollIdRef> for PollId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for &'a PredictionIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionIdRef> for PredictionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for &'a PredictionOutcomeIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, PredictionOutcomeIdRef> for PredictionOutcomeId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for &'a RedemptionIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RedemptionIdRef> for RedemptionId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for &'a RewardIdRef

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, RewardIdRef> for RewardId

Available on crate feature points only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for &'a CategoryIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CategoryIdRef> for CategoryId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for &'a CharityCampaignIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityCampaignIdRef> for CharityCampaignId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for &'a CharityDonationIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, CharityDonationIdRef> for CharityDonationId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for &'a ClipIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, ClipIdRef> for ClipId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for &'a HypeTrainIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, HypeTrainIdRef> for HypeTrainId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for &'a IgdbIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, IgdbIdRef> for IgdbId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for &'a StreamIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamIdRef> for StreamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for &'a StreamSegmentIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, StreamSegmentIdRef> for StreamSegmentId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for &'a TagIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TagIdRef> for TagId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for &'a TeamIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, TeamIdRef> for TeamId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for &'a VideoIdRef

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, VideoIdRef> for VideoId

Available on crate feature stream only.
source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayName

source§

impl<'a> IntoCow<'a, DisplayNameRef> for &'a DisplayNameRef

source§

impl<'a> IntoCow<'a, DisplayNameRef> for DisplayName

source§

impl<'a> IntoCow<'a, NicknameRef> for &'a Nickname

source§

impl<'a> IntoCow<'a, NicknameRef> for &'a NicknameRef

source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserId

source§

impl<'a> IntoCow<'a, UserIdRef> for &'a UserIdRef

source§

impl<'a> IntoCow<'a, UserIdRef> for UserId

source§

impl<'a> IntoCow<'a, TimestampRef> for &'a Timestamp

Available on crate feature timestamp only.
source§

impl<'a> IntoCow<'a, TimestampRef> for &'a TimestampRef

Available on crate feature timestamp only.
source§

impl<'a> IntoCow<'a, TimestampRef> for Timestamp

Available on crate feature timestamp only.
\ No newline at end of file diff --git a/twitch_types/type.UserName.html b/twitch_types/type.UserName.html index f0e9398f..c858b16e 100644 --- a/twitch_types/type.UserName.html +++ b/twitch_types/type.UserName.html @@ -1,2 +1,25 @@ -UserName in twitch_types - Rust

Type Alias twitch_types::UserName

source ·
pub type UserName = Nickname;
Expand description

A username, also specified as login. Should not be capitalized.

-
\ No newline at end of file +UserName in twitch_types - Rust

Type Alias twitch_types::UserName

source ·
pub type UserName = Nickname;
Expand description

A username, also specified as login. Should not be capitalized.

+

Aliased Type§

struct UserName(/* private fields */);

Implementations§

source§

impl Nickname

source

pub const fn new(raw: String) -> Self

Constructs a new Nickname

+
source

pub fn from_static(raw: &'static str) -> Self

Constructs a newNicknamefrom a static reference

+
source

pub fn into_boxed_ref(self) -> Box<NicknameRef>

Converts this Nickname into a Box<NicknameRef>

+

This will drop any excess capacity.

+
source

pub fn take(self) -> String

Unwraps the underlying String value

+

Methods from Deref<Target = NicknameRef>§

source

pub fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source

pub fn as_cow(&self) -> Cow<'_, NicknameRef>

Trait Implementations§

source§

impl<'a> Arbitrary<'a> for Nickname

Available on crate feature arbitrary only.
source§

fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the given unstructured data. Read more
source§

fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>

Generate an arbitrary value of Self from the entirety of the given +unstructured data. Read more
source§

fn size_hint(depth: usize) -> (usize, Option<usize>)

Get a size hint for how many bytes out of an Unstructured this type +needs to construct itself. Read more
source§

impl AsRef<NicknameRef> for Nickname

source§

fn as_ref(&self) -> &NicknameRef

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<str> for Nickname

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<NicknameRef> for Nickname

source§

fn borrow(&self) -> &NicknameRef

Immutably borrows from an owned value. Read more
source§

impl Borrow<str> for Nickname

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Clone for Nickname

source§

fn clone(&self) -> Nickname

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Deref for Nickname

§

type Target = NicknameRef

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'de> Deserialize<'de> for Nickname

Available on crate feature serde only.
source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

Deserialize this value from the given Serde deserializer. Read more
source§

impl Display for Nickname

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<&NicknameRef> for Nickname

source§

fn from(s: &NicknameRef) -> Self

Converts to this type from the input type.
source§

impl From<&str> for Nickname

source§

fn from(s: &str) -> Self

Converts to this type from the input type.
source§

impl From<Box<NicknameRef, Global>> for Nickname

source§

fn from(r: Box<NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<Box<str, Global>> for Nickname

source§

fn from(s: Box<str>) -> Self

Converts to this type from the input type.
source§

impl<'a> From<Cow<'a, NicknameRef>> for Nickname

source§

fn from(r: Cow<'a, NicknameRef>) -> Self

Converts to this type from the input type.
source§

impl From<String> for Nickname

source§

fn from(s: String) -> Self

Converts to this type from the input type.
source§

impl FromStr for Nickname

§

type Err = Infallible

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for Nickname

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where + H: Hasher, + Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<'a> IntoCow<'a, NicknameRef> for Nickname

source§

fn into_cow(self) -> Cow<'a, NicknameRef>

Make the cow with proper ownership, muu
source§

impl Ord for Nickname

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere + Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<&NicknameRef> for Nickname

source§

fn eq(&self, other: &&NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<Nickname> for Nickname

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<NicknameRef> for Nickname

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<Nickname> for Nickname

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for Nickname

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for Nickname

source§

impl StructuralEq for Nickname

source§

impl StructuralPartialEq for Nickname

\ No newline at end of file diff --git a/twitch_types/type.UserNameRef.html b/twitch_types/type.UserNameRef.html index 9ba4f556..b0b3197c 100644 --- a/twitch_types/type.UserNameRef.html +++ b/twitch_types/type.UserNameRef.html @@ -1,2 +1,14 @@ -UserNameRef in twitch_types - Rust

Type Alias twitch_types::UserNameRef

source ·
pub type UserNameRef = NicknameRef;
Expand description

A reference to a borrowed UserName, also specified as login. Should not be capitalized.

-
\ No newline at end of file +UserNameRef in twitch_types - Rust

Type Alias twitch_types::UserNameRef

source ·
pub type UserNameRef = NicknameRef;
Expand description

A reference to a borrowed UserName, also specified as login. Should not be capitalized.

+

Aliased Type§

struct UserNameRef(/* private fields */);

Implementations§

source§

impl NicknameRef

source

pub const fn from_str(raw: &str) -> &Self

Transparently reinterprets the string slice as a strongly-typed NicknameRef

+
source

pub const fn from_static(raw: &'static str) -> &'static Self

Transparently reinterprets the static string slice as a strongly-typed NicknameRef

+
source

pub fn into_owned(self: Box<NicknameRef>) -> Nickname

Converts a Box<NicknameRef> into a Nickname without copying or allocating

+
source

pub const fn as_str(&self) -> &str

Provides access to the underlying value as a string slice.

+
source§

impl NicknameRef

source

pub fn as_cow(&self) -> Cow<'_, NicknameRef>

Trait Implementations§

source§

impl AsRef<str> for NicknameRef

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Borrow<str> for NicknameRef

source§

fn borrow(&self) -> &str

Immutably borrows from an owned value. Read more
source§

impl Debug for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for NicknameRef

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for NicknameRef

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
source§

impl Ord for NicknameRef

source§

fn cmp(&self, other: &NicknameRef) -> Ordering

This method returns an Ordering between self and other. Read more
source§

impl PartialEq<Nickname> for NicknameRef

source§

fn eq(&self, other: &Nickname) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<NicknameRef> for NicknameRef

source§

fn eq(&self, other: &NicknameRef) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<NicknameRef> for NicknameRef

source§

fn partial_cmp(&self, other: &NicknameRef) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
source§

impl Serialize for NicknameRef

Available on crate feature serde only.
source§

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more
source§

impl ToOwned for NicknameRef

§

type Owned = Nickname

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl Eq for NicknameRef

source§

impl StructuralEq for NicknameRef

source§

impl StructuralPartialEq for NicknameRef

\ No newline at end of file diff --git a/twitch_types/user/index.html b/twitch_types/user/index.html index 3909528c..d7db90d9 100644 --- a/twitch_types/user/index.html +++ b/twitch_types/user/index.html @@ -1,2 +1,2 @@ -twitch_types::user - Rust

Module twitch_types::user

source ·
Available on crate feature user only.
Expand description

types for user related things

+twitch_types::user - Rust

Module twitch_types::user

source ·
Available on crate feature user only.
Expand description

types for user related things

Re-exports

Structs

  • A user according to many endpoints
\ No newline at end of file diff --git a/twitch_types/user/struct.User.html b/twitch_types/user/struct.User.html index 2a0479f4..aa54c025 100644 --- a/twitch_types/user/struct.User.html +++ b/twitch_types/user/struct.User.html @@ -1,4 +1,4 @@ -User in twitch_types::user - Rust

Struct twitch_types::user::User

source ·
pub struct User {
+User in twitch_types::user - Rust

Struct twitch_types::user::User

source ·
pub struct User {
     pub id: UserId,
     pub login: UserName,
     pub display_name: DisplayName,
@@ -8,11 +8,11 @@
 
§login: UserName

Login name of the user, not capitalized

§display_name: DisplayName

Display name of user

§profile_image_url: Option<String>

URL of the user’s profile

-

Trait Implementations§

source§

impl Clone for User

source§

fn clone(&self) -> User

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for User

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for User

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where - __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<User> for User

source§

fn eq(&self, other: &User) -> bool

This method tests for self and other values to be equal, and is used -by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl Serialize for User

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where - __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for User

source§

impl StructuralEq for User

source§

impl StructuralPartialEq for User

Auto Trait Implementations§

§

impl RefUnwindSafe for User

§

impl Send for User

§

impl Sync for User

§

impl Unpin for User

§

impl UnwindSafe for User

Blanket Implementations§

source§

impl<T> Any for Twhere +

Trait Implementations§

source§

impl Clone for User

source§

fn clone(&self) -> User

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for User

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for User

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where + __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq<User> for User

source§

fn eq(&self, other: &User) -> bool

This method tests for self and other values to be equal, and is used +by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always +sufficient, and should not be overridden without very good reason.
source§

impl Serialize for User

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where + __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Eq for User

source§

impl StructuralEq for User

source§

impl StructuralPartialEq for User

Auto Trait Implementations§

§

impl RefUnwindSafe for User

§

impl Send for User

§

impl Sync for User

§

impl Unpin for User

§

impl UnwindSafe for User

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.