RaftFleet.RecentlyRemovedGroups.new

You're seeing just the function new, go back to RaftFleet.RecentlyRemovedGroups module for more information.

Specs

new(term()) :: Croma.Result.t(t())

Creates a new instance of RaftFleet.RecentlyRemovedGroups by using the given dict.

Values associated with the struct field names are fetched from the given dict and then validated/converted with valid?/1/new/1. For missing fields default values (if any) are used.

Returns {:ok, valid_struct} when all fields are filled with valid values. Returns {:error, reason} if any error occurs (invalid value or no value is available).

See also moduledoc of Croma.Struct.