LocalRotation and Transform Rotate

I have no idea how to change it to localRotation

transform.Rotate(Vector3.right * Speed* Time.deltaTime);

How to convert it to work the same but in localRotation?
The instruction is in the loop, I tried to do it like that:

Vector3 rotationVector = new Vector3(1, 0, 0);
transform.localRotation = Quaternion.Euler(rotationVector);

but it does not work
Please help

Looks like you are on the right track, but transform.Rotate has another override containing the option for rotating local or world axis, using Space.World or Space.Self.

I found this information on this site: Unity - Scripting API: Transform.Rotate