twitch_types

Trait IntoCow

Source
pub trait IntoCow<'a, Ref>
where Ref: ToOwned + ?Sized,
{ // Required method fn into_cow(self) -> Cow<'a, Ref> where &'a Self: 'a; }
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 str
where &'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 &'a String
where &'a String: Into<&'a R>, R: ToOwned + ?Sized + 'a,

Source§

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

Source§

impl<'a, R> IntoCow<'a, R> for String
where 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, S: ToOwned + ?Sized + 'a, S::Owned: Into<R::Owned>, &'a R: From<&'a S>,

Source§

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

Implementors§

Source§

impl<'a> IntoCow<'a, SharedChatSessionIdRef> for &'a SharedChatSessionId

Available on crate feature chat only.
Source§

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

Available on crate feature chat only.
Source§

impl<'a> IntoCow<'a, SharedChatSessionIdRef> for SharedChatSessionId

Available on crate feature chat only.
Source§

impl<'a> IntoCow<'a, WhisperIdRef> for &'a WhisperId

Available on crate feature chat only.
Source§

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

Available on crate feature chat only.
Source§

impl<'a> IntoCow<'a, WhisperIdRef> for WhisperId

Available on crate feature chat only.
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, ConduitIdRef> for &'a ConduitId

Available on crate feature eventsub only.
Source§

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

Available on crate feature eventsub only.
Source§

impl<'a> IntoCow<'a, ConduitIdRef> for ConduitId

Available on crate feature eventsub only.
Source§

impl<'a> IntoCow<'a, ConduitShardIdRef> for &'a ConduitShardId

Available on crate feature eventsub only.
Source§

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

Available on crate feature eventsub only.
Source§

impl<'a> IntoCow<'a, ConduitShardIdRef> for ConduitShardId

Available on crate feature eventsub 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, UnbanRequestIdRef> for &'a UnbanRequestId

Available on crate feature moderation only.
Source§

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

Available on crate feature moderation only.
Source§

impl<'a> IntoCow<'a, UnbanRequestIdRef> for UnbanRequestId

Available on crate feature moderation only.
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, GuestStarSessionIdRef> for &'a GuestStarSessionId

Available on crate feature stream only.
Source§

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

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, GuestStarSessionIdRef> for GuestStarSessionId

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, GuestStarSlotIdRef> for &'a GuestStarSlotId

Available on crate feature stream only.
Source§

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

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, GuestStarSlotIdRef> for GuestStarSlotId

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, StreamKeyRef> for &'a StreamKey

Available on crate feature stream only.
Source§

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

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, StreamKeyRef> for StreamKey

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, StreamMarkerIdRef> for &'a StreamMarkerId

Available on crate feature stream only.
Source§

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

Available on crate feature stream only.
Source§

impl<'a> IntoCow<'a, StreamMarkerIdRef> for StreamMarkerId

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, CommunityGiftIdRef> for &'a CommunityGiftId

Available on crate feature sub only.
Source§

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

Available on crate feature sub only.
Source§

impl<'a> IntoCow<'a, CommunityGiftIdRef> for CommunityGiftId

Available on crate feature sub only.
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.