Reference · Workflows and history · library.rs

options_with_password Function

The same options with the password the person just typed.

func optionsWithPassword(options: ToolOptions, password: String) -> ToolOptions

Parameters

NameTypeSwift / C#
optionsToolOptionsoptions
passwordStringpassword

Returns

ToolOptions

Errors

Does not throw.

Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.