Lightning.Channels.ChannelSnapshot (Lightning v2.19.0-pre)

View Source

Schema for a ChannelSnapshot — an immutable point-in-time copy of a channel's configuration, created when a request is proxied.

Summary

Types

t()

@type t() :: %Lightning.Channels.ChannelSnapshot{
  __meta__: term(),
  channel: term(),
  channel_id: Ecto.UUID.t(),
  channel_requests: term(),
  destination_url: String.t(),
  enabled: boolean(),
  id: Ecto.UUID.t(),
  inserted_at: DateTime.t(),
  lock_version: integer(),
  name: String.t()
}

Functions

changeset(snapshot, attrs)