pub struct AppContext { /* fields omitted */ }
This structure is used for passing application context to the database during the process of
creating standalone connections. These values are ignored when acquiring a connection from a
session pool or when using DRCP (Database Resident Connection Pooling).
Create a new AppContext
struct.
Get the namespace_name
value.
Specifies the value of the "namespace" parameter to sys_context(). It is expected to be a
byte string in the encoding specified in the ODPIConnCreateParams
structure and must not
be NULL.
Get the name
value.
Specifies the value of the "parameter" parameter to sys_context(). It is expected to be a
byte string in the encoding specified in the ODPIConnCreateParams
structure and must not
be NULL.
Get the value
value.
Specifies the value that will be returned from sys_context(). It is expected to be a byte
string in the encoding specified in the ODPIConnCreateParams
structure and must not be
NULL.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more