Trait ExampleData

Source
pub trait ExampleData {
    // Required method
    fn example_data() -> Self;
}
Expand description

A trait for providing example data of an item.

Required Methods§

Source

fn example_data() -> Self

Get an example instance of the current datatype.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ExampleData for EmailInviteRole

Source§

impl ExampleData for EventInviteStatus

Source§

impl ExampleData for InviteRole

Source§

impl ExampleData for StreamingTargetKind

Source§

impl ExampleData for StreamingTargetKindResource

Source§

impl ExampleData for QuotaType

Source§

impl ExampleData for AssetFileKind

Source§

impl ExampleData for AssetId

Source§

impl ExampleData for FileExtension

Source§

impl ExampleData for ResumptionToken

Source§

impl ExampleData for TicketToken

Source§

impl ExampleData for CallInId

Source§

impl ExampleData for CallInInfo

Source§

impl ExampleData for CallInPassword

Source§

impl ExampleData for NumericId

Source§

impl ExampleData for EmailAddress

Source§

impl ExampleData for EventDescription

Source§

impl ExampleData for EventId

Source§

impl ExampleData for EventInfo

Source§

impl ExampleData for EventTitle

Source§

impl ExampleData for MeetingDetails

Source§

impl ExampleData for FeatureId

Source§

impl ExampleData for ModuleFeatureId

Source§

impl ExampleData for ModuleId

Source§

impl ExampleData for InviteCode

Source§

impl ExampleData for BreakoutRoomId

Source§

impl ExampleData for RoomId

Source§

impl ExampleData for RoomPassword

Source§

impl ExampleData for DeviceSecret

Source§

impl ExampleData for Token

Source§

impl ExampleData for SharedFolder

Source§

impl ExampleData for SharedFolderAccess

Source§

impl ExampleData for RoomStreamingTarget

Source§

impl ExampleData for RoomStreamingTargetResource

Source§

impl ExampleData for StreamingKey

Source§

impl ExampleData for StreamingTarget

Source§

impl ExampleData for StreamingTargetId

Source§

impl ExampleData for StreamingTargetResource

Source§

impl ExampleData for TariffResource

Source§

impl ExampleData for DateTimeTz

Source§

impl ExampleData for RecurrencePattern

Source§

impl ExampleData for RecurrenceRule

Source§

impl ExampleData for TimeZone

Source§

impl ExampleData for Timestamp

Source§

impl ExampleData for TimeRange

Source§

impl ExampleData for TrainingParticipationReportParameterSet

Source§

impl ExampleData for DisplayName

Source§

impl ExampleData for Language

Source§

impl ExampleData for Theme

Source§

impl ExampleData for UserId

Source§

impl ExampleData for UserInfo

Source§

impl ExampleData for UserTitle