Struct sapnwrfc::binding::_RFC_SERVER_CONTEXT [] [src]

#[repr(C)]
pub struct _RFC_SERVER_CONTEXT { pub type_: RFC_CALL_TYPE, pub tid: RFC_TID, pub unitIdentifier: *mut RFC_UNIT_IDENTIFIER, pub unitAttributes: *mut RFC_UNIT_ATTRIBUTES, }

_RFC_SERVER_CONTEXT

Used in RfcGetServerContext() for obtaining more information about the current incoming function call.

Fields

Specifies the type of function call. Depending on the value of this field, some of the other fields of this struct may be filled.

If type is RFC_TRANSACTIONAL or RFC_QUEUED, this field is filled with the 24 digit TID of the tRFC/qRFC unit.

If type is RFC_BACKGROUND_UNIT, this pointer is set to the unit identifier of the LUW. Note: the pointer is valid only during the execution context of your server function.

If type is RFC_BACKGROUND_UNIT, this pointer is set to the unit attributes of the LUW. Note: the pointer is valid only during the execution context of your server function.

Trait Implementations

impl Debug for _RFC_SERVER_CONTEXT
[src]

[src]

Formats the value using the given formatter.

impl Copy for _RFC_SERVER_CONTEXT
[src]

impl Clone for _RFC_SERVER_CONTEXT
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for _RFC_SERVER_CONTEXT
[src]

[src]

Returns the "default value" for a type. Read more