code: def test_series_slice_setitem_struct():
      actual = cudf.Series(
          [
              {"a": {"b": 10}, "b": 11},
              {"a": {"b": 100}, "b": 5},
              {"a": {"b": 50}, "b": 2},
              {"a": {"b": 1000}, "b": 67},
              {"a": {"b": 4000}, "b": 1090},
          ]
      )
      actual[slice(0, 3, 1)] = {"a": {"b": 5050}, "b": 101}
      expected = cudf.Series(
          [
              {"a": {"b": 5050}, "b": 101},
              {"a": {"b": 5050}, "b": 101},
              {"a": {"b": 5050}, "b": 101},
              {"a": {"b": 1000}, "b": 67},
              {"a": {"b": 4000}, "b": 1090},
          ]
      )
      assert_eq(actual, expected)
  
      actual = cudf.Series(
          [
              {"a": {"b": 10}, "b": 11},
              {"a": {"b": 100}, "b": 5},
              {"a": {"b": 50}, "b": 2},
              {"a": {"b": 1000}, "b": 67},
              {"a": {"b": 4000}, "b": 1090},
          ]
      )
      actual[0:3] = cudf.Scalar({"a": {"b": 5050}, "b": 101})
  
      assert_eq(actual, expected)
  
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 14 for calling a global function with example usage: test_series_slice_setitem_struct() without return types