content • Rust AI Agent SDK

content: Set content

content

Method

</div>

This is a method of the ContextSegment class in the context module.

Set content

Signature

python
def content(mut self, content: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.