butterbidi/script/types/remote_reference
Types
pub type SharedReference {
SharedReference(
shared_id: uuid.Uuid,
handle: option.Option(uuid.Uuid),
)
}
Constructors
-
SharedReference( shared_id: uuid.Uuid, handle: option.Option(uuid.Uuid), )
Values
pub fn remote_reference_from_id(
shared_id: uuid.Uuid,
) -> RemoteReference
pub fn remote_reference_to_json(
remote_reference: RemoteReference,
) -> json.Json
pub fn shared_reference_from_id(
shared_id: uuid.Uuid,
) -> SharedReference
Creates a new shared reference from a shared id
pub fn shared_reference_to_json(
shared_reference: SharedReference,
) -> json.Json
pub fn shared_reference_with_handle(
shared_reference: SharedReference,
handle: uuid.Uuid,
) -> SharedReference